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
situation
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
9 Replies
2. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
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
0 Replies
4. Shell Programming and Scripting
Hi falks,
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
11 Replies
5. Linux
********nothing too see here!!!****** (2 Replies)
Discussion started by: TonyChapman
2 Replies
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
6 Replies
7. UNIX for Advanced & Expert Users
1|foo|bar
2|usa|ll
3|usa|vg
4|usa|vg
5|bar|vg
6|usa|vg
7|usa|ll
8|uk|nn
9|foo|manu|bar
10|uk|bb
11|foo|mm
12|kuwait|jkj
13|kuwait|mm
14|dubai|hh
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
1 Replies
8. UNIX for Dummies Questions & Answers
Howdie everyone...
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
2 Replies
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
1 Replies
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
5 Replies
post(8) System Manager's Manual post(8)
NAME
post - deliver a message
SYNOPSIS
/usr/lib/mh/post [options] file
OPTIONS
Specifies a file that post should take aliases from. More than one file can be specified, each being preceded with the -alias option. The
post program automatically consults the system alias file, /usr/lib/mh/MailAliases. If there is an Aliasfile entry in your post also con-
sults the file named in that entry. Filters (re-formats) messages sent to blind copy recipients. Recipients named in the Bcc: field nor-
mally receive a new message which includes a copy of the message sent to the other recipients. If this option is specified, this copy of
the message is filtered according to the instructions in the named file. The default is -nofilter. Formats messages so as to conform to
ARPAnet Internet Message Format protocol. This is the default behavior. You can post from formatting messages in this way by using the
-noformat option. Prints a list of the valid options to this command. Adds a Message-ID: or Resent-Message-ID: field to the header.
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. Informs the user of each step of the posting/filing process. Allows the user to watch
the transport system's handling of the message (for example, local and fast delivery). Specifies the preferred length of the header compo-
nents that contain addresses.
The default settings for post are:
-alias /usr/lib/mh/MailAliases -format -nomsgid -mts smtp -noverbose -nowatch -width 72 -nofilter
DESCRIPTION
The program post is called by send(1) to deliver the message in the named file to local and remote users. In fact, all of the functions at-
tributed to send on its reference page are performed by post, with send acting as a relatively simple pre-processor. Thus, it is post which
parses the various header fields, appends From: and Date: lines, and interacts with the transport system.
Normally, post would not be called directly by the user.
It searches the To:, cc:, Bcc:, and Resent-xxx: header lines of the specified message for destination addresses, checks these addresses for
validity, and formats them so as to conform to ARPAnet Internet Message Format protocol (unless the -noformat option is set). This will
normally cause @local-site to be appended to each local destination address, as well as any local return addresses.
If a Bcc: field is encountered, the mail system will use its addresses for delivery. The Bcc: is removed from the message sent to original
recipients. The copied recipients will receive an entirely new message with a minimal set of headers. The mail system includes a copy of
the message sent to the original recipients in the body of the message.
This command consults the environment variable $SIGNATURE to determine the sender's personal name in constructing the From: line of the
message.
RESTRICTIONS
For this version, the -mts option only supports the value smtp. Additional values are supported for use only with other mail systems.
PROFILE COMPONENTS
The post command does not consult the user's
FILES
The system customization file. The program to process Fcc:s. The program to process Bcc:s. The system alias file.
SEE ALSO
Commands: comp(1), mhmail(1), send(1)
Files: mh-alias(4), mh-mail(4), mtstailor(4)
Standard for the Format of ARPA Internet Text Messages (RFC 822)
post(8)