Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my home path, there is one file named ".profile". It contained ORACLE_HOME path and all. What is the use of .profile file? Is it similar to .cshrc file?

share|improve this question

Yes, it is similar. .profile is the shell startup script for the class of shells derived from the original Bourne shell. This includes (but probably isn't limited to) the Bourne shell, Bash, the Korn shell, and the Z shell.

share|improve this answer

.profile is to sh as .login is to csh, i.e. commands in it are read and executed by the Bourne shell (and compatible shells like bash) at startup for interactive login shells.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.