ls | wc - lc.ls | wcd.ls | wc - w code example Example: linux wc list of files find ./ -type f -name "*work*" -exec wc -w {} +