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:

Novell Moonlight 2.0 Gets Microsoft's Blessing

Shuttleworth steps down as Ubuntu CEO

Luckybackup - A powerful, fast and reliable backup & sync tool

Make your own 3D games in Linux

Why you should not pay for extended warranty if you use Linux

Two other great Linux distributions: MEPIS & Mint

FOSS: How Did 2009 Shape Up?

EU Set to Approve Oracle-Sun Dea

Install MS office2007 on ubuntu using PlayOnLinux

Best Buy lawsuit shows how GPL violations have changed




Virtualization Architect
The Computer Merchant, Ltd
US-MA-Chelsea

Justtechjobs.com Post A Job | Post A Resume
:Bash Prompt Basics
Bash Prompt Basics
Dec 5, 2008, 04 :04 UTC (0 Talkback[s]) (3698 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


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers