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 Linux I can set ORACLE_HOME in .cshrc. Where do I set this variable in AIX?

share|improve this question
    
There's no such thing as "compiling" .cshrc. source only reads and executes that file. –  Renan Jun 26 '12 at 17:16
add comment

1 Answer

If you are using the C shell in AIX, then you would also set it in ~/.cshrc. If you are using a different shell (e.g., Korn shell, Bash, Bourne shell, etc.), then you would set it in a startup script that is specific to that shell.

share|improve this answer
    
Then where can I set alias names? –  Venkatesh Jun 26 '12 at 17:51
    
You define aliases in the startup script for the shell you are using. If you are using the C shell, you would do it in ~/.cshrc. If you are using Bash, you would do it in ~/.bashrc. Each shell documents a startup script that it executes. If the shell supports aliases (all do except the original Bourne shell), you would define your aliases in the startup script for that shell. –  Fran Jun 26 '12 at 18:02
add comment

Your Answer

 
discard

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.