Answer Posted / 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 |
Post New Answer View All Answers
What is the use of awk command in unix?
What is merge command in unix?
How do I clear my terminal history?
How do I run a whois command?
What happens when we execute a unix command?
Why is it called grep?
How can you see the command line history?
What is {} in find command?
Explain command to show the space allocation of files?
How to find $ai_serual resolved path by using unix
Who wrote grep?
Which command should you use to find the remaining disk space in unix server?
How do you grep recursively?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What does #!/ Bin sh do?