Main Menu

Menu

Thursday, 23 February 2012

Shell changing in Ubuntu 10.04 from bash to tcsh and sh

Useful commands and tips:

See the current shell:
kostas777711@kostas777711-desktop:~$ echo $0
bash








Install the tcsh shell via the ubuntu software center and change from the bash shell (default in Ubuntu), and check that you are there:
kostas777711@kostas777711-desktop:/bin$ /bin/tcsh
kostas777711-desktop:/bin> echo $0
/bin/tcsh


Change from tcsh to sh shell, and check:
kostas777711-desktop:/bin> /bin/sh
sh-4.1$ echo $0
/bin/sh

No comments:

Post a Comment