1832531 Members
8235 Online
110043 Solutions
New Discussion

Profile

 
SOLVED
Go to solution
Manuales
Super Advisor

Profile

Hi ...
what "profile" do i must use for:

/usr/bin/csh
/usr/bin/ksh
/usr/bin/bsh ?

.profile?? .c...what???

Thanks,Manuales.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Profile

You know a man csh, ksh, ... would answer your questions.

C shell uses .cshrc. Ksh uses .profile. I have no idea what bsh is.
If it ain't broke, I can fix that.
Sandman!
Honored Contributor

Re: Profile

Hi Manuales,

The $HOME/.profile is used only with the Korn (ksh) and POSIX (sh) shells only. The csh uses $HOME/.cshrc NOT $HOME/.profile. You should read the man pages of each of the shells...

# man

Not sure what /usr/bin/bsh is ??? Unless you are referring to the bash shell.

cheers!
Manuales
Super Advisor

Re: Profile

Thanks sandman ...

Manuales.
Jeff Schussele
Honored Contributor

Re: Profile

Hi Manuales,

Since bash is a "Bourne Again" shell & Bourne uses the .profile - bash also uses the $HOME/.profile file.

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Manuales
Super Advisor

Re: Profile

Thanks Jeff for your comments ...

Manuales.