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

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

 






Current Newswire:

Linux Tips & Tricks: Converting PDF-s to pictures in Linux

Ultimate Firefox Productivity Tips: For the Geeks.

GoldenDict: A Dictionary Nugget

Would You Like Linux With Your Jello?

Why I Use Linux: Lofton’s Story

Go to Toys 'R Us for your Linux netbook needs

Sun xVM VirtualBox 3.0: Virtual Developer's Delight

Apple Wary of Ogg Theora: No Agreement Yet on HTML5 Video Standard

Freedom is not Free for Countries nor Computer Users

Eyecandy Themes For Ubuntu - Download directly from Synaptic - No More Hassles




Senior Windows Engineer (TX)
Next Step Systems
US-TX-Houston

Justtechjobs.com Post A Job | Post A Resume
:Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND
Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND
Sep 12, 2008, 21 :02 UTC (0 Talkback[s]) (4042 reads)

(Other stories by Ramesh)

"Following PS1 codes are used in this example:

"* u - Username
* h - Hostname
* w - Full pathname of current directory. Please note that when you are in the home directory, this will display only ~ as shown above."

Complete Story

Related Stories:
An Introduction to Linux CLI - Tutorial(Aug 11, 2008)
Linux Commands I Never Knew Existed: Pipe Viewer(Aug 06, 2008)
CLI Magic: For Geek Cred, Try These One-liners(Jul 23, 2008)
Bash Arrays(Jun 21, 2008)
The A-Z of Programming Languages: BASH/Bourne-Again Shell(May 31, 2008)



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