Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Choose two)
This is a tricky one! I'm going to say C and E. The egrep command is like grep but with extended regular expressions, and the -i option makes it case-insensitive.
Hmm, I think the answer is D and E. The -i option in grep makes the search case-insensitive, and the [Ff] character class matches both uppercase and lowercase 'Fred'.
Vilma
3 months agoArgelia
2 months agoTiffiny
2 months agoJanine
3 months agoFrancene
3 months agoSylvia
2 months agoLisbeth
2 months agoEna
3 months agoAimee
4 months agoShenika
4 months agoAdell
4 months agoJudy
2 months agoDottie
3 months agoCorinne
3 months agoShakira
3 months agoRima
4 months agoRosio
4 months agoCarey
3 months agoMira
3 months agoClare
3 months agoChaya
4 months agoSue
4 months agoJosphine
4 months agoDesiree
4 months ago