answersLogoWhite

0

Use the following:

awk 'END { print NR }'

Awk will count the lines and print it out.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What will the -n switch do when used with the Ping command?

Running the ping command with -n "count" is the number of echo request to send.


What is the Unix command to count the number of files in current directory?

find -type f | wc -l


To count the number of characters in the given text file in unix?

Look at the "wc" command's man page, it will give you a count of all characters, including the newline character.


Write a shell script to count the number of times is appears in a given text file?

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.


Which command can you give you the hop count from your computer to another?

tracert command


How do you find out what number is greater without comparison?

i am no math genius but all u do depending on the number is count


What does base number mean?

It's the highest one can count with numerals without repeating them.


How do you count 1 to 100000?

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.


Which command can you give to hop count from your computer to another?

tracert host.com


How do you count how many files are in a folder in Linux machine?

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


How can you figure out the number of digits a quotient has without completing a division problem?

You would get the quotient first and count the digits.


What is the highest number we can count to?

There is no such number. If we could count to any particular number, then we can always count to the next one. And then the next. And so on.