Uso Ubuntu 12.04.4. Installo tcsh. Ma vedo ancora questo errore:
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
setenv: command not found
Come posso ripararlo?
Uso Ubuntu 12.04.4. Installo tcsh. Ma vedo ancora questo errore:
No command 'setenv' found, did you mean:
Command 'netenv' from package 'netenv' (universe)
setenv: command not found
Come posso ripararlo?
Risposte:
Hai due opzioni! Eseguire una cshshell compatibile o modificare la sintassi del comando.
setenv VARIABLE value
è cshsintassi (e sembra che tu lo sappia). Per kshe bashil comando equivalente è,
export VARIABLE=value
Per eseguire tcsh(dopo l'installazione con sudo apt-get install tcsh) è possibile
tcsh
Per impostare la shell in modo tcsh" permanente ",
chsh -s /usr/bin/tcsh
Per tornare a bash,
chsh -s /bin/bash