Linux: New Beginnings

Discussion in 'HOWTO-Related Questions' started by Fatherly Guilt, Sep 19, 2020.

  1. Fatherly Guilt

    Fatherly Guilt New Member

    Hi everyone, I've just started my first Linux class and since I am incredibly new to it I wanted to know of any pointers or tips and tricks that might help me along the way. So far I've been understanding the format of using a terminal, no problem navigating just a lot to learn.
    I do have a question pertaining to system users. Is there a command for listing all users available to you? Like root and any other user?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    On Linux, all system users are listed in the file /etc/passwd. To get the file content displayed on the shell, use the cat command.

    cat /etc/passwd
    If you want to search for a specific user, use the gep command. Example on how to use grep to search for a user named tom:

    grep tom /etc/passwd
    Fatherly Guilt likes this.
  3. Fatherly Guilt

    Fatherly Guilt New Member


Share This Page