How to list only the usernames in the /etc/passwd file on Linux.

This is how to list only the usernames in the /etc/passwd file. A very useful tip indeed. The -f1 parameter is the section that is shown. jason@localhost ~ $ cut -d: -f1 /etc/passwd root bin daemon adm lp sync shutdown halt news uucp operator portage nobody sshd man messagebus jason polkitdjason@localhost ~ $ cut -d: … Read more