list all user ubuntu server

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

Source

Also in Shell: