Dbyte
Technical User
- Mar 6, 2002
- 87
I have to send out a new user list (an ASCII file) to each new user that is on that same list via mailx, on the 1st of every month. This means that my recipient list must be generated from the file itself. How do I do this from the command line? The filename changes every month (thank you Admin), & I don't know anything about shell scripting. I'm just a newbie UNIX user who needs to get this done each month. Here are some examples of what I've tried:
mailx -s "New employee list 12/03" 'cat newlist' < newlist
mailx -s "New employee list 12/03" > cat newlist < newlist
Any help would be greatly appreciated,
-Dbyte
mailx -s "New employee list 12/03" 'cat newlist' < newlist
mailx -s "New employee list 12/03" > cat newlist < newlist
Any help would be greatly appreciated,
-Dbyte