Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
shell count lines output
Jose Luis Pacheco BoscAn
Programming language:
Shell/Bash
2021-07-13 13:01:20
0
Q:
shell count lines output
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
line
shell
count
Related
multi line comment in shell script
shell write multiple lines to file
how to get specific lines of shell output
bash count lines
count number of lines in directory linux
shell count number of lines
shell count number of columns
grep count lines
bash count the number of lines that meet condition
single line comment in shell script
bash print lines that dont have a word
bash count duplicate lines in a file
bash print lines that match any of several words
shell reverse lines
New to Communities?
Join the community