LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 05-26-2004, 03:56 PM   #1
wogga
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
PS1 variable


newbie linuxite here

i tired PS1 ='$' and it said it could not find PS1

i am using bash, doesn't bash recognise PS1?
 
Old 05-26-2004, 04:03 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Thats because you have:
PS1 ='$'

Not:
PS1='$'

(Note the space)
 
Old 05-26-2004, 05:39 PM   #3
wogga
Member
 
Registered: Apr 2004
Posts: 82

Original Poster
Rep: Reputation: 15
thanks dude
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help PS1 tool bar and .xinitrc Paxmaster Linux - Software 0 07-19-2004 01:04 PM
help i can't save my PS1 setting Paxmaster Linux - Software 3 07-17-2004 10:39 PM
$PS1 different in X and prompt codec Slackware 7 06-27-2004 04:42 PM
Setting PS1 variable for KDE Konsole shell (RH9) robertmarkbram Linux - Software 4 10-14-2003 07:38 PM
setting the PS1 enviroment variable in xterm schatoor Linux - General 2 04-29-2003 08:41 AM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration