what does the command 'wc' do?

Answer Posted / amit

wc command generally used for count the no. of words(-w),
counts the no of lines(-l), count the no of character(-c)
example
wc -c<b
where b is the file. wc command check the character from
file b.similrly use the -l at the position of -c then it
counts the no of lines present in the file b.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘ps’ command for?

620


Is grep faster than awk?

569


What does touch command do in unix?

735


What does this command do? Cat food 1 > kitty

984


What is the nmap command?

588






What is {} in find command?

584


Which command is used to restrict incoming messages?

594


What is a bash command?

627


What are the differences among a system call, a library function, and a unix command?

571


What is merge command in unix?

946


How do you grep a case insensitive?

546


What are reported commands?

570


What does the md command do?

578


What is the command to view process running?

578


How do I use nslookup?

577