Question
a.
-n
b.
-t
c.
-o
d.
-u
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 by the sort command to redirect the output to a specified file?
Similar Questions
Discover Related MCQs
Q. To check whether the file has actually been stored in the default order, we can use ____ option.
View solution
Q. Which option is used with sort command to sort multiple files collectively?
View solution
Q. Which option is used for selecting repeated entries?
View solution
Q. ______ option is used for counting frequency of occurrence.
View solution
Q. The output of the following command will be:
$ uniq foo1 foo2
View solution
Q. Which command is used for translating characters?
View solution
Q. To replace | with ~, which one of the following commands will be used?
View solution
Q. head -n 3 emp.lst | tr ‘[a-z]’ ‘[A-Z]’
Above command will change the case of text from lower to upper.
View solution
Q. Which option is used with tr command for deleting characters?
View solution
Q. ______ option is used for compressing multiple consecutive characters.
View solution
Q. If there are special characters in a pattern, then we’ve to enclose them in ______
View solution
Q. Which option is used with grep command for ignoring the case in pattern searching?
View solution
Q. Which option is used with grep command for deleting lines?
View solution
Q. Which option is used for displaying the line numbers containing the pattern along with lines?
View solution
Q. ______ option counts the number of lines containing the pattern?
View solution
Q. Which option displays only the filename containing the pattern?
View solution
Q. _____ option is used when we need to match multiple patterns in a single invocation of grep command?
View solution
Q. For taking patterns from a file, -f option is specified with grep command.
View solution
Q. POSIX identifies regular expressions as belonging to ____ categories.
View solution
Q. grep command supports both extended and regular expressions.
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!