wc
count number of line.
ls -1 | wc -l
grep
command utilitiy to searches the input files for pattern. See more in history of grep. Well, it's intuitive if you remember it asg|re|p (global regular expression print)
:)
ls -1 | grep *.zip | wc -l
wc
count number of line.ls -1 | wc -l
grep
command utilitiy to searches the input files for pattern. See more in history of grep. Well, it's intuitive if you remember it as g|re|p (global regular expression print)
:)ls -1 | grep *.zip | wc -l