One-liner: Print all usernames from /etc/passwd
perl -n -a -F: -e 'print "$F[0]\n"' /etc/passwd
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
perl -n -a -F: -e 'print "$F[0]\n"' /etc/passwd