![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modifying a variable value | kartikkumar84@g | UNIX for Dummies Questions & Answers | 6 | 05-23-2008 03:19 AM |
| can someone help me with modifying this file | eamani_sun | Shell Programming and Scripting | 2 | 05-22-2008 02:15 PM |
| modifying my shell | nico-hellas | Shell Programming and Scripting | 1 | 08-05-2005 10:43 AM |
| modifying the writing of a log... | Nicol | Shell Programming and Scripting | 2 | 04-13-2005 11:05 AM |
| Modifying Route | hoang | IP Networking | 1 | 06-25-2002 08:55 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Need help in modifying the prompt
Hi,
I want to change the login prompt from $ to something more explanatory like (Username)(basename of pwd): I also need to get this in a different font color. Can someone pls tell me what I have to modify in my rc file. I m using CShell currently. Would be great if u can give me the generic logic and how to do it in diff shells like Csh, TCsh, Ksh, Bash,sh shells. Thanks |
|
||||
|
Thanks for the reply.
Would u know what to do for CSH also. I tried set prompt='${LOGNAME}:${CWD}' But when I change the directory, the working directory displayed in the prompt does not change. Also the color. I m very particular abt that ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|