Bash Builtin

command - bash内置命令,用于查询命令。

  • command -p <command> 会从PATH中查找并且执,使用command -p是为了保证找到的是来自PATH的标准程序。

type - 查看一个命令是否是bash内置。