***大家好,我是霸王卸甲,又到了今天更新文章的时间了,今天给大家带来的是第一章中的第二小节 shell语言!!***
- GNU Bash Introduction: The shell is the user interface of the system and provides an interface for users to interoperate with the kernel.
It receives the command entered by the user and feeds it into the kernel to execute. The shell is actually a command interpreter that interprets the commands entered by the user and sends them to the kernel. In addition, the shell has its own programming language for editing commands, which allows the user to write programs composed of Shell commands. Shell programming languages have many features of a common programming language, such as a looping structure and branching control structures, and shell programs written in this programming language have the same effect as other applications.
2.Shell Function Introduction:
.
3.bash Shell prompt:
4.shell Syntax: command-the body of the entire shell command
Options: Affects the behavior of fine-tuning commands//usually in-,--
Parameters: The object to which the command works
For example: [[email protected] ~]# ls [[email protected] ~]# ls-a [[email protected] ~]# ls-a/Home
5.bash Basic Features: ①. Auto-complete <tab>//tab can only complete command and file RHEL6 like these commands, such as a long word sysconfig just typing SYSC the first few letters you can use the TAB key to directly appear the whole word, which can improve the speed of writing commands. It may be very slow when you start practicing, and you will get used to the great improvement in speed.
②. Shortcut keys
③. Historical command-history command just need everyone to understand it.
④. Command aliases
⑤. Let's give you a few examples.
If the basic command is not ripe, you can look more.
Some obscure code can be searched on Baidu Google.
**今天的内容到这里就结束了,有问题大家可以私信我,我会抽时间统一回复,谢谢大家的支持,再见。**
Linux system Configuration and service Management _ NO. 01 System Deployment (second section first knowledge shell)