How do I count the number of lines in bash?

Nguyễn Hào

New member
How do I count the number of lines in bash?
Answer
4 Answers
  1. To count the number of lines: -l wc -l myfile.sh.
  2. To count the number of words: -w wc -w myfile.sh.
3 апр. 2014 г.
 

Tìm kiếm

Back
Top