Guest_imported
New member
- Jan 1, 1970
- 0
i have RedHat 6.2 + kernel 2.2.14-5.0 + GNU bash, version 1.14.7(1)
i want to add the path ( i am root): '/home/yyy' to my $PATH. i just add it to
my
/etc/profile file like this
PATH="$PATH:/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:./:/home/yyy"
OK but
1-How to make my linux execute that witout rebooting?
2-Can i make this by terminal without editing /etc/profile ?
i have tried setenv PATH /etc/yyy:$PATH
but i get the message "bash: setenv:command not found"
Another Question
3-How to add /home/yyy to my $CLASSPATH in /etc/profile?, i havn't find
$CLASSPATH !!!
4-How to make my linux execute that witout rebooting?
Thanks for all
NB: I must do that to install and use commapi from SUN to use ttyS0 JAVA
i want to add the path ( i am root): '/home/yyy' to my $PATH. i just add it to
my
/etc/profile file like this
PATH="$PATH:/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:./:/home/yyy"
OK but
1-How to make my linux execute that witout rebooting?
2-Can i make this by terminal without editing /etc/profile ?
i have tried setenv PATH /etc/yyy:$PATH
but i get the message "bash: setenv:command not found"
Another Question
3-How to add /home/yyy to my $CLASSPATH in /etc/profile?, i havn't find
$CLASSPATH !!!
4-How to make my linux execute that witout rebooting?
Thanks for all
NB: I must do that to install and use commapi from SUN to use ttyS0 JAVA