LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-07-2003, 09:28 PM   #1
rob99
Member
 
Registered: Jan 2003
Posts: 50

Rep: Reputation: 15
where is my .profile ?


Hi,
I've tried to customise my shell, but .profile which I created
doen't work in my home directory. Sould I put it somehere else
or should it be executable?
thanks
 
Old 04-07-2003, 09:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
What shell?

For Bash, depending on the contents, it should be ~/.bash_profile or ~/.bashrc, which are sourced on login so don't need to be executable. If it's a personal profile (outside the usual sourcing scope), just try from the cmdline like ". .profile" and if that works like expected, add it to your shell's resource file: if [ -f .profile ]; then . ~/.profile; fi
 
Old 04-07-2003, 11:01 PM   #3
rob99
Member
 
Registered: Jan 2003
Posts: 50

Original Poster
Rep: Reputation: 15
Yes it's bush, thank you, now I can see it :-)
 
  


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
non roaming profile on a roaming profile system fieldyweb Linux - Newbie 1 10-03-2005 01:27 PM
Help with Profile` issinho Linux - Distributions 2 07-26-2005 04:40 PM
/etc/profile illtbagu Linux - Newbie 5 03-24-2003 01:13 PM
profile help jalburger Linux - Newbie 3 07-10-2002 11:54 AM
/etc/profile flex411 Linux - General 7 05-11-2001 01:50 PM


All times are GMT -5. The time now is 06:01 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