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 |
Which command can you use to find the currently running process in unix server?
How to setup sudo, only can use for particular date & time only ( for solaris10 )
How can we "forked" process in UNIX? How then recognize in any of the branches we?
what are processor execution levels and priorities?
what is the function of grep command?
What does the command ' $who | sort –logfile > newfile' do?
Name the general commands in using unix os for a beginner?
How to setup Disk space as well as memory in solaris10?
How to rename files and folders?
What is .sh file?
what is the difference between KILL and KILL -9?
5 Answers Informatica, Nutanix,
What is merge command in unix?