Linux - Count and number lines of output, Count process line numbers
Count and number lines of output
Count and number lines of output, useful for counting number of matches
# ps aux | grep [h]ttpd | cat -n
You can also use nl command instead of cat-n
The topic on Linux - Count and number lines of output is posted by - Maha
Hope you have enjoyed, Linux - Count and number lines of outputThanks for your time