Originally Posted by zaeem
I need to write shell script which can take number of files and count total rows from all CSVs and display total number of rows counted in all files. Is there any possibility of doing that using shell script and if yes then how.
Any help will greatly be appreciated.
You have several options to achieve that, e.g.
cat *.csv | wc -l
wc -l *.csv
and there are probably many more options.