Question
a.
–l
b.
–w
c.
–c
d.
–w
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which option is used for counting the number of lines in a file only ?
Similar Questions
Discover Related MCQs
Q. Which option is used for counting the number of words in a file only?
View solution
Q. Which option is used for counting the number of characters in a file only.
View solution
Q. wc command can also work on a data stream.
View solution
Q. What does the following command do?
$ wc sample.txt > newfile
View solution
Q. Which command is used for printing a file?
View solution
Q. Which option is used with lp command if there are more than one printers in the system?
View solution
Q. Which option is used for printing multiple copies of a file using lp command?
View solution
Q. –t option prints the title on the first page.
View solution
Q. What does the following command do?
cancel prl-320
View solution
Q. Which one of the following extension is provided by gzip to the compressed filename?
View solution
Q. Which option is used with gzip command to check compression ratio for files?
View solution
Q. We can provide original filenames without .gz extension while checking compression ratio using gzip – l?
View solution
Q. Which option is used with gzip command for recursive compression?
View solution
Q. Which of the following is used for decompressing files?
View solution
Q. We cannot uncompress files using gzip.
View solution
Q. We can provide multiple filenames as arguments to gunzip.
View solution
Q. Which of the following is a better agent than gzip?
View solution
Q. Which of the following is an archival program?
View solution
Q. To create an archive named abc.tar consisting of two files, file01 and file02, which of the following command will be used?
View solution
Q. Which command will be used for extracting files from an archive named abc.tar?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!