![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing Prompt in sh | jcc5169 | UNIX for Dummies Questions & Answers | 1 | 11-17-2006 07:07 AM |
| Changing prompt | kjbaumann | SUN Solaris | 2 | 06-29-2006 10:05 AM |
| Changing the prompt | vibhor_agarwali | UNIX for Dummies Questions & Answers | 7 | 08-29-2005 05:06 AM |
| changing login prompt on redhat | juilan | UNIX for Dummies Questions & Answers | 6 | 07-25-2003 07:14 AM |
| Changing the UNIX command prompt | WERUreo | UNIX for Dummies Questions & Answers | 2 | 04-22-2002 08:45 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Changing Unix Prompt
Me again,
What is the difficulty to display the full directory Path before my prompt command ? (like DOS) I'm using Solaris 8 + Bash Thanks again Fabien |
| Forum Sponsor | ||
|
|
|
|||
|
Just edit your PS1 Variable like
PS1=' `pwd` `uname -n` # ' Note the different characters .. I´ve tried it on Solaris 9 SPARC and bash 2.05 To set this permanently : Just edit the line at the end of your profile ($HOME/.profile) after the Line you have to add "export PS1" like ... PS1=' `pwd` `uname -n` # ' export PS1 ... |