whoami
- 网络当前用户;显示当前用户
-
Here 's another example , this time with the user name taken from the environment using whoami
下面是另一个示例,这次的用户名来自于whoami的结果
-
To find out , you can use the whoami command to return the name of the current user .
为找出答案,您可以使用whoami命令来返回当前用户的名称。
-
As a simple example , let us create a generic function called whoami () and some tagged methods to dispatch to
作为一个简单的例子,我们来创建一个称为whoami()的泛型函数以及一些要被分派标记的方法
-
The aim is to get something like ssh-n host whoami to work without being asked for a password .
这样做的目的是能够不需询问密码就可以执行ssh-nhostwhoami这样的命令。
-
Your whoami should return your login name .
您的whoami应该返回您的登录名称。
-
The phrase'whoami'runs the command whoami and inserts the result of that command in place of the phrase .
短语“whoami”运行命令whoami并将该命令的结果插入到短语所在位置。
-
If your prompt does not include your user id , then you can use the whoami command to check your current effective id.
如果您的提示没有包括用户id,可以使用whoami命令来检查您当前有效的id。