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
Who invented grep?
Who command in unix operating system?
Why is awk called awk?
Which command can you use to find the currently running process in unix server?
What is the use of cut command in unix?
Explain command to show the space allocation of files?
Which unix command lists files/folders in alphabetical order?
How do I run a bash script?
Enlist some filename manipulation commands in unix.
Write a command to display a file’s contents in various formats?
Enumerate some of the most commonly used network commands in unix?
What are the commands in UNIX to list the files in a Directory?
How do you repeat a command in terminal?
What happens when we execute a unix command?
What does awk stand for?