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

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

[root@localhost ~]$ compgen -c
l.
ll
ls
which
if
then else
elif
fi
case
esac
for
select
while
until
do
done
原文地址:https://www.cnblogs.com/programb/p/14105279.html