I use Ubuntu 12.04.4. I install tcsh. But I still see this error :
No command 'setenv' found, did you mean: Command 'netenv' from package 'netenv' (universe) setenv: command not found
How can I fix it ?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You have two options! Either run a
csh compatible shell, or change the syntax of your command.
setenv VARIABLE value
csh syntax (and you seem to know it). For
bash the equivalent command is,
tcsh (after installing with
sudo apt-get install tcsh) you can
To switch your shell to
chsh -s /usr/bin/tcsh
To switch back to
chsh -s /bin/bash