![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Top Ten Security Threats for 2008 (Part 2) - The Current Situation | iBot | Complex Event Processing RSS News | 0 | 11-09-2007 11:00 PM |
| Getting current work directory in Command Prompt | MeganP | UNIX for Dummies Questions & Answers | 3 | 07-20-2007 10:49 AM |
| filename in current directory | calgone337 | Shell Programming and Scripting | 2 | 04-15-2007 11:21 AM |
| Setting the current path in the command prompt in (t)csh | reborg | Answers to Frequently Asked Questions | 0 | 10-10-2006 12:02 PM |
| Help setting PS1 prompt to include current time | m223464 | Shell Programming and Scripting | 3 | 11-28-2005 08:59 PM |
|
|
LinkBack | Thread Tools | 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 |
| Forum Sponsor | ||
|
|
|
||||
|
See this thread and try searching this site first. Many questions have already been answered.
|
|
|||
|
this thread may give you some assistance
|