Tag: unix

Questions Related to unix

  1. group has read permission only

  2. other has read permission only

  3. owner has read permission only

  4. group has write permission only


Correct Option: A
  1. shutdown

  2. haltsys

  3. cancel

  4. kill


Correct Option: D

Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?

  1. -m.n

  2. m.n

  3. n.m 1

  4. (m l).n


Correct Option: B

AI Explanation

To start sorting after the nth column of the (m+l)th field, the option to be used with the sort command is m.n.

Option A) -m.n - This option is incorrect because the - symbol is used to reverse the sorting order, not to specify the starting column.

Option B) m.n - This option is correct because it specifies that the sorting should start after the nth column of the (m+l)th field.

Option C) n.m 1 - This option is incorrect because the order of the values is reversed. The correct format is m.n.

Option D) (m l).n - This option is incorrect because it uses parentheses, which are not required in the syntax of the sort command.

Therefore, the correct answer is option B) m.n. This option is correct because it specifies the correct syntax to start sorting after the nth column of the (m+l)th field.

  1. standard input file

  2. standard output file

  3. both input and output file

  4. neither standard input nor standard output file


Correct Option: D