cat /etc/passwd | awk -F: '{print $1,$5}' [download]
In reply to Opening file and printing specific data by Anonymous Monk