C shell is a Unix shell crated by Bill Joy at University of California, Berkeley in the late 1970s. It is used both as an interactive login shell and a shell script command processor. The csh is a command language interpreter incorporating:
- A history mechanism
- Job control facilities
- Interactive file name and user name completion
- A C-like syntax.
There are two version of csh:
- /bin/csh - The original BSD version of csh.
- /bin/tcsh - An improved version of csh called tcsh. On many systems, such as FreeBSD, macOS and Red Hat Linux, csh is actually tcsh.
How to install csh
sudo apt install csh
How to install tcsh
sudo apt install tcsh
How to set default shell to csh or tcsh
chsh -s /bin/csh vivek
sudo chsh -s /bin/csh vivek
Getting more help about csh/tcsh
Type the following command at your terminal to read more about csh or tcsh:
man bash man tcsh