LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Leave a message to a user? (https://www.linuxquestions.org/questions/linux-newbie-8/leave-a-message-to-a-user-579474/)

Zeno McDohl 08-24-2007 10:23 AM

Leave a message to a user?
 
How can I leave a message to a user? Write doesn't work if they aren't on, right?

chrism01 08-24-2007 10:28 AM

email ?
If you are root of course you can add to their .bash_profile or /etc/motd (everyone sees the latter)

Zeno McDohl 08-24-2007 10:42 AM

Hm, what would I add to their .bash_profile to do so?

docalton 08-24-2007 11:02 AM

you could add something like:

echo "The message you want them to see."

Then just remember to take it out after they do whatever you tell them to do.

Or, if your the admin, you could just add the logout or exit command and it would immediately log them back out :-). They would call you then for sure.

Hope this helps


All times are GMT -5. The time now is 12:40 AM.