awk command to print first column from output of a command code example Example: awk print first column awk '{print $1}'