what does the command 'wc' do?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / payal
wc command counts the number of lines,words and characters
present in a file.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / 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 |
Answer / abdessa
wc command counts the number of lines,words and characters
present in a file
| Is This Answer Correct ? | 1 Yes | 0 No |
What are awk commands?
What is unix command?
How do you create a directory in UNIX?
Explain ‘system calls’ with respect to unix commands?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
how to unzip the contents of the gzip file
How do I use nslookup?
what is mount ,tell me about mount ,how can u use in real time project??
What Command is used to make a directory?
How we will execute previous command in vi editor?
How do I delete files from command prompt?
Give Command that will change the name of a directly from paypal to eBay