list usernames in console ubuntu code example Example: list all user ubuntu server cut -d: -f1 /etc/passwd