adspace


How can you count the number of characters and lines in a file?

Answer Posted / Namita Mishra

To count the number of characters in a file, use the wc -c command. To count the number of lines, use the wc -l command. The wc (word count) command provides the total number of characters, words, and lines in a file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you edit a large file without opening it in unix?

988