Last Updated on May 11, 2020 by InfraExam
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
Last Updated on May 11, 2020 by InfraExam