while [ true ] do;
mail -s"Quick Reminder" `cat userlist` <<EOF
`fortune -o`
EOF
sleep 10
done
Job done, leave me to sleep. (Syntax likely off - I'm sh-rusty!) while [ true ] do;
mail -s"Quick Reminder" `cat userlist` <<EOF
`fortune -o`
EOF
sleep 10
done
Job done, leave me to sleep. (Syntax likely off - I'm sh-rusty!)See: https://en.wikipedia.org/wiki/Fortune_(Unix).
Most commonly seen as part of login messages, as many Unix and Linux systems come or are configured to pipe a fortune message along with some other fixed text.
https://askubuntu.com/questions/36523/creating-a-fortunes-fi...
I have actually used fortune similar to the above script to randomly select inspirational messages as part of a weekly church newsletter.
That might help you from using the search engine that will not be named.