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

  • Post author:
  • Post category:Uncategorized
  • Post comments:0 Comments
  • Post last modified:May 11, 2020
  • Reading time:1 mins read
 

Last Updated on May 11, 2020 by InfraExam

Which of the following commands will return only lines that end 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

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments