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 unix command line?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
can we use cat command as an editor ..???
In UNIX, what is the command to kill a process?
what is the difference between pipe(|) and tee command..
What is the functionality of a top command?
What difference between cmp and diff commands?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Which command will you use to change the permissions on file?
How to check the flavor of UNIX?
how to change a normal file into hidden file
what are the different hardwares available?