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


Top White Papers

More on LinuxToday


Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND

Sep 12, 2008, 21:02 (0 Talkback[s])
(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: