wc file.txt 10 20 500 file.txt lines words bytes file_name wc -l file.txt # Counts only lines (-l) wc -w file.txt # Counts only words (-w) wc -c file.txt # Counts only bytes (-c).