0

operating systems Online Quiz - 25

Description: operating systems Online Quiz - 25
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

Display only directories from a particular location/folder

  1. ls -d

  2. ls -l | grep "$d"

  3. ls -l | grep "^d"

  4. ls -ltr | grep -d


Correct Option: C
  1. tee

  2. > (Redirection operator)

  3. Redirection operator (>) and Standard Ouput ($1)

  4. All


Correct Option: A

Command used to get the top 5 file / directory occupying more space.

  1. du | sort -r | head -5

  2. du | sort -nr | head -5

  3. du | sort -n | head -5

  4. du


Correct Option: B

Output of "echo $$"

  1. $$

  2. $

  3. Process ID of the current session.

  4. Process ID of the parent session


Correct Option: C

Command used to check the usage of the various file systems mounted

  1. df

  2. du

  3. 1 and 2

  4. None


Correct Option: A
  1. ps -ef | grep argon

  2. ps -ef | grep "argon"

  3. 1 and 2

  4. None


Correct Option: C
  1. ps

  2. kill PID

  3. kill ps

  4. kill -9 "PID"


Correct Option: D

How to find all the only hidden file in the dir?

  1. ls

  2. ls -s

  3. ls -a

  4. ls -a .*


Correct Option: C

With Suitable Applications Installed, PCs Can Process graphics as well as text.

  1. True

  2. False


Correct Option: A
- Hide questions