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
OR
$ 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
Output:
/bin/csh
$ chsh
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 19 comments… read them below or add one }
Sorry, making mistakes again and again.
one more time.
Thnx once again.
thanks for proving this information. It solved my problem while installing xfig in fc8.
Hi, I have a question.
I was trying to install csh via commands
…………………………………………………………………….
kavita@atom:~> which csh
/usr/bin/csh
kavita@atom:~> chsh
Changing login shell for kavita.
Password:
Enter the new value, or press return for the default.
Login Shell [/bin/bash]: kavitac
chsh: Shell must be a full path name.
…………………………………………………………………………….
What I should give the new value & what is the meaning of press return here ?
help me
Type /usr/bin/csh at Login shell and press [Enter] key.
u mean at terminal I should do this.
thanks it works
Hey when I type this /usr/bin/csh on login shell, it says that Shell not changed
What does it mean ?
when i am trying to install csh using
$ sudo apt-get install csh
i get this message
sudo: apt-get: command not found
Sanjeev, I would venture to say you are not running a debian based linux distro. What distro are you running?
hi
how can install csh package on ubuntu
Hi!
I has innstall sun’s fedora 10. I want innstall tcsh,Ok?
Thanks!’
I am is chinese,So english very not good.
Does anyone know where to download csh? I have been looking on the web with no luck!
Go here:
http://www.tcsh.org/MostRecentRelease
@Moon, use yum command to install csh
Hi, How do I start Qshell in Linux?Where do I download it?
if I have an upen to linix interfase
is it asame thing
thanks alot
Hi
when i wont to install tcsh in ubuntu
i find this message
E: Impossible de trouver le paquet tcsh
please help me
thanks
Hi i get this error when i give csh at prompt
$ csh
LANG: Undefined variable.
i can run all otehr commands, except this.. pls suggest.. tks
This was a great help to me. For a day I tried converting a c-shell script to bash without any luck, until i discovered this help article. After following steps my app installed like a champ.
Reza
i install fedora 11 but in that i use the command $ SHELL it show only bin/bash
bin/sh but,i do the program in c shell ,so what can i do