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 comma to display different lines that are found when compare two files?
What is the difference between awk and grep?
Explain command to display different lines that are found when compare two files?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the general format of unix command syntax?
How do I run a whois command?
What are grep patterns?
Name the general commands in using unix os for a beginner?
What is used to type command?
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 command is used to check the current users?
How do I run a bash script?
What are some command words?
What is updatedb?
Explain ‘library functions’ with respect to unix commands?