Can you Send Messages over a Mac network?

Discussion in 'Mac Peripherals' started by thenewguy, May 14, 2008.

  1. macrumors regular

    Joined:
    Oct 25, 2006
    #1
    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?
     
  2. macrumors G4

    Joined:
    Jul 17, 2002
    Location:
    USA
    #2
    Sure. Why not?
     
  3. thread starter macrumors regular

    Joined:
    Oct 25, 2006
    #3
    lol. any idea how?
     
  4. macrumors member

    Joined:
    May 14, 2008
    Location:
    UK
    #4
    If you open up a terminal you can use the write command.
     
  5. thread starter macrumors regular

    Joined:
    Oct 25, 2006
    #5
    not quite sure I understand that? what would the command look like to a particular IP or MAC address?
     
  6. thread starter macrumors regular

    Joined:
    Oct 25, 2006
    #6
    anyone? i want to annoy my roommates!
     
  7. macrumors newbie

    relevant

    Joined:
    Dec 31, 2007
    #7
    you could just use bonjour with an im client like adium or ichat...?
     
  8. macrumors 68040

    tdhurst

    Joined:
    Dec 27, 2003
    Location:
    Portland, OR
    #8
    or..

    Or you could not annoy people.
     
  9. JNB
    macrumors 604

    JNB

    Joined:
    Oct 7, 2004
    Location:
    In a Hell predominately of my own making
    #9
    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.
     
  10. Guest

    Joined:
    May 10, 2015
    #10
    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?
     
  11. macrumors 604

    Altemose

    Joined:
    Mar 26, 2013
    Location:
    Elkton, Maryland
    #11
    IP Messenger
     
  12. Guest

    Joined:
    May 10, 2015
    #12
    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.
     

Share This Page