Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Script that sends a file via mailx
Name: UnixNewbie Date: March 13, 2004 at 06:40:43 Pacific OS: Win ME CPU/Ram: 950 Mhz 128 MBq
Comment:
Hi,
If anybody could help me with this one I would really appreciate it. I am supposed to write a script that sends a file (using mailx), that I created, to my professor. This is a killer, I can't seem to figure out how to solve this problem. Additionally, if anybody could let me know how to include the date (using the date command) on the subject line that would be great. I put the date in back quotes. (see below)
You can also put a list of names in a file (/nitely/maillist). Then replace the <username@yahoo> with (and remember the back quotes) `cat /nitely/maillist`
Summary: Hi all!! I am totally new to shell scripting. I need a script that will monitor a log file (shown below). It should scan the log file for distinct ip addresses. When the log file is deleted or a new...
Summary: Hi, Can anyone tell me how to write a Unix ksh script to open a file (path provided) and assign a value to a variable in the file and then save the file with the same name ? The variable can be presen...