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?
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. Code: 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: Code: grep tom /etc/passwd