Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

short korn shell question

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

I use RH7.1, the bash shell is the default shell when installed.(you knew that!)
I installed ksh during setup. Then I set up user "BillBob" to have ksh as login shell.
Question:

I'm having trouble trying to understand how to set up the initial environment settings for ksh to work well for user "BillBob". I understand that I need the files .profile and .kshrc in /home/BillBob, but they're not there after default install.

I have a general understanding of these two files, but I'm not sure about /etc/profile (default install) and how it influences these two other files down the road.

 
/etc/profile is executed first and generally contains system-wide parameters such as generic PATH variables etc. <home>/.profile is then used to customise these settings to a specific user, for example to enable them to use specific applications or resources. Hope this helps.
 
Just a reminder:

to see the files whoose names start with .
do not forget to use the -a switch of the ls command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top