Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-22-2008, 05:17 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
where's .bashrc


I recently installed ubuntu. This might be a stupid question. I can't even find my .bashrc file. Where should it be?
Old 08-22-2008, 06:02 PM   #2
Senior Member
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Originally Posted by avidos View Post

I recently installed ubuntu. This might be a stupid question. I can't even find my .bashrc file. Where should it be?
Resurrecting a five year old thread is not the best way to ask a question even if it is somewhat related.

If you have .bashrc file then it's in your home directory. If you have one. You may not. It is not necessary to have one. It appears that Ubuntu does give a user a .bashrc file when an account is created because I have a .bashrc and there is a .bashrc file in /etc/skel (files in /etc/skel are copied to the home directory or newly created accouts). Quite why it does this I don't know. I am of the firm belief that users shouldn't be given one by default and can create it if they so desire. Any aliases/settings/whatever that it is essential for a user to have should be specified at a system level, not by putting giving them a .bashrc file and hoping they don't delete it. But that's another topic.
Old 08-23-2008, 07:25 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I've moved your post to its own thread to increase its exposure.
Old 08-24-2008, 12:09 AM   #4
LQ Newbie
Registered: Aug 2008
Posts: 2

Original Poster
Rep: Reputation: 0

Thanks, I found it. It was hidden. I had to type gedit .bashrc to open it.


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
where is bashrc ? Kanaflloric Slackware 12 10-06-2007 03:47 PM
Setting path: /etc/profile, /etc/bashrc or ~/.bashrc Swakoo Linux - General 1 08-07-2007 11:59 PM
.bashrc help shanenin Linux - Software 4 02-14-2004 07:17 PM
no .bashrc? mattman Slackware 6 06-10-2003 04:59 PM
.bashrc roofy Slackware 7 05-06-2003 02:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:00 AM.

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