count new lines bash code example Example: count new lines bash command | wc -l wc -l < some_file.txt