This is a discussion on How to make bash prompt permanent? within the Getting started tutorials forums, part of the Linux Getting Started category; In my RHEL 4 system, my current bash promt is \s - \v $ It is the default bash prompt. ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
In my RHEL 4 system, my current bash promt is
\s - \v $ It is the default bash prompt. However, I wish to make the bash prompt as [\u@\h \W]# I have tried to set bash prompt using command PS1="[\u@\h \W]#" But it remains till I logout the system. But when I logout the system, the bash prompt automatically changes to the default prompt. I will appreciate any ideas from you. waiting for your suggestions in this case. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set timeout for ssh prompt | vikas027 | Shell scripting | 0 | 04-23-2008 12:06 AM |
| script to prompt for password for AIX | shipon_97 | Shell scripting | 0 | 04-15-2008 04:45 PM |
| Permanent Route entry in RHEL 5 | santoshdhumal | Networking, Firewalls and Security | 1 | 03-17-2008 10:12 PM |
| Backup mysql from shell prompt or script | raj | Linux software | 0 | 07-29-2006 11:17 PM |
| Static Route in Linux, permanent | puppen | Linux software | 3 | 04-13-2006 09:06 PM |