LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 08: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, 08:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 10: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:02 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
Open Source Consulting | Domain Registration