[Linux]Linux里查看所有用户

Linux里查看所有用户

  (1)root账户下,查看 /etc/passwd文件;

  (2)第三个参数:500以上为新建用户,其它为系统用户

或者用cat /etc/passwd |cut -f 1,3 -d:

原文地址:https://www.cnblogs.com/LeeCookies/p/15492779.html