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:

5 Fast and Lightweight Linux Distros that Chrome OS Should Beat

A Possible Future of Linux - Online Live Environments?

Hannah Montana Linux X86 Basic Edition

Digium Asterisk: Rising in the Fall?

Review: Gwenview 2.3 - The Powerful KDE4 Image Viewer

PCLinuxOS Minime 09.1 on my Thinkpad T61

Virtualbox 3.0: Virtualization Brilliance

10 Free Online Tools to Improve Browsing

Hands on with Mint 7

Editor's Note: Linux, FOSS, and the Time-Honored Tradition of Charging More for Less




Senior Linux Systems Engineer or Linux Systems Administrator
WSI Nationwide, Inc.
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:Bash Prompt Basics
Bash Prompt Basics
Dec 5, 2008, 04 :04 UTC (0 Talkback[s]) (3317 reads)

"Bash prompt variables

"As anything else in the linux system also bash prompt can be customized. Bash prompt can be customized by changing the values of bash PS1, PS2, PS3, PS4 variables. To keep the things simple, this article will be concerned just with PS1 and PS2 variables.

"Use echo command to see the current value of PS1 and PS2 variables.

"echo "Bash PS1 variable:" $PS1
echo "Bash PS2 variable:" $PS2

"Bash PS1 prompt variable

"PS1 is a primary prompt variable. Currently it holds u@h:w$ special bash characters. This is the default structure of the bash prompt on many Linux systems and is displayed every time you log in using a terminal.Please see the following section "Bash prompt special characters" for explanation of u, h, w and $ symbols."

Complete Story

Related Stories:
Bash Script To Find Free Online Fiction and Non-Fiction Books(Dec 04, 2008)
Plain English Explanation Of An Awk Statement For Linux Or Unix(Nov 22, 2008)
Bash One-Liner Script To Produce Somewhat-Fancy Output Of Who's Logged In(Nov 19, 2008)
Tip: Using find Command in Linux(Nov 19, 2008)
Bash Sub Shells(Nov 12, 2008)
The Terminal: Navigation(Nov 07, 2008)
Bash: Preserving Whitespace Using set and eval(Nov 06, 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