如果一个 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-12-09 00:57  咔啡  阅读(262)  评论(0)    收藏  举报