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
mhmail(1) General Commands Manual mhmail(1)
mhmail - send or read mail (only available within the message handling system, mh)
mhmail [addrs...] [options]
Specifies the text of the message. If it is specified, then the standard input is not read. Specifies addresses to be placed in the cc:
field of the message. Specifies the content of the From: header of the draft. The address given is placed in the From: field of the mes-
sage. The Sender: field is filled in correctly by post. Prints a list of the valid options for this command. Specifies the mail system
over which mail is sent. The only value allowed is smtp, which is the standard mail system. Additional values are supported only for use
with other mail systems. Provides the text of the Subject: field of the message.
The mhmail program is intended as a replacement for the standard mail programs, bellmail and ucbmail. See binmail(1) and mail(1) for more
details of these mail programs. When invoked without arguments, it simply invokes inc to incorporate new messages from the user's maildrop.
When one or more users is specified, a message is read from the standard input and spooled to a temporary file. The mhmail program then
invokes post with the name of the temporary file as its argument to deliver the message to the specified user.
Normally, people will use comp and send to send messages.
Messages with a null body part will not be sent by mhmail. You must include some body text in all messages to be sent by mhmail.
For this version, the -mts option only supports the value smtp. Additional values are supported for use only with other mail systems.
Program to incorporate a maildrop into a folder. Program to deliver a message. Temporary copy of message.