10 More Discussions You Might Find Interesting
1. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
2. Shell Programming and Scripting
My script work on Linux but not work in sun os.
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
3. IP Networking
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
4. Shell Programming and Scripting
I need to dispaly a list of only directories .
As it written in the manual ,the command to do it is 'ls -d'.
When i issue 'ls -d' i'm getting:
tornado.orca.ent:DB10g :/home/oracle/Create_Database > ls -d
Is anyone have any idea why id does not display directories ,or maybe... (11 Replies)
Discussion started by: nir_s
********nothing too see here!!!****** (2 Replies)
Discussion started by: TonyChapman
6. UNIX for Dummies Questions & Answers
whoami | grep < $1 | echo $1
trying to write a script that finds out who the user is and then takes occurences of that username from a file that is passed as an argument and then displays it (6 Replies)
Discussion started by: iago
7. UNIX for Advanced & Expert Users
awk '/foo/,/bar/' test_file1----command run at the prompt
output should have been the first 3 lines......
1|foo|bar (1 Reply)
Discussion started by: bishweshwar
8. UNIX for Dummies Questions & Answers
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
9. UNIX for Advanced & Expert Users
can someone tell me the meaning of this commnad,
If you want to see a grand total of CPU time for a program when it finishes running, you can use the time command. At the Unix prompt, enter:
time java myprog
Replace myprog with the name of the program you are running. The following is an... (1 Reply)
Discussion started by: ldpathak
10. Shell Programming and Scripting
I'm trying to check if files already exist in a directory. They have the same basename (exsyctr1), but 4 different extensions. If the files exist, then I make backups of them, then copy them from another directory ($livecomp/data) to the current one ($copycomp/data). If they don't exist, just... (5 Replies)
Discussion started by: Ypnos
MAILSTATS(8) System Manager's Manual MAILSTATS(8)
mailstats - display mail statistics
mailstats [-c] [-o] [-p] [-P] [-C cffile] [-f stfile]
The mailstats utility displays the current mail statistics.
First, the time at which statistics started being kept is displayed, in the format specified by ctime(3). Then, the statistics for each
mailer are displayed on a single line, each with the following white space separated fields:
M The mailer number.
msgsfr Number of messages from the mailer.
bytes_from Kbytes from the mailer.
msgsto Number of messages to the mailer.
bytes_to Kbytes to the mailer.
msgsrej Number of messages rejected.
msgsdis Number of messages discarded.
msgsqur Number of messages quarantined.
Mailer The name of the mailer.
After this display, a line totaling the values for all of the mailers is displayed (preceded with a ``T''), separated from the previous
information by a line containing only equals (``='') characters. Another line preceded with a ``C'' lists the number of TCP connections.
The options are as follows:
-C Read the specified file instead of the default sendmail configuration file.
-c Try to use submit.cf instead of the default sendmail configuration file.
-f Read the specified statistics file instead of the statistics file specified in the sendmail configuration file.
-P Output information in program-readable mode without clearing statistics.
-p Output information in program-readable mode and clear statistics.
-o Don't display the name of the mailer in the output.
The mailstats utility exits 0 on success, and >0 if an error occurs.
/etc/mail/sendmail.cf The default sendmail configuration file.
The default sendmail statistics file.
/etc/mail/statistics The symbolic link to the statistics file.
$Date: 2002/06/27 22:47:29 $ MAILSTATS(8)