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 the tee command?
How do I use grep to search for a file?
What does the command '$ls | wc –l > file1' do?
Enlist some filename manipulation commands in unix.
How do I search for text in vi?
Explain command to view process running?
Write a command to kill the last background job?
Differentiate cat command from more command.
Who invented grep?
How can you see the command line history?
What is rmdir command?
What is s and g in sed command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How does the system know where one command ends and another begins?
What's a command word?