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

Explain ‘library functions’ with respect to unix commands?

594


What is the functionality of a top command?

615


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

533


How to find $ai_serual resolved path by using unix

1018


What are the unix commands?

539






What is the use of the command 'ls -x chapter[1-5]' ?

653


What is the use of cut command in unix?

680


What is the pipe command?

567


What is the use of the tee command?

585


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

614


What does pipe () return?

583


Describe the usage and functionality of the command rm –r * in unix?

813


What are reported commands?

556


Explain command to view process running?

609


Enumerate some of the most commonly used network commands in unix?

610