adplus-dvertising
frame-decoration

Question

Which one of the following commands is incorrect?

a.

$ cut -d “|” -f 1,4 emp.lst

b.

$ cut -c -3 emp.lst

c.

$ tail -c -511 foo

d.

$ tail -c 500 foo

Posted under UNIX

Answer: (d).$ tail -c 500 foo

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following commands is incorrect?

Similar Questions

Discover Related MCQs

Q. Which command is used for pasting files?

Q. Whatever we have cut using cut command can be pasted back using paste command but vertically.

Q. By default, sort command reorders lines in ASCII collating sequence.

Q. Sort command uses ____ as default field delimiter.

Q. Which option is used with sort command to specify the field delimiter?

Q. Which option is used for sorting a file according to primary key?

Q. The sort order can be reversed using ___ option.

Q. We can perform sorting on secondary key also using sort command.

Q. We cannot perform sorting on columns using sort command.

Q. Which option is used when we’ve to sort files containing only numbers?

Q. _____ option is used with sort command for removing repeated lines.

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

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.