当前位置:网站首页>Shell basic concepts
Shell basic concepts
2022-06-10 22:30:00 【Wind and smoke fatigue】
shell What is it?
When we talk about the command line , We actually mean shell. shell It's an application , It reads commands from the keyboard and sends them to the operating system for execution , To access or implement the management of the operating system . all Linux All distributions have default shell, It's usually bash shell, Derived from GNU Project .“bash” yes “Bourne Again Shell” Acronyms ,bash yes sh Enhanced version of .
terminal
Under the graphical interface operating system , We need an extra program to work with shell Interaction , This program is the terminal simulator , stay Ubuntu The terminal under the system is called gnome-terminal.kde The desktop environment comes with konsole, Such as redhat6, Contemplation 80 Terminals of other systems .
Different shell
sh
sh The full name is Bourne shell, from AT&T The company's Steve Bourne Development , In his honor , Just named after him .
sh yes UNIX The standard on shell, quite a lot UNIX All versions are equipped with sh.sh Is the first popular Shell.
bash
bash shell It's most Linux Default shell.
bash from GNU Organizational development , To keep the sh shell The compatibility of , It's all kinds of Linux The default configuration of the distribution shell.
For all that ,bash and sh There are still some differences :
- One side ,bash Extended some commands and parameters ;
- On the other hand ,bash Not exactly with sh;
- compatible , Some of their behaviors are inconsistent , But in the case of operation and maintenance of most enterprises, the difference is not big , Special scenes can use bash Instead of sh.
csh
sh Then another popular shell It's from Berkeley University Bill Joy The design of the , This shell The grammar of is a little similar to C Language , That's why it's called C shell , Referred to as csh.
tcsh
tcsh yes csh Enhanced Edition , Added command completion function , Provides more powerful syntax support .
ash
A simple lightweight Shell, Less occupied resources , Suitable for running in low memory environment , But with the following bash shell Fully compatible with .
Other
View what the current terminal uses shell?
echo $SHELL
Switch to other shell, Such as bash shell
exec bash
边栏推荐
- Modify frontsortinglayer variable of spritemask
- oc swift 混编
- Concept and use of CEPH distributed storage cluster pool resource pool
- Has the samesite cookie problem occurred when using identityserver?
- C程序实例1--个人通讯录管理系统
- Record (II)
- What are MySQL clustered indexes and nonclustered indexes?
- Visio 转为高质量PDF
- Ceph分布式存储集群Pool资源池的概念以及使用
- [tcapulusdb knowledge base] tcapulusdb viewing process status introduction
猜你喜欢

Differences between disk serial number, disk ID and volume serial number

【TcaplusDB知识库】TcaplusDB TcapProxy扩缩容介绍
![[MySQL] summary of common data types](/img/96/010c21f0aa7b443c130c5f55e5277a.png)
[MySQL] summary of common data types

Back to table query of MySQL? How to avoid it?

Diablo immortality database station address Diablo immortality database website

Solution de gestion de la zone pittoresque intelligente pour la réunion des baleines

TcaplusDB君 · 行业新闻汇编(三)

Sealem finance builds Web3 decentralized financial platform infrastructure

leetcode 130. Surrounded Regions 被围绕的区域(中等)

leetcode:333. 最大 BST 子树
随机推荐
Record (II)
Qt自定义委托
笔记(五)- JVM
Array union set
【Py】接口签名校验失败可能是由于ensure_ascii的问题
Simply Untyped Lambda Calculus的实现
【C#】overide可重写从更高父级继承来的virtual方法
Part 7: Lesson 2 general skills of consultants - how to install and uninstall SAP ERP system client
datagrip 报错 “The specified database user/password combination is rejected...”的解决方法
【TcaplusDB知识库】TcaplusDB推送配置介绍
ICML2022 | Sharp-MAML:锐度感知的模型无关元学习
罗永浩:我要是负责人 能让苹果产品上去三个台阶不止
Solution to "XXX has broken path" error in idea
Use of C language qsort() function (detailed explanation)
GMPNN:Drug-drug interaction prediction with learnable size-adaptive molecular substructures.
Business based precipitation component = & gt; manage-table
C language - quick sorting in sorting
C language to judge whether a file or folder exists
Array intersection of two arrays II
OC swift hybrid