Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 9
  1. #1
    bardamu is offline Registered User
    Join Date
    Feb 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    -bash: rt: command not found

    I'm an amateur Unix user who never should have been messing around with Terminal, Directory Utility, etc. I enabled the root user through Directory Utility and then disenabled it. I then flushed cache via..

    sudo dscacheutil -flushcache

    I thought this all would be harmless, but now I am getting this mail in Terminal...

    -bash: rt: command not found

    How can I fix this?

  2. #2
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    What is "rt" and why are you trying to execute it?

    Do you get this message when trying to do something in the Terminal, or does this message happen spontaneously?
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  3. #3
    bardamu is offline Registered User
    Join Date
    Feb 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I don't know what rt is, and yes I get it as mail in Terminal. Note that I also installed MacPorts and unsuccesfully tried to install Apache 2 on my MacBook Pro yesterday too.

    My best guess is that I'm logged in or out of an account that I shouldn't be in.

  4. #4
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    Quote Originally Posted by bardamu View Post
    I don't know what rt is, and yes I get it as mail in Terminal.
    What is "mail" in the Terminal?
    Note that I also installed MacPorts and unsuccesfully tried to install Apache 2 on my MacBook Pro yesterday too.
    Why? Apache 2 is included with Mac OS X... [confused]
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  5. #5
    bardamu is offline Registered User
    Join Date
    Feb 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ElDiabloConCaca View Post
    What is "mail" in the Terminal?
    This is precisely the message I get in Terminal...

    Last login: Thu Feb 26 20:03:39 on ttys000
    You have mail.
    -bash: rt: command not found

    Quote Originally Posted by ElDiabloConCaca View Post
    Why? Apache 2 is included with Mac OS X... [confused]
    Not totally sure. I did it with a friend. Maybe it required an upgrade?

  6. #6
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    Quote Originally Posted by bardamu View Post
    This is precisely the message I get in Terminal...

    Last login: Thu Feb 26 20:03:39 on ttys000
    You have mail.
    -bash: rt: command not found
    Do you get this when you launch Terminal for the first time?

    What are the contents of your .bashrc and .bash_profile files, located in your home directory?

    Not totally sure. I did it with a friend. Maybe it required an upgrade?
    MacPorts wouldn't upgrade the existing Apache 2, it would install another version alongside it in a different directory.
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  7. #7
    bardamu is offline Registered User
    Join Date
    Feb 2009
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ElDiabloConCaca View Post
    Do you get this when you launch Terminal for the first time?
    I get it every time I launch Terminal now. I didn't used to get it.

    Quote Originally Posted by ElDiabloConCaca View Post
    What are the contents of your .bashrc and .bash_profile files, located in your home directory?
    By home directory, do you mean Macintosh HD > etc ? If so, my .bashrc file reads...

    Code:
    # System-wide .bashrc file for interactive bash(1) shells.
    if [ -z "$PS1" ]; then
       return
    fi
    
    PS1='\h:\W \u\$ '
    # Make bash check its window size after a process completes
    shopt -s checkwinsize
    My .profile reads...

    Code:
    # System-wide .profile for sh(1)
    
    if [ -x /usr/libexec/path_helper ]; then
    	eval `/usr/libexec/path_helper -s`
    fi
    
    if [ "${BASH-no}" != "no" ]; then
    	[ -r /etc/bashrc ] && . /etc/bashrc
    fi
    There is no .bash_profile...

  8. #8
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    No, I mean the .bashrc and/or .bash_profile file located in /Users/[yourusername]...
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  9. The Following User Says Thank You to ElDiabloConCaca For This Useful Post:

    bardamu (February 27th, 2009)

 

 
Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •