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