Counting the Number of Lines in the Output To count the number of lines in the output, specify the count command after the pipe; for example: user@host> show configuration | count Count: 269 lines user@host> show route | count Count: 67 lines
To count the number of lines in the output, specify the count command after the pipe; for example:
count
user@host> show configuration | count
user@host>
show configuration | count
Count: 269 lines
user@host> show route | count
show route | count
Count: 67 lines