Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'custom root shell prompts are for wimps!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
custom root shell prompts are for wimps!
Authored by: Anonymous on May 21, '01 04:17:51PM

If you are logged in as a normal user, Bourne-style shells use '$' as the default command-line prompt. C shell, tcsh (the default for OS X), and other derivatives use '%'. If you are logged in as the superuser, the prompt changes to '#'.

Of course, if you're not sure whether you are logged in as a normal user or as the superuser, use other commands like 'whoami' or 'id' to find out --- and don't trust the prompt!



[ Reply to This | # ]