计算机网络/计算机科学与应用/系统/运维/开发

type命令 判断是内部命令还是外部命令

type命令 判断是内部命令还是外部命令


[root@node-a shell]# type cd
# 内嵌命令
cd is a shell builtin


[root@node-a shell]# type find
# 外部命令
find is /usr/bin/find
[root@node-a shell]#


日子是崭新的,不要回头看,如果今年还掉眼泪,希望是喜极而泣。

评论

^