adam.nz aboutpostsprojectscontact
# awk -F: '{print $NF}' /etc/passwd
Print the last, colon-delimited field of /etc/passwd. This works because NF is the number of fields (eg. 7 for /etc/passwd) and so this is the same as print $7.