2 Simple Questions
I've just installed Mandrake 9 (moving up from RH 7.1) and I have two really simple questions that to things that I cannot remember how to do - so I thought I'd put them in this folder.
1. How do I change my default shell from Bash to tcsh 2. I've installed Java and tried to set the classpath but it is constantly telling me that Java does not exist on the machine - how do I set the classpath up properly for a bash shell (I don't suppose this one matters much as I'm changing it to tcsh). thx |
for your first question, I think that if you change the line in /etc/passwd dealing with the user to say something like :
user:x:25:25:/home/user:/bin/tcsh it should set the login shell to tcsh (just change /bin/bash to /bin/tcsh) good luck |
1: Open up userdrake and click on the specified user. Click on edit and from there is should be fairly obvious.
|
I don't know about "class path" but I just looked up the docs for when I installed java, and I used "JAVA_HOME"
where is java unpacked to? i'll call it /usr/java for this demo export JAVA_HOME=/usr/java export PATH=$PATH:$JAVA_HOME/bin try typing that in while at the bash prompt and see if it works. If yes, you can put something similar in you /etc/bashrc or something. good luck |
All times are GMT -5. The time now is 02:47 PM. |