Say I have a large file with many rows and many columns. I\'d like to find out how many rows and columns I have using bash.
Simple row count is $(wc -l "$file"). Use $(wc -lL "$file") to show both the number of lines and the number of characters in the longest line.
$(wc -l "$file")
$(wc -lL "$file")