what does the command 'wc' do?

Answers were Sorted based on User's Feedback



what does the command 'wc' do?..

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

what does the command 'wc' do?..

Answer / payal

wc command counts the number of lines,words and characters
present in a file.

Is This Answer Correct ?    9 Yes 0 No

what does the command 'wc' do?..

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

what does the command 'wc' do?..

Answer / abdessa

wc command counts the number of lines,words and characters
present in a file

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is the protocol for PING command?

1 Answers   IBM,


what is telnet?

6 Answers  


How does one process we can start an executable file? How to get the PID process, which we started?

6 Answers  


what is the use of wild cards?

2 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


What is the command to find maximum memory taking process on the server?

0 Answers  


What is mtime in find command?

1 Answers  


What does sed command do in unix?

0 Answers  


How to display no of records in oracle using unix command?

0 Answers  


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


How to create hardlinks and softlinks on files?

2 Answers  


what is mount ,tell me about mount ,how can u use in real time project??

12 Answers   Symphony,


Categories