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

Command which can be used to copy the contents to file and also display on screen

  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

Display only files with ".zip" extension from the current directory

  1. ls -ltr *.zip

  2. ls -ltr | grep "zip$"

  3. 1 and 2

  4. None


Correct Option: C

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

Command used to verify the status of the Argon agent

  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

What is the default value of umask?

  1. 022

  2. 032

  3. 644

  4. 000


Correct Option: A

What is the command to see the number of fork in Linux system ?

  1. cat /proc/meminfo

  2. vmstat

  3. vmstat -f

  4. ls


Correct Option: C

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

How to find Kernel IP routing table ?

  1. ifconfig

  2. netstat -r

  3. ping

  4. none


Correct Option: B

How to get the info of only active internet connections in the Unix system ?

  1. netstat

  2. netstat -s

  3. netstat -t

  4. all the above


Correct Option: C

What is the default value of nice ?

  1. 3

  2. 1

  3. 11

  4. 0


Correct Option: D

Ram Can Hold The Data And Programs Which In Currently Use, It Is UN Volatile Memory.

  1. True

  2. False


Correct Option: B

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

  1. True

  2. False


Correct Option: A

Peripherals Devices Are Part Of Hardware?

  1. True

  2. False


Correct Option: A

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