Bash命令 —— type 【 查看命令类型是内部实现还是外部实现】

$ type cd    【显示cd命令的实现】

// cd is a shell buit in

$ type -a  pwd  【显示pwd命令的所有实现】

// pwd is a shell built in

// pwd is /bin/pwd

posted @ 2021-12-30 11:31  箫笛  阅读(96)  评论(0)    收藏  举报