Basic Unix Quiz - 4

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

Which of the following commands is used to obtain a list of all files by modification time?

  1. ls -1

  2. ls -t

  3. ls -i

  4. ls -R


Correct Option: B

The % key allows you

  1. to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.

  2. to move the cursor to the upperleft corner of the screen

  3. to move the cursor backward to the beginning of a word

  4. to move the cursor to the first column in the current line


Correct Option: A

Which command is used to display the characteristics of a process?

  1. pid

  2. du

  3. ps

  4. au


Correct Option: C

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

The filed separator in cut command is specified with

  1. -a option

  2. -d option

  3. -r option

  4. -x option


Correct Option: B

Which of the following options will be used to display number of blocks used by a file?

  1. -c

  2. -i

  3. -d

  4. -s


Correct Option: C
  1. chmod -R a x progs

  2. chmod -R 222 progs

  3. chmod -1 a x progs

  4. chmod -x a x progs


Correct Option: A
- Hide questions