setenv not working???
hi all,
m using this command setenv PATH /home/tupac/codeploy:$PATH but it shows setenv:command not found wat to do??? plz helpppppp:confused: |
nd i after that i have to do
rehash which is also not working.. same problem , command not found |
You aren't using the csh or tcsh. You are using something else.
try "echo $SHELL" to see which one. |
it is bash..
|
wats the alternate??
|
Do you want to use tcsh/csh or do you want to continue using bash? If you want to continue using bash, type:
Code:
PATH=/home/tupac/codeploy:$PATH Code:
chsh -s tcsh |
Ok...
1. Try using actual English 2. It would help to know what distro you're using |
ok.. i am using bash only but here is the output on
export$PATH /home/tupac/codeploy:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/tupac/bin': not a valid identifier |
and when i am trying to change the shell to tcsh or csh it is showing that shell has been changed succesfully but when i am checking it with echo $SHELL it is still bash..
|
Sorry, when you change your shell, it will only take effect on your next login. Log out and back in after you run chsh.
|
thanks a lot. it worked:)
|
It seems I was mistaken as well as regard to the export. It isn't necessary in bash.
|
may be....
|
All times are GMT -5. The time now is 10:24 PM. |