Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
shell count number of lines
Dong
Programming language:
Shell/Bash
2021-05-15 13:21:44
2
Q:
shell count number of lines
user60793
Code:
Shell/Bash
2021-03-07 18:10:02
$ wc -l < /dir/file.txt 3272485
4
user25245
Code:
Shell/Bash
2021-01-20 14:31:01
$ somecommand | wc -l
1
Tags
number
line
shell
count
Related
shell count lines output
bash count lines
multi line comment in shell script
count number of lines in directory linux
bash count the number of lines that meet condition
bash count duplicate lines in a file
grep count lines
how to get specific lines of shell output
shell reverse lines
bash print lines that dont have a word
shell write multiple lines to file
bash delete a range of lines from a file
bash print lines that match any of several words
shell count number of columns
New to Communities?
Join the community