{"id":1116,"date":"2018-10-21T17:23:05","date_gmt":"2018-10-21T17:23:05","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=1116"},"modified":"2018-10-23T00:35:12","modified_gmt":"2018-10-23T00:35:12","slug":"how-to-install-tcsh-or-csh-shell-on-a-debian-or-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/21\/how-to-install-tcsh-or-csh-shell-on-a-debian-or-ubuntu-linux\/","title":{"rendered":"How to install tcsh or csh shell on a Debian or Ubuntu Linux ?"},"content":{"rendered":"<p>Cshell is a shell (command interpreter) with C-like syntax.<\/p>\n<p>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. &#8211; The ability to use multiline aliases and exec statements in a reliable and consistent way. (Hense &#8220;sh&#8221; scripts can be re-written as tcsh scripts with aliases instead of functions.) &#8211; &#8220;tcsh&#8221; is the same on all machines. For &#8220;csh&#8221; I typically have to modify scripts for different machines. [example: HP-UX &#8220;set nonomatch&#8221; needs to be replaced by &#8220;set nonomatch = ()&#8221;] &#8211; source code is freely available &#8211; PWD and other common environmental variables are always defined. With &#8220;csh&#8221; this depends on the machine.In most cases csh \/ tcsh is installed by default. All you have to do is type shell name to start using it:<\/p>\n<h2><b>Install csh \/ tcsh<\/b><\/h2>\n<p>In case csh is not installed, type the following command at shell prompt as per your Linux distro \/ version.<\/p>\n<h3><b>Install it on Debian\/Ubuntu\/Mint Linux<\/b><\/h3>\n<p>$ sudo apt-get install csh<\/p>\n<h3><b>Install it on CentOS\/RHEL<\/b><\/h3>\n<h3><b>Install it on Fedora Linux<\/b><\/h3>\n<p><b>Set csh as default login shell<\/b>To make csh as default login shell, type the following command:Note down the \/bin\/csh or \/bin\/tcsh path. To change the shell simply type<\/p>\n<p><a href=\"https:\/\/www.linuxforfreshers.com\/2017\/09\/how-to-install-tcsh-or-csh-shell-on.html\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cshell is a shell (command interpreter) with C-like syntax. 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 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/21\/how-to-install-tcsh-or-csh-shell-on-a-debian-or-ubuntu-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to install tcsh or csh shell on a Debian or Ubuntu Linux ?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1116","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/1116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=1116"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/1116\/revisions"}],"predecessor-version":[{"id":1330,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/1116\/revisions\/1330"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=1116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=1116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=1116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}