Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-08-2007, 11:19 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 12

Rep: Reputation: 0
basic .bashrc question

when I edit my .bashrc to give me some additional information other than
Nothing happens. Currently I have:
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc

# User specific aliases and functions
export PS1='\u@\h:\w\$ '
when I manually enter export PS1='\u@\h:\w\$ ' at the prompt it works.

So I assume the /etc/bashrc is overriding it?

How can I get around this?

Last edited by TheGNUbie; 03-08-2007 at 11:20 AM.
Old 03-08-2007, 12:05 PM   #2
LQ Newbie
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
I needed to add it to my profile, sorry.


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
newbie question : how to edit bashrc pingu99 Linux - Software 5 10-26-2010 08:22 PM
Basic C++ question oulevon Programming 1 02-16-2005 06:55 PM
Basic Question insyte Linux - Wireless Networking 4 09-16-2004 12:57 PM
.bashrc question aizkorri Programming 6 08-14-2002 07:41 AM
Question on .bashrc Fluke Linux - Newbie 2 06-29-2002 02:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 PM.

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