How to List Users in Linux

Posted by linuxize on Jul 9, 2018 9:19 AM EDT
linuxize.com; By linuxize
Mail this story
Print this story

Have you ever wanted to list all users in your Linux system or to count the number of users in the system? There are commands to create a user, delete a user, list logged in users, but what is the command to list all users in Linux?

This tutorial will show you how to list users in Linux systems.

Local user information is stored in the `/etc/passwd` file. Each line in this file represents login information for one user. To open the file you can either use `cat` or `less`.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.