Which of the following commands will display lines that contain either start or end?

Which of the following commands will display lines that contain either start or end?Category: Linux EssentialsAuthor "LinuxQuestions"Which of the following commands will display lines that contain either start or end?
Linux Questions Staff asked 1 year ago

Which of the following commands will display lines that contain either start or end?

  • egrep start end file.txt
  • egrep ‘start|end’ file.txt
  • egrep start&end file.txt
  • egrep (start|end) file.txt

About the author