Which command will print all lines in the file?

Nguyễn Hào

New member
Which command will print all lines in the file?
Answer
grep command in Unix/Linux. The grep filter searches a file for a particular pattern of characters, and displays all lines that contain that pattern. The pattern that is searched in the file is referred to as the regular expression (grep stands for globally search for regular expression and print out).
 

Tìm kiếm

Back
Top