LinuxQuestions.org
Help answer threads with 0 replies.
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-11-2004, 04:27 PM   #1
Linvilidiot
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
bashrc file


I need to get in and edit this as the root, and I don't know how to do it.

HELP!!!


Thanks
Aaron
 
Old 03-11-2004, 04:48 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"I need to get in and edit this as the root, and I don't know how to do it."

How bashrc is set up varies a lot from distribution to distribution. What distribution are you using?

What do you want to change in bashrc?

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-11-2004, 05:02 PM   #3
Linvilidiot
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I am using Redhat 9.0 and trying to insert 2 lines.

I installed Java, now I need to point it at it I think so that Limewire will install.

Thanks.
 
Old 03-11-2004, 05:08 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
bash looks for its parameters in /home/user/.bashrc. In Red Hat all of the .bashrc files are set up to use the contents of /etc/bashrc if it exists. That way bash acts the same for every user and you can change bash globally by changing /etc/bashrc.

So log in as root and edit /etc/bashrc to make your changes.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
reloading .bashrc file blackzone Linux - Newbie 8 03-02-2013 11:58 AM
Bashrc file Gins Linux - General 19 09-06-2005 04:19 PM
can't the file bashrc Paxmaster Linux - Software 10 01-02-2005 07:58 AM
where is the .bashrc file??? xenia Linux - Newbie 8 05-08-2004 01:11 PM
how to modify .bashrc file amadan_in Linux - Newbie 1 01-01-2003 04:55 AM


All times are GMT -5. The time now is 10:09 PM.

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