Basic Unix Quiz

Description: Basic Unix Quiz
Number of Questions: 5
Created by:
Tags: unix
Attempted 0/5 Correct 0 Score 0

Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

  1. chmod -R a+x progs

  2. chmod -R 222 progs

  3. chmod -1 a+x progs

  4. None of the above


Correct Option: A

Which option will be used with touch command to change the access time?

  1. -a

  2. -b

  3. -t

  4. none of the above


Correct Option: A

The cp command uses:

  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

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

    • n.m+1
  3. None of the above


Correct Option: B

Which of the following commands is used to identify the type of file by context?

  1. ls

  2. cat

  3. file

  4. more


Correct Option: C
- Hide questions