So I am stuck here:grep -E '^....c...c...$' shows all words with the expr I need. Now from this words I only need the ones that don't have a x.Who can help me?
grep all words with specified length, without letter x
grep;regular expression
Use a second grep:grep -E '^....c...c...$' | grep -v xOr character classes:grep -E '^[^x][^x][^x][^x]c[^x][^x][^x]c[^x][^x][^x]$'