-bash: rt: command not found

bardamu

Registered
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?
 
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?
 
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.
 
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.
 
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.

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...
 
Back
Top