wc command linux code example
Example 1: wc linux command
# Example of wc use
wc /proc/cpuinfo
448 3632 22226 /proc/cpuinfo
# 448: Number of lines
# 3632: Number of words
# 22226: Number of characters
Example 2: linux wc list of files
find ./ -type f -name "*work*" -exec wc -w {} +