- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
BASH命令详解(The BASH command is detailed)
BASH命令详解(The BASH command is detailed)
The BASH command details
Reading 216 comments 0: large and medium sized subscriptions
The Bourne Again Shell is Red Hats default Shell. It has 40 built-in commands and 12 command-line arguments.
The shell is a command language interpreter. The shell is the interface between the user and the Linux kernel. Each command you enter at the prompt is explained by the shell and passed to the Linux kernel.
How the shell starts the shell starts after you successfully log in to the system, and always ACTS as an interaction between you and the system kernel until you exit the system. Every user on your system has a default shell. Each users default shell is specified in the passwd file in the system, and the path to that file is /etc/passwd.
The bash command profile
Here are some of the most common bash internal commands:
Alias: sets the bash alias.
Bg: a suspended process continues in the background.
CD: change the current working directory.
Exit: terminate the shell.
Export: make the value of the variable visible to all child processes of the current shell.
Fc: the command used to edit the list of historical commands.
Fg: a suspended process continues at the foreground.
Help: displays help information for bash internal commands.
Kill: terminates a process.
PWD: displays the current working directory.
Unalias: deletes the defined alias.
Bash has many commands, but these are the most common ones, and for more detailed information, refer to bashs manual - type man bash at the prompt.
Bash variable
Here are some of the most useful bash variables, including variable names and simple descriptions.
EDITOR, FCEDIT: the default EDITOR of the bsah fc command.
HISTFILE: files used to store historical commands.
HISTSIZE: the size of the historical command list.
HOME: the current user directory of the user.
OLDPWD: the previous working directory.
PATH: bash looks for search paths for executable files.
PS1: command line prompt.
PS2: command line 2 pro
您可能关注的文档
- 物理理论上的一个认识错误(A cognitive error in physics theory).doc
- 物理概念质(Physical concept).doc
- 物理磁场典型例题解析(Physics typical examples of magnetic fields are analyzed).doc
- 物联网人才争夺激烈 高校盲目申办相关专业(Internet of things talents for the fierce universities blindly bidding related majors).doc
- 物理科组工作计划(Physical division work plan).doc
- 物理结论1(Physical conclusion 1).doc
- 物质形态(Physical form).doc
- 物质科学期末复习题(Material science final review).doc
- 物理极值问题(Physical extremum problem).doc
- 玻璃棉和岩棉构成成分及区别(The composition and difference of glass and rock wool).doc
- bbox的基本音教学(Bbox basic sound teaching).doc
- BGP的路由聚合(The routing aggregation of BGP).doc
- Being There(在那里).doc
- BME学生课程同步阅读推荐英文书目(BME students' course reading recommended English bibliography).doc
- beyond经典语录(Beyond the classical quotations).doc
- BUZ系列(BUZ series).doc
- Bus Hound 5.0 使用说明书(Bus Hound 5.0 USES instructions).doc
- button控件(A button control).doc
- c++编译器和链接器(C + + compiler and linker).doc
- c++程序设计课后习题第6章答案(C + + program design exercises chapter 6 answer).doc
文档评论(0)