wc#Command Line Options#Count the lines in a file#wc --lines file Count characters in a string (-n prevents echo from printing a newline)#echo -n 1234 | wc --chars