What is C shell under UNIX / Linux operating systems?
C Shell is a shell developed by Bill Joy at the University of California at Berkeley.
The C Shell syntax resembles that of the C programming language (hence name C shell).
It has powerful interactive features like command history and file name completion.
It is default shell under FreeBSD and a few other UNIX like operating systems.
It is used primarily for interactive terminal use. For e.g. login and write program or update system configuration.
It is less frequently used for scripting and operating system control. /bin/sh is mostly used to write shell scripts.
C Shell Features
- Command history – Yes
- Line editing – No
- File name completion – Yes
- alias command – Yes
- Restricted shells – No
- Job control – Yes
tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell, csh. It is a command language interpreter usable both as an interactive login shell and a shell script command processor. It includes the following features:
- A command-line editor : Yes
- Programmable word completion : Yes
- Spelling correction : Yes
- History mechanism : Yes
- Job control : Yes
|Category||List of Unix and Linux commands|
|Firewall||CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|