Counting the Number of Lines of Output To count the number of lines in the output from a command: Enter count after the pipe symbol. For example: user@host> show configuration | count Count: 369 lines
To count the number of lines in the output from a command:
count
For example:
user@host> show configuration | count
show configuration | count
Count: 369 lines