Terminal annoyance

Discussion in 'macOS' started by Me1000, Apr 8, 2008.

  1. Me1000 macrumors 68000

    Me1000

    Joined:
    Jul 15, 2006
    #1
    Why is it that ever time I open up the terminal it says "you have mail" at the top?

    How do I get rid of it?
     

    Attached Files:

  2. squeeks macrumors 68040

    squeeks

    Joined:
    Jun 19, 2007
    Location:
    Florida
  3. Me1000 thread starter macrumors 68000

    Me1000

    Joined:
    Jul 15, 2006
  4. squeeks macrumors 68040

    squeeks

    Joined:
    Jun 19, 2007
    Location:
    Florida
    #4
    hmm, i tried googleing it but i couldnt find anything on this, and mine dosent do it, maybe its an app you have installed
     
  5. JNB macrumors 604

    JNB

    Joined:
    Oct 7, 2004
    Location:
    In a Hell predominately of my own making
    #5
    It's root mail. System messages to the root user, and for the life of me, I can't remember the BSD commands to recover (too stuck in HP-UX, the bastard stepchild of BSD). Try "msg" or man msg, mail, or similar terms.

    Since it appears to be at your user, rather than root, just try "mail" (without the quotes).
     
  6. Me1000 thread starter macrumors 68000

    Me1000

    Joined:
    Jul 15, 2006
    #6
    ok,

    for future reference...

    in terminal

    >mail
    >delete -a


    that got rid of the message, but im not really sure what exactly was deleted,

    the messages seemed to be stored in /var/mail/[username]/

    however var is hidden in the finder :(
    but I also could not get there via the terminal, I could get to /var/mail/
    then I did an ls there and it returned "randy" (my username) so I did a cd randy and it said there was no directory with that name, so at that point I just gave up and did the "delete -a" haha



    Thanks for your help!
     
  7. TH-Gunner macrumors regular

    Joined:
    Mar 28, 2008
    #7
    Exactly what I was thinking... I don't know the command either, though lol
     
  8. scaredpoet macrumors 604

    scaredpoet

    Joined:
    Apr 6, 2007
    #8
    Next time, try

    >mail
    >r 1

    That will display the first message. you can then do a "delete -a" if you wish.
     

Share This Page