Which of the following commands will display only lines that begin with test?

Which of the following commands will display only lines that begin with test?Category: Linux EssentialsWhich of the following commands will display only lines that begin with test?
Linux Questions Staff asked 1 year ago

Which of the following commands will display only lines that begin with test?

  • grep ^test file.txt
  • grep $test* file.txt
  • grep *test file.txt
  • grep &test file.txt

About the author