LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2011, 08:02 AM   #1
Alirezaa
LQ Newbie
 
Registered: Mar 2011
Posts: 5

Rep: Reputation: 0
Unhappy Eresaing default root bashrc in fedora 13


Hi FREANDS
I erasing default text in fedora 13 root bashrc and when I want to swich user ( with su command ) to root , icant,
and i see bash-4.1????
 
Old 03-06-2011, 08:05 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ
Quote:
bash-4.1
is the root prompt

Add the following to /root/.bashrc

Code:
PS1="\[\u@\h \W]# "
Kind regards

Last edited by repo; 03-06-2011 at 08:06 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WANTED: Fedora's default BASHRC and VIMRC files ChantCd Fedora 4 09-29-2010 02:14 AM
bashrc and root fluxism Linux - Newbie 9 06-16-2009 09:11 AM
Can't Modify .bashrc as root Ukuntu Linux - General 2 04-07-2009 09:58 AM
need root .bashrc .bash_profile darkRoom Slackware 5 04-30-2005 03:24 AM
.bashrc or .profile for root in SuSE jimsee Linux - General 3 11-15-2003 02:36 PM


All times are GMT -5. The time now is 03:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration