Print specific columns with awk

Print 1st and 3rd fields of a space-delimited file

awk '{print $1, $3}' /etc/passwd

tool
linux133 commands
tags
linux

More linux commands

all 133 linux commands