![]() |
|
|
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 |
| Help setting PS1 prompt to include current time | m223464 | Shell Programming and Scripting | 4 | 02-03-2009 09:08 PM |
| The Top Ten Security Threats for 2008 (Part 2) - The Current Situation | iBot | Complex Event Processing RSS News | 0 | 11-10-2007 03:00 AM |
| Getting current work directory in Command Prompt | MeganP | UNIX for Dummies Questions & Answers | 3 | 07-20-2007 02:49 PM |
| filename in current directory | calgone337 | Shell Programming and Scripting | 2 | 04-15-2007 03:21 PM |
| Setting the current path in the command prompt in (t)csh | reborg | Answers to Frequently Asked Questions | 0 | 10-10-2006 04:02 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
current directory as part of the csh prompt
I would like my csh prompt to behave like the linux csh prompt setting done by linux command (set prompt="%n@%m %c]$ ")
how do I do that? What I'm trying to do is that I would like to see what directory I'm in by looking at the prompt. I've figured out that %n is like $user, and %m is like `uname -n`, but I have no glue about what is the equivalence of %c in unix csh so that the prompt changes everytime i change a directory. Please help |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|