[Shell] Common Shells: sh, csh, tcsh, ash, bash

  • sh
  1. Bourne Shell, developed by Steve Bourne @ AT&T
  2. The standard shell on UNIX based system.
  3. The first popular shell.
  • csh
  1. Developed by Bill Joy.
  2. Bill built csh, vi, BSD.
  • tcsh
  1. An improved version of csh.
  2. Compared with csh, adding Command-line completion.
  • ash
  1. Light-weighted Shell
  2. Compatible with bash.
  • bash
  1. bash is compatible with sh(Bourne Shell).
    Difference between bash and sh
    bash expands some params, and commands
  • GNU/Linux
    Use commands to exminate available shells:
$ cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
/bin/tcsh
/bin/csh

On GNU/Linux, sh is replaced with bash

$ echo $SHELL
/bin/bash

SHELL is an environment variable under GNU/Linux, it indicates the path of current shell we use.


<<:  进击的软件工程师之路-软件战斗营 第四周

>>:  [DSA] Overview: Complexity Analysis

企划实现(21)

接续上篇继续提到关於有限公司以及股份有限公司的差别。 有限公司以及股份有限公司除了制度会有差别外,责...

【Day 18】jQuery DOM

何谓DOM? DOM = Document Object Model(文件物件模型) 根据MDN表示...

{CMoney战斗营} 的第十周 #摇身一变的游戏风格

这是一个糊里糊涂忙碌的一周,游戏大抵已完成,剩下一些微调的部分,剪辑影片、制作海报, PPT、发表...

IT 铁人赛 k8s 入门30天 -- day11 Helm - Package Manager

前言 今天要来讲说 Helm 这个工具 因为 Helm 版本会不断推陈出新, 因此在今天的内容着重再...

[Day3]资料库连线及新增使用者

资料库系统从设计、建立、操作、到管理阶段,都会有不同角色参与,以下区分为四种类型: 资料库设计者 (...