Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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.