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