Questions tagged «whoami»

2
“谁的妈妈喜欢”是真正的linux命令吗?
我偶然发现了一个提到以下命令的博客。 who mom likes 它似乎等同于 who am i 作者警告说,切勿在命令行中输入以下内容(我怀疑他是妖怪的) who mom hates 没有有关该mom命令的文档。它有什么作用?
27 who  whoami 

1
w,who,whoami和id的不同输出
当我运行时,在在线命令行平台上,例如Codecademy上的平台 for cmd in w who whoami id do echo $cmd $cmd echo ========================= echo " " done 我懂了 w 00:52:54 up 8 days, 14:10, 0 users, load average: 3.78, 2.98, 2.69 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT ========================= who ========================= whoami ccuser ========================= id uid=1000(ccuser) gid=1000(ccuser) groups=1000(ccuser) …
9 users  who  w  whoami 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.