whoami
显示本用户信息
常用释义
英式发音
美式发音
基本释义
- n. 显示本用户信息
例句
-
1·Your whoami should return your login name.您的whoami应该返回您的登录名称。
-
2·To find out, you can use the whoami command to return the name of the current user.为找出答案,您可以使用 whoami 命令来返回当前用户的名称。
-
3·Listing 1 defines three classes (a, B and c) with a common virtual function WhoAmI .清单1定义了三个类(A、b和c),它们有一个共同的虚函数whoami 。
-
4·Here's another example, this time with the user name taken from the environment using whoami.下面是另一个示例,这次的用户名来自于whoami的结果。
-
5·The aim is to get something like SSH -n host whoami to work without being asked for a password.这样做的目的是能够不需询问密码就可以执行ssh - n host whoami这样的命令。
-
6·As a simple example, let us create a generic function called whoami and some tagged methods to dispatch to.作为一个简单的例子,我们来创建一个称为whoami的泛型函数以及一些要被分派标记的方法。
-
7·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。
-
8·Listing 13 shows the whoami command run on its own; Listing 14 shows an excerpt from a Bash script using whoami to make sure the current user isn't root.清单13显示了独自运行的whoami命令;清单14显示了使用whoami确保当前用户不是根用户的bash脚本的摘录。