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

Command used to display the contents of the file in reverse order.

  1. tac

  2. cat

  3. tail -f

  4. head


Correct Option: A

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

Which command would generate the ouput "Today is " eg: If today was 25th oct then the output would be "Today is 101025"

  1. echo "Today is date +%y%m%d"

  2. 1 and 2

  3. echo Today is date +%y%m%d

  4. None


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

  2. ps -ef | grep "argon"

  3. 1 and 2

  4. None


Correct Option: C

How kill the process in a single line?

  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

Which of The Following Can Convert The Computer Signals From Digital To Analog?

  1. ISDN

  2. Modem

  3. DSL

  4. HDSL


Correct Option: B
- Hide questions