LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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, 04:54 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
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, 08: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



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 12:15 AM
Different name at shell prompt XJNick Linux - General 3 08-25-2005 10:20 AM
change the shell prompt ust Linux - Distributions 5 04-28-2005 03:26 PM
Shell Prompt xneowolf Linux - General 5 01-26-2003 02:06 AM
Shell prompt setup NSKL Linux - Newbie 1 06-15-2002 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:27 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
Open Source Consulting | Domain Registration