Shannen
06-13-2002, 11:18 AM
I am trying to come up with a birthday program in BASH, that would look into a file with the setup loginname:realname:birthdate and send an email to relevant users at 9:00 am every day. I don't want to use cron. Any ideas?
I'm also trying to write a script that would tell me the number of times I have logged on before now. Would I use the long who am I? finger utility?
Also I am trying to take a directory name as an argument and search that directory for zero length files. Write those files to standard output and then delete the file. So far I have:
find./-size0c -print | less
rm -i $(-find./-size 0c-print)
Am I going in the right direction? :eek: :confused:
I'm also trying to write a script that would tell me the number of times I have logged on before now. Would I use the long who am I? finger utility?
Also I am trying to take a directory name as an argument and search that directory for zero length files. Write those files to standard output and then delete the file. So far I have:
find./-size0c -print | less
rm -i $(-find./-size 0c-print)
Am I going in the right direction? :eek: :confused: