• Displaying User and Groups on Ubuntu Server

    Another little command I always seem to forget in order to list users on Ubuntu Server and other X system.

    getent passwd
     getent group
    

    Alternatively, you can use the following to the same result:

    cat /etc/passwd
     cat /etc/group
    




    Share

    Leave a reply