MCQs > IT & Programming > Linux > You want to show every line (with the file name and the line number) in the log files of a Ubuntu system that does NOT contain the string 'info' (case insensitive). What is the proper command?

Linux MCQs

You want to show every line (with the file name and the line number) in the log files of a Ubuntu system that does NOT contain the string "info" (case insensitive). What is the proper command?


Answer

Correct Answer: grep -i -n -v "info" -R /var/log/*

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Linux Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Linux Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it