• Post author:
  • Post category:Blog
  • Reading time:1 mins read
  • Post last modified:June 12, 2024

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

  • grep ‘*test’ file.txt
  • grep ‘[test]’ file.txt
  • grep ‘$test’ file.txt
  • grep ‘^test’ file.txt

For more questions and answers go to below link:

Linux Unhatched Assignments Assessment Exam Answers 2020

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments