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 |
How can you copy files or directories?
What is the behavioural difference between cmp and diff commands?
can we use cat command as an editor ..???
What is "type" command in unix?what is the functionality??
What does sed command do in unix?
which command is used to change group?
What is the command to find hidden files in the current directory?
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.
What is the use of egrep command in unix?
What is rmdir command?
Which command can you use to find the currently running process in unix server?
What do chgrp command do?