The whoami
command is to print out the user name logged in the current system.
Syntax format: whoami [parameter]
Common parameters:
Example
# 查询登录的用户名whoami
This article is reprinted from https://xugaoxiang.com/2022/06/07/linux-cmds-27-whoami/
This site is for inclusion only, and the copyright belongs to the original author.