≡ Menu

unix c shell

FreeBSD csh / tcsh: Export Shell Variable

Q. I'm using FreeBSD 7 with csh (tcsh) shell. How do I export shell variable under FreeBSD operating systems?
[click to continue…]

Download and Install csh / tcsh shell on Linux

Q. cshell is a shell (command interpreter) with C-like syntax. How do I download and install csh shell on Linux?

A. csh is a command language interpreter incorporating a history mechanism , job control facilities , interactive file name and user name completion, and a C-like syntax. It is used both as an interactive login shell and a shell script command processor. tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell. In most cases csh / tcsh is installed by default. All you have to do is type shell name to start using it:
$ csh
$ tcsh

Install csh / tcsh

In case csh is not installed, type the following command at shell prompt:

$ sudo apt-get install csh
If you are using Redhat / Fedora / CentOS Linux, enter the following command:
# yum install tcsh

To make csh as default login shell, type the following command:
$ which csh


$ chsh