LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using c shell (https://www.linuxquestions.org/questions/linux-newbie-8/using-c-shell-881751/)

hamisngos 05-20-2011 02:57 AM

Using c shell
 
Hi all,
Am very new to linux, I have been restricted to use c shell to configure my redhat box to work with oracle on our test system

I noticed that am using bourne shell, how do i convert my system so that i use c shell so that i set environment variables for oracle
setenv ORACLE_SID testdb
setenv ORACLE_HOME /u01/oracle/oratest/bin
e.t.c

colucix 05-20-2011 03:36 AM

You can try the chsh command:
Code:

chsh -s /bin/tcsh your_username
You will be prompted for your password, then you can verify the shell effectively changed by looking at your user entry in /etc/passwd. If it does not work (that is you don't have permissions to run the chsh command) the only option is asking to the system administrator.


All times are GMT -5. The time now is 09:23 AM.