内部指令:shell自帶,通過某指令形式提供。
1.檢視内部指令清單
[[email protected]_0_17_centos ~]# help
........
2.禁用内部指令
[[email protected]_0_17_centos ~]# enable -n cd
[[email protected]_0_17_centos ~]# cd /etc/ //禁用之後cd指令就不能使用了
3.檢視所有禁用的内部指令
[[email protected]_0_17_centos ~]# enable -n
enable -n cd
4.啟用内部指令