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)
A) grep -v fred data_file
B) grep '[f]red' data_file
C) egrep fred data_file
D) grep '[Ff]red' data_file
E) grep -i fred data_file
Correct Answer:
Verified
Q123: Which of the following programs uses the
Q124: Which approach will provide a listing of
Q125: What is the correct command to extract
Q126: What is a purpose of an SSH
Q127: Which of the following commands preloads and
Q129: The script, script.sh, consists of the following
Q130: Which of the following commands redirects the
Q131: Which character starts a comment line in
Q132: Which command chain will count the number
Q133: Which of the following keywords can be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents