≡ Menu

login shell

Linux / UNIX: Change Bash To KSH Shell

How do I change my current login shell from bash to ksh under Linux or UNIX or Apple OS X operating systems?
[click to continue…]

UNIX / Linux: Kill All My Jobs Under Current Shell Session

How do I kill all the UNIX jobs I created under my current login shell such as Bash or KSH before logout?
[click to continue…]

Linux Disable Shell / FTP Access For a User Account

My users will only be checking mail, and I want to disable FTP access as well as shell access under CentOS Linux. How do I disable shell (SSH) and FTP access to a new or old user under Linux without deleting user account?
[click to continue…]

Ubuntu Set User Profile Under Bash Shell

How do I set user profile under bash shell running Ubuntu Linux operating systems?
[click to continue…]

Alarm clock: How To Set Timeout For A Shell Command

Q. How can I run a command called foo, and have it timeout / abort after 10 seconds under GNU/Linux running bash shell or script? How do I run command under an alarm clock?
[click to continue…]

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…]

Solaris UNIX: Change Default Shell

How do I change default ksh shell to bash shell under Solaris / OpenSolaris UNIX operating system using command line options?
[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