Linux whoami命令
更新时间: 2019-10-16 12:40
Linux whoami命令用于显示自身用户名称。
显示自身的用户名称,本指令相当于执行"id -un"指令。
语法
whoami [--help][--version]
参数说明:
- --help 在线帮助。
- --version 显示版本信息。
实例
显示用户名
# whoami
rootLinux whoami命令用于显示自身用户名称。
显示自身的用户名称,本指令相当于执行"id -un"指令。
whoami [--help][--version]
参数说明:
显示用户名
# whoami
rootAkash Karia / CreateSpace Independent Publishing Platform / 2015-1-11 / USD 6.99
"Every speaker can put these ideas into practice immediately -- and they should!" ~ Dr. Richard C. Harris, Certified World Class Speaking Coach "An insightful read" ~Dennis Waller, Top 500 Revie......一起来看看 《TED Talks Storytelling: 23 Storytelling Techniques from the Best》 这本书的介绍吧!