Use the following:
awk 'END { print NR }'
Awk will count the lines and print it out.
Running the ping command with -n "count" is the number of echo request to send.
find -type f | wc -l
Look at the "wc" command's man page, it will give you a count of all characters, including the newline character.
You don't need a shell script to do this; use the 'grep' command with the '-c' option to count the number of occurrences of some pattern.
tracert command
i am no math genius but all u do depending on the number is count
It's the highest one can count with numerals without repeating them.
To count from 1 to 100,000, you would start at 1 and incrementally add 1 to each subsequent number until you reach 100,000. This can be done sequentially, either verbally or in writing. Alternatively, you could use programming or a counting tool to automate the process for efficiency. Just ensure you keep track of each number as you progress through the count.
In Excel 2010, to count the number of cells with data, you can use the COUNTA function. For example, =COUNTA(A1:A10) counts all non-empty cells in the range A1 to A10. To count the number of empty cells, you can use the COUNTBLANK function, like this: =COUNTBLANK(A1:A10). This will give you the total number of cells without data in the specified range.
I suppose the easiest way to do that would be to use ls and pipe it to word count ls | wc -l the -l switch is for number of Lines for all files, including hidden files (ie .xfce4) use ls -a | wc -l hope i could help
tracert host.com
You would get the quotient first and count the digits.