Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed May 04, 2011 8:28 pm 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
So.. I did a update recently, I think to bash. Now when I load my SSH, I get;
-bash-3.2# (cursor)

If I type "bash" it reads my .bashrc profile properly.. giving;
[user@myhostname] ~ $ (cursor)

Why is it doing this? I'm confused :|

Should I set a default PS1, is it not detecting PuTTY as interactive login, or am I doing something wrong?


Last edited by superfastcars on Thu May 05, 2011 10:09 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu May 05, 2011 9:52 am 
Offline
Junior Member

Joined: Thu May 05, 2011 9:50 am
Posts: 23
I believe Bash uses .bash_profile for interactive logins, and .bashrc otherwise. You can put the following in .bash_profile to have it read .bashrc:
Code:
source .bashrc


Top
   
 Post subject:
PostPosted: Thu May 05, 2011 10:08 am 
Offline
Junior Member

Joined: Mon Apr 11, 2011 9:49 pm
Posts: 49
wow.. that worked, I feel dumb now.. lol

Thanks man!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group