C-shell login script

June 05th, 2006 - 04:24 pm ET by surajchem | Report spam
hi
i am new to Linux i have red hat linux
i have to write a C-shell login script that will give me
1) a cursor prompt that show the current directory and
2) set up a proper path for me to utilize the most comman uitilities in

red hat linux
email Follow the discussionReplies 48 repliesReplies Make a reply

Replies

#1 Bill Marcum
June 13th, 2006 - 12:15 am ET | Report spam
On 12 Jun 2006 18:42:42 -0700,
wrote:
i am still not able to do show me the current directory
right now it shows
( ~/sunny)$

where i would like it show as

( ~/home/AQM/sunny)$

i.e the directory path in the cursor prompt
pls help!!



~/ is short for your home directory. If you cd out of your home, you
should see the full path. If you want to change the prompt, RTFM and
look at what is in your .cshrc or /etc/csh.cshrc.


You will be misunderstood by everyone.

Similar topics