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 is the command to find out the difference between files and folders?
Explain iostat, vmstat and netstat.
How do you list the files in an UNIX directory while also showing hidden files?
What is the different between UNIX command and UNIX shell script?
How do you find out all processes that are currently running in UNIX OS?
what does a process mean?
what is the use of ls -l command & what is the information it gives about user ?
How many unix commands are there?
What is a Unix signal, and how do you handle them?
what do you understand by 'building block primitive'?
How do I use grep to search for a file?
Which command is used to kill the last background job?