如果一个 linux 新手想要知道当前系统支持的所有命令的 列表,他需要怎么做?

使用命令 compgen -c,可以打印出所有支持的命令列表

[root@localhost ~]$ compgen -c

l.

ll

ls

which

if

then

else

elif

fi

case

esac

for

select

while

until

do

done

posted @ 2020-11-28 12:31  咔啡  阅读(322)  评论(0编辑  收藏  举报