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
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop









{ 23 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
Hi, I have Ubuntu 11.10.
when i wrote
csh on command line.. i got following:
The program ‘csh’ can be found in the following packages:
* csh
* tcsh
Ask your administrator to install one of them
when write the following:
sudo apt-get install csh
bharti is not in the sudoers file. This incident will be reported.
i use CentOS 6.2. i have same problem like that, i already install the new package of csh ¨Package tcsh-6.17-19.el6_2.x86_64 already installed and latest version¨ but when i type ¨csh” or ¨tcsh¨ on terminal, still at bash shell.
i have already try with the same way with another PC using Ubuntu 9.04. it work. why it does´t work at CentOS. Do you have any advice…?
thank you for your attention
What are the uses of C Shell and How can i do work with it??????
Hi .Thanks for helping me understand what is tsch shell but stil ask whether this enhancement versions are compartible with any given linux .