You can use the cat /etc/passwd command to list all users in Linux. This file contains information about each user account, including usernames.