what does the command 'wc' do?

Answer Posted / samrat biswal

wc -l <file_name> will display the number of lines present
in that file or the record count
wc -w <file_name> will display the number of words present
in that file
wc -c <file_name> will display the number of character
present in that file

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are reported commands?

570


What does sed command do in unix?

568


How do I search for a file in unix command?

552


What does the metacharacter mean?

614


Name the various commands that are used for the user information in unix.

543






What is the use of finger command?

603


Which unix command to make a new directory?

594


What are filter commands in unix?

555


What do chmod command do?

606


What is nr in awk command?

611


What does pipe () return?

600


What is grep command in unix with examples?

614


How does the system know where one command ends and another begins?

1582


What is the size of time_t?

657


What does touch command do in unix?

735