Link to home
Start Free TrialLog in
Avatar of zhxin
zhxin

asked on

.profile

I can not find .profile in my homedirectory,so I create a file .profile.I have to run it everytime I log in.How can I let it exected automatically?
Also how to set CDPATH ,I did it,it doesn't work.
thanks !
ASKER CERTIFIED SOLUTION
Avatar of gormenghast
gormenghast

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of texas050398
texas050398

The .profile also works under korn shell. More info would be appreciated.
If you are using an X-based window manager it is possible to open a terminal window without executing the shell initialisation files. If this is the case, make sure that you are either using the -ls option to start it, or that it has the loginShell resource set.