ubuntu list users

Shell
cat /etc/passwdcut -d: -f1 /etc/passwd

Source

Also in Shell: