Trịnh Quốc Lâm
New member
How do I get lines from a file?
Answer
The tool wc is the “word counter” in UNIX and UNIX-like operating systems, but you can also use it to count lines in a file by
adding the -l option. wc -l foo will count the number of lines in foo .
Answer
The tool wc is the “word counter” in UNIX and UNIX-like operating systems, but you can also use it to count lines in a file by
adding the -l option. wc -l foo will count the number of lines in foo .