Originally posted by arunsri
hi grp i'm using slack 10.1.
1) How do I set environmental variables? setenv does not work.Is there any other method?
2) For setting PATH...do i need to always wdit the /etc/profile?? There is no .bashrc in slack.But, can I create my own .bashrc and like that for every user?
For temp varaibles, ones that get chucked after you exit that shell instance..
$ export $VAR
if you want to get rid of it without exiting the shell
$ unset VAR
Set PATH only for that shell instance.
$ export PATH=$PATH:/opt/kde
if you forget the $PATH:, then the only thing in you path will be /opt/kde.
play around the echo $WHATEVER. You can see all variable that begin with C by echo $C ... tab.
To set them for ever instance of a shell put them in you /etc/profile..global
or ~/.profilerc only for only a specific user.