adplus-dvertising
frame-decoration

Question

Which option is used by the sort command to redirect the output to a specified file?

a.

-n

b.

-t

c.

-o

d.

-u

Posted under UNIX

Answer: (c).-o

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.

Q. Which option is used with sort command to sort multiple files collectively?

Q. Which option is used for selecting repeated entries?

Q. ______ option is used for counting frequency of occurrence.

Q. The output of the following command will be:

$ uniq foo1 foo2

Q. Which command is used for translating characters?

Q. To replace | with ~, which one of the following commands will be used?

Q. head -n 3 emp.lst | tr ‘[a-z]’ ‘[A-Z]’

Above command will change the case of text from lower to upper.

Q. Which option is used with tr command for deleting characters?

Q. ______ option is used for compressing multiple consecutive characters.

Q. If there are special characters in a pattern, then we’ve to enclose them in ______

Q. Which option is used with grep command for ignoring the case in pattern searching?

Q. Which option is used with grep command for deleting lines?

Q. Which option is used for displaying the line numbers containing the pattern along with lines?

Q. ______ option counts the number of lines containing the pattern?

Q. Which option displays only the filename containing the pattern?

Q. _____ option is used when we need to match multiple patterns in a single invocation of grep command?

Q. For taking patterns from a file, -f option is specified with grep command.

Q. POSIX identifies regular expressions as belonging to ____ categories.

Q. grep command supports both extended and regular expressions.