Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 

Current Newswire:

Planning Extensions in TYPO3

How the Linux Kernel Manages Virtual Memory

Make Your BIOS Love Security

The Telepathic Desktop: Apps Are Out, People Are In

Passive Checks and NSCA (Nagios Service Check Acceptor)

Setting Up Master-Master Replication On Four Nodes With MySQL 5 On Debian Etch

Plain English Explanation Of An Awk Statement For Linux Or Unix

Can't Print in Evince, GEdit, Claws-Mail

Kubuntu Moves Forward: You Can't Please Everyone, All the Time

Editor's Note: Linux Should Copy Amiga

Sr. Developer, Backend
Professional Technical Resources
US-OR-Eugene

Justtechjobs.com Post A Job | Post A Resume
:Highlight Your Shell Prompt When Working as Root
Highlight Your Shell Prompt When Working as Root
Apr 16, 2008, 10 :30 UTC (0 Talkback[s]) (2725 reads)

(Other stories by Mitch Frazier)

"A useful thing that some distros have started doing is setting the color of your shell prompt differently if you're logged in as root. This gives you an additional visual cue that helps avoid doing things as root when you don't want to. If your distro doesn't do this for you, you can accomplish it by changing your .bashrc files. To set the color of your shell prompt you set the shell variable PS1.

"To make the prompt red when you're running as root add this to /root/.bashrc..."

Complete Story

Related Stories:
Secrets of the MySQL Client Command Line(Feb 06, 2008)
77 Useful Linux Commands and Utilities(Jan 31, 2008)
Howto Install KDE 4.0 (Stable) in Ubuntu Gutsy(Jan 14, 2008)
CLI Magic: No-Nonsense Network Monitoring Tools(Nov 29, 2007)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................


All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers