Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an Ubuntu box set up and a Mac from which I am trying to send a message to the Ubuntu screen

Can someone provide a short guide or a series of commands (I know it has to do with "screen") to send a message to the other computer's screen.

I've googled around, but to no avail.

share|improve this question

migrated from serverfault.com Oct 7 '11 at 2:13

This question came from our site for professional system and network administrators.

2 Answers 2

Are you looking for the write command?

share|improve this answer
    
thanks, that's exactly what I was looking for! –  bitshifts Oct 6 '11 at 20:57
2  
Probably, or the wall command. –  voretaq7 Oct 6 '11 at 20:57

You can always do echo message > /dev/ttyX or echo message > /dev/pts/X. You will need privileges if it's another user's tty.

And if you want some fancy, use figlet message > /dev/pts/X to do things like this:

 _ __ ___   ___  ___ ___  __ _  __ _  ___ 
| '_ ` _ \ / _ \/ __/ __|/ _` |/ _` |/ _ \
| | | | | |  __/\__ \__ \ (_| | (_| |  __/
|_| |_| |_|\___||___/___/\__,_|\__, |\___|
                               |___/      
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.