Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thenewguy

macrumors regular
Original poster
Oct 25, 2006
203
0
Hi all - I have my house set up with an AEBS, and I was just curious - using Airport Utility I can find the MAC and IP addresses of all other computers on my network.

Can I send them messages using terminal?
 
not quite sure I understand that? what would the command look like to a particular IP or MAC address?
 
Last login: Tue May 20 14:06:07 on console
Mac7:~ jkernitzki$ man write

WRITE(1) BSD General Commands Manual WRITE(1)

NAME
write -- send a message to another user

SYNOPSIS
write user [ttyname]

DESCRIPTION
The write utility allows you to communicate with other users, by copying
lines from your terminal to theirs.

When you run the write command, the user you are writing to gets a mes-
sage of the form:

Message from yourname@yourhost on yourtty at hh:mm ...

Any further lines you enter will be copied to the specified user's termi-
nal. If the other user wants to reply, they must run write as well.

When you are done, type an end-of-file or interrupt character. The other
user will see the message `EOF' indicating that the conversation is over.
 
Then what?

I type in write user (than the name of the mac) and then it says write:user is not logged in on (name of the mac) Should I have typed in something different?
 
Coding for send message

You're first going to ssh into another computer you would type in: ssh theirname@the-name-of-their-computer.local then you would type in:
osascript -l AppleScript -e 'tell Application "Finder" to display dialog "Whatever you want say!" ' Just make sure the have remote login on in their system preferences: system preferences>Sharing>Check remote log in on the side all users. You also must know there password but you could just ask them to type it in.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.