我在 Windows 10 上的 Linux 的 Windows 子系统中使用 Ubuntu 20.04。当我键入who
命令时,我没有得到任何输出:
renniej@ratitch:~$ whoami
renniej
renniej@ratitch:~$ who
renniej@ratitch:~$
我尝试了各种方法sudo who
,who -a
但仍然没有输出。who --version
给出:
who (GNU coreutils) 8.30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.
我在这里做傻事吗?或者这是 WSL2 的一个特性?