05-10-2005
10 More Discussions You Might Find Interesting
1. Tips and Tutorials
A
at : execute commands at a specified time/date.
awk: a scripting language, especially useful for manipulating text and automation.
B
bash : invokes the Bourne Again Shell (standard on most boxes).
batch: execute comands when load permits.
bc : interactive C-like calcultor (integers... (6 Replies)
Discussion started by: binhnx2000
6 Replies
2. UNIX for Dummies Questions & Answers
is there any reason why a user would want to create an empty file in Unix? (5 Replies)
Discussion started by: wmosley2
5 Replies
3. UNIX for Dummies Questions & Answers
okay, im having some trouble. Go ahead, call me a retard, but i keep getting stuck. Suppose i want to open a Picture of Jesus(for the sake of simplicity) using unix. I type:
open Desktop/Pictures/Jesus.jpg
It opens, and its all well and good. But, suppose i want to open a picture called Joe... (4 Replies)
Discussion started by: HipCracka
4 Replies
4. UNIX for Dummies Questions & Answers
What command would I use to list the first lines of all
text files within my Unix directory or within any directory
inside there? I was using "find" , "head" and "-exec" commands like this:
find ~/Unix -name "*.txt" -exec head {} \;
But its not perfectly working, please help me.... (2 Replies)
Discussion started by: carrera911
2 Replies
5. UNIX for Dummies Questions & Answers
Hello Gurus,
I have some very beginner level questions here, which are as follows:
1) I know what is a process, but what is a thread? and how a CPU devides a process into more than one threads and on what basis? Does a programmer designs a program in this way that it devides it into more than... (3 Replies)
Discussion started by: nervous
3 Replies
6. Solaris
Hi,
I am a novice in Unix installation.
Was experimenting with it.
During installation, i created 2 partitions ( what i am calling ).
One for the OS which was named SOLARIS & other was named PRI_DOS.
Now on completion of installation, where has my PRI_DOS portion gone.
How do i... (8 Replies)
Discussion started by: vibhor_agarwali
8 Replies
7. Shell Programming and Scripting
need some help badly.
if i had a file with content of few lines like the followings.
1183724770.651 0.049 137.157.56.169 200 415 GET http://venus/client/clients.xml "text/xml"
1183724770.651 0.049 141.183.101.250 200 415 GET http://venus/client/clients.xml "text/xml"
using what command... (1 Reply)
Discussion started by: akagi07
1 Replies
8. UNIX for Dummies Questions & Answers
I was wondering what command lines i could use to do the following.
1. mail a file to a user with a subject line "HELLO". Also, send a Blind carbon copy to a different user?
2. Display the number of files AND directories in a given directory?
3. Display the last 5 files in a given... (4 Replies)
Discussion started by: tragic54
4 Replies
9. Shell Programming and Scripting
Hey all I'm working on a script that will scour a directory of 6000+ files for a line that at the end has a number.
Something like 'The number of outputs is: 39200'
I'm trying to devise a script to add all of these numbers up, so far I have the grep statement that pulls out each individual... (7 Replies)
Discussion started by: TiznaraN
7 Replies
10. Shell Programming and Scripting
I am new to unix so this is probably a pretty basic question.
I am trying to write several commands on one line that creates a directory called bf in the current directory, then copy all files within that directory and any subdirectories, that do not start with the letter c to the new bf folder.... (5 Replies)
Discussion started by: scotty85
5 Replies
LEARN ABOUT DEBIAN
bntext
bntext(5) File Formats Manual bntext(5)
NAME
bnmotd.txt, bnnews.txt bnissue.txt - messages for the Unix Battle.net daemon
DESCRIPTION
The file bnmotd.txt contains text displayed by bnetd(1), when users first log into the server.
The file bnnews.txt contains text displayed when the user uses the /news chat command.
The files consist of raw text with printf-style formatting escapes. Each line of a file can contain a type formatter from the following
list:
%B Use the broadcast attribute (???).
%C Execute the line as if the user entered it as a command.
%E Use the error attribute (red).
%I Use the info attribute (yellow). This is the same was %W.
%M Normal chat message (white). This will appear as if the user said it.
%T Emote chat message (???). This will appear as if the user said it.
%W Use the warning attribute (yellow). This is the same was %I.
Within a line, any of the following format formatters may be used:
%% Expand to a literal percent sign (%).
%a Expand to the number of accounts on the server.
%c Expand to the number of channels on the server. This includes all permanent and current temporary channels.
%g Expand to the number of games on the server. This includes both public and private (passworded) games.
%h Expand to the hostname of the server (as returned by gethostname(2)).
%i Expand to this user's account ID number, formatted with a leading pound (#) sign and leading zeros.
%l Expand to this user's current chat name which is usually the same
%r Expand to the IP of the remote machine (the client).
%t Expand to four character client tag.
%u Expand to the number of users logged into the server.
%v Expand to the version number of the server.
SEE ALSO
bnetd(1)
AUTHOR
Ross Combs (ross@bnetd.org)
2 August, 2001 bntext(5)