4 Shell内置命令(Shell Builtin Commands)

待完善

Bourne Shell内置命令


  • :
  • .
  • break
  • cd
  • continue
  • eval
  • exec
  • exit
  • export
  • getopts
  • hash
  • pwd
  • readonly
  • return
  • shift
  • test
  • [
  • times
  • trap
  • umask
  • unset

Bash内置命令


  • alias
  • bind
  • builtin
  • caller
  • command
  • declare
  • echo
  • enable
  • help
  • let
  • local
  • logout
  • mapfile
  • printf
  • read
  • readarray
  • source
  • type
  • typeset
  • ulimit
  • unalias

改变Shell行为的内置命令


  • set
  • shopt

POXIS规定的特殊内置命令


break : . continue eval exec exit export readonly return set
shift trap unset

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 概述 首先,咱们来了解一下,什么是Shell。操作系统内核给我们提供了各种接口,同时也提供了各种用户层的库,理论上...
    keysaim阅读 1,415评论 0 0
  • 为何叫做 shell ? shell prompt(PS1) 与 Carriage Return(CR) 的关系?...
    Zero___阅读 3,185评论 3 49
  • 这是我学习linux以及shell的时候选择的一本书,是O'REILLY图书系列的《Shell脚本学习指南》,看完...
    C就要毕业了阅读 3,201评论 0 14
  • 来自:linux程序设计中文第四版 变量 变量引用 shell中,变量不需要提前声明,默认所有变量均被看做为字符串...
    2625K阅读 437评论 0 0
  • linux资料总章2.1 1.0写的不好抱歉 但是2.0已经改了很多 但是错误还是无法避免 以后资料会慢慢更新 大...
    数据革命阅读 12,237评论 2 33