Linux and Unix Operating Systems Quiz

Test your knowledge of Linux and Unix operating systems, including commands, vi editor, and OS concepts.

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

esc + i

  1. To insert new text
  2. To quit the vi editor
  3. To delete word from cursor position
  4. To delete entire line where cursor is located
Question 2 Multiple Choice (Single Answer)

esc + : + w

  1. To quit the vi editor
  2. To save file
  3. To save file with file name (save as)
  4. To clear the screen
Question 3 Multiple Choice (Single Answer)

esc + : + q

  1. To quit without saving
  2. To save and quit vi editor
  3. To quit the vi editor
  4. To find the next occurance of the letter 'q'
Question 4 Multiple Choice (Single Answer)

esc + : + q!

  1. To save and quit vi editor
  2. To continue with search
  3. To copy the line where cursor is located
  4. To quit without saving
Question 5 Multiple Choice (Single Answer)

n

  1. To open a new file
  2. To insert new text
  3. To save and quit vi editor
  4. To continue with search
Question 6 Multiple Choice (Single Answer)

esc + ?word (Press 'escape' key, type ?word-to-find)

  1. To replace word with a space
  2. To continue with search
  3. To search for specified word in backward direction
  4. To search for specified word in forward direction
Question 7 Multiple Choice (Single Answer)

esc + /word (Press 'escape' key, type /word-to-find)

  1. To search for specified word in backward direction
  2. To search for specified word in forward direction
  3. To replace word with a space
  4. To continue searching
Question 8 Multiple Choice (Single Answer)

esc + yy

  1. To copy the line where cursor is located
  2. Search for the letter y
  3. Save and quit the editor
  4. Confirm quit without saving
Question 9 Multiple Choice (Single Answer)

esc + dw

  1. To delete all occurances of the letter w
  2. To delete word from cursor position
  3. To delete entire line where cursor is located
  4. To paste the text just deleted or copied at the cursor
Question 10 Multiple Choice (Single Answer)

Esc + :$s/mumbai/pune/g

  1. To put cursor at the end of the next occurance of either Mumbai or Pune
  2. To Find all occurrence of Mumbai and Replace with Pune with confirmation
  3. To Find all occurrence of Mumbai and Replace with Pune without confirmation
  4. To put cursor at the beginning of the next occurance of either Mumbai or Pune
Question 11 Multiple Choice (Single Answer)

To which operating system is GNU/Linux compatible?

  1. Windows
  2. Unix
  3. it's a system on it's own
  4. don't know
Question 12 Multiple Choice (Single Answer)

what is the command in unix to see a list of opened files?

  1. ls
  2. lfs
  3. lsof
  4. None
Question 13 Multiple Choice (Single Answer)

Command to wait for specified number of seconds before exit

  1. wait
  2. sleep
  3. pause
  4. None of the above
Question 14 Multiple Choice (Single Answer)

How do you get current CPU utilization, memory and disk space usage in linux

  1. du
  2. df
  3. top
  4. None of the above
Question 15 Multiple Choice (Single Answer)

What is GNU/Linux?

  1. The official name of the complete Linux OS according to Richard Stallman
  2. A combination of a free software kernel with Linux apps
  3. A fancy way of identifying new distros
  4. A distro of Linux meant for wildebeests
Question 16 Multiple Choice (Single Answer)

How to find free space in linux

  1. df -h
  2. du
  3. rm
  4. du -sh
Question 17 Multiple Choice (Single Answer)

The Linux kernel was invented by

  1. Linus Pauling
  2. Linus Torvalds
  3. Linus Thorwalds
  4. Linus Van Pelt
Question 18 Multiple Choice (Single Answer)

What animal represents Linux

  1. Bob the Mandrake
  2. Tux the Penguin
  3. George the Wombat
  4. Bill the evil bat of greed
Question 19 Multiple Choice (Single Answer)

Which of the following is not a Linux GUI?

  1. Xfree86
  2. KDE
  3. Motif
  4. Gnome