to filter text command in linux code example Example: how to filter 12 character words from file bash awk 'length($1) == 12 { print $1 }' file