linux whoami 显示当前用户的用户名

[root@MongoDB ~]# whoami 
root
原文地址:https://www.cnblogs.com/mingerlcm/p/10826362.html