n.显示本用户信息
网络 显示当前用户; 我是谁; 显示用户名
Your whoami should return your login name.
您的whoami应该返回您的登录名称。
To find out, you can use the whoami command to return the name of the current user.
为找出答案,您可以使用 whoami 命令来返回当前用户的名称。
Listing 1 defines three classes (a, B and c) with a common virtual function WhoAmI .
清单1定义了三个类(A、b和c),它们有一个共同的虚函数whoami 。
Here´s another example, this time with the user name taken from the environment using whoami.
下面是另一个示例,这次的用户名来自于whoami的结果。
The aim is to get something like SSH -n host whoami to work without being asked for a password.
这样做的目的是能够不需询问密码就可以执行ssh - n host whoami这样的命令。