Click to See Complete Forum and Search --> : where is my .profile file?


Huggy
09-13-2001, 12:44 PM
Where is my .profile file?
I'm looking for the file the starts up when you login.

I've looked in my home dir and I don't see it. :rolleyes:

Antonis
09-13-2001, 12:51 PM
Did you enable show hidden files?

Huggy
09-13-2001, 06:32 PM
yes ls -a
-a is show all files (hidden as well)

are you saying it should be there?

error27
09-13-2001, 07:06 PM
it's /etc/profile and ~/.bash_profile

Huggy
09-13-2001, 07:09 PM
I see.
Thank You

Craig McPherson
09-14-2001, 01:08 AM
That's a partial answer.

There is one global profile file:

/etc/profile

There are three user-specific bash profile files:

~/.profile this one is best
~/.bash_profile
~/.bashrc

If ~/.profile doesn't exist, just create it.

Huggy
09-14-2001, 11:04 AM
~/.profile
why is this the best one?
I'm looking for the one the is for each user
so when I login as guest I can have the date displayed and other stuff, but when I login as darrell maybe the cal command is displayed you know.