Getting a list of users on Debian/ Linux

I keep having to Google this so thought I’d record it here.

To get a simple list of all local users:

cut -d: -f1 /etc/passwd

To get more information, such as home directory paths:

Prism Shortcode Error: Custom field not set or empty

Leave a Reply

Your email address will not be published. Required fields are marked *