I know you can use write to send a message to a currently logged in user, but how do you leave a message for a user who is not logged in? The solution I have seen is modify the motd, but that will be displayed to all users. How can I leave a message for individual users to read when they login?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||
|
|
|
You can use the
You will enter an interactive environment where you can type your message (mail body). Type You can also do:
or
The next time jdoe logs in, he will receive a notification like "You have new mail" and he must type |
|||||||||||
|
|
Try wall, http://linux.die.net/man/1/wall Maybe that will do the trick? |
|||||
|
