Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'clarification re shell startup files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
clarification re shell startup files
Authored by: hayne on Feb 07, '06 12:54:04PM
because all three of these use bash instead of sh by default, which reads the .bashrc file for configuration, and not .profile
A small point of clarification since the above is rather misleading. The difference is nothing to do with bash versus sh - it is to do with "login shells" versus "non-login shells". The file ".profile" is only read by "login shells" (in both bash and sh). See this Unix FAQ for details.

[ Reply to This | # ]