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