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
Which unix command to make a new directory?
Is command prompt unix?
What is time_t?
What is difference between grep and find command in unix?
What do chmod command do?
What does 'mkdir' command do in UNIX?
What is the use of the tee command?
What are file commands?
How do you grep recursively?
What are the differences among a system call, a library function, and a unix command?
What do chgrp command do?
What are filter commands in unix?
How do you repeat a command in terminal?
What is command substitution?
Enlist some filename manipulation commands in unix.