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 the pipe command?

821


What does the command ' $who | sort –logfile > newfile' do?

1037


What does the metacharacter mean?

809


What does sed command do in unix?

796


What are file commands?

865


What is awk good for?

796


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

792


What is awk used for?

834


What is in grep command?

860


What is awk command used for?

790


Can you enlist some commonly used network commands?

806


Which command will print your home directory on screen?

792


what is the advaantage of each user having its own copy of the shell?

2300


What is the use of finger command?

842


Using unix command how to display no of records in oracle?

841