如何从 Linux (Ubuntu) 的用户列表中 grep 所有登录用户?
到目前为止,我必须:
cat /etc/passwd | grep "/home" | cut -d: -f1
linux grep
grep ×1
linux ×1