LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-12-2001, 04:59 PM   #1
robson
LQ Newbie
 
Registered: Oct 2001
Location: Vancouver, BC
Distribution: RH 7.1 w kernel 2.4.12 & Mandrake 8.1
Posts: 6

Rep: Reputation: 0
C shell prompt


Hi there,

I wanted C shell prompt to be '#' for root and '%' for normal users.

I could make '#' for root and '>' for normal users with
set promt='%#'
in /etc/csh.cshrc, but I REALLY prefer '%'.

How can I do that?

Thanks in advance
 
Old 11-12-2001, 05:54 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
i haven't used a unix c-shell in a while... but i think it was the local $HOME/.cshrc files in the accounts that set the prompts. i think you can just set it using those.
 
Old 11-12-2001, 09:08 PM   #3
robson
LQ Newbie
 
Registered: Oct 2001
Location: Vancouver, BC
Distribution: RH 7.1 w kernel 2.4.12 & Mandrake 8.1
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry...maybe this is not the right place to ask such a question. I'll post it in the 'newbie' section.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What does your shell prompt look like? david_ross Linux - General 50 04-01-2011 01:15 AM
Different name at shell prompt XJNick Linux - General 3 08-25-2005 11:20 AM
change the shell prompt ust Linux - Distributions 5 04-28-2005 04:26 PM
Shell Prompt xneowolf Linux - General 5 01-26-2003 03:06 AM
Shell prompt setup NSKL Linux - Newbie 1 06-15-2002 12:55 PM


All times are GMT -5. The time now is 09:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration