Linux and Unix Operating Systems Quiz
Test your knowledge of Linux and Unix operating systems, including commands, vi editor, and OS concepts.
Questions
Question 1 Multiple Choice (Single Answer)
esc + i
- To insert new text
- To quit the vi editor
- To delete word from cursor position
- To delete entire line where cursor is located
Question 2 Multiple Choice (Single Answer)
esc + : + w
- To quit the vi editor
- To save file
- To save file with file name (save as)
- To clear the screen
Question 3 Multiple Choice (Single Answer)
esc + : + q
- To quit without saving
- To save and quit vi editor
- To quit the vi editor
- To find the next occurance of the letter 'q'
Question 4 Multiple Choice (Single Answer)
esc + : + q!
- To save and quit vi editor
- To continue with search
- To copy the line where cursor is located
- To quit without saving
Question 5 Multiple Choice (Single Answer)
n
- To open a new file
- To insert new text
- To save and quit vi editor
- To continue with search
Question 6 Multiple Choice (Single Answer)
esc + ?word (Press 'escape' key, type ?word-to-find)
- To replace word with a space
- To continue with search
- To search for specified word in backward direction
- To search for specified word in forward direction
Question 7 Multiple Choice (Single Answer)
esc + /word (Press 'escape' key, type /word-to-find)
- To search for specified word in backward direction
- To search for specified word in forward direction
- To replace word with a space
- To continue searching
Question 8 Multiple Choice (Single Answer)
esc + yy
- To copy the line where cursor is located
- Search for the letter y
- Save and quit the editor
- Confirm quit without saving
Question 9 Multiple Choice (Single Answer)
esc + dw
- To delete all occurances of the letter w
- To delete word from cursor position
- To delete entire line where cursor is located
- To paste the text just deleted or copied at the cursor
Question 10 Multiple Choice (Single Answer)
Esc + :$s/mumbai/pune/g
- To put cursor at the end of the next occurance of either Mumbai or Pune
- To Find all occurrence of Mumbai and Replace with Pune with confirmation
- To Find all occurrence of Mumbai and Replace with Pune without confirmation
- 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?
- Windows
- Unix
- it's a system on it's own
- don't know
Question 12 Multiple Choice (Single Answer)
what is the command in unix to see a list of opened files?
- ls
- lfs
- lsof
- None
Question 13 Multiple Choice (Single Answer)
Command to wait for specified number of seconds before exit
- wait
- sleep
- pause
- None of the above
Question 14 Multiple Choice (Single Answer)
How do you get current CPU utilization, memory and disk space usage in linux
- du
- df
- top
- None of the above
Question 15 Multiple Choice (Single Answer)
What is GNU/Linux?
- The official name of the complete Linux OS according to Richard Stallman
- A combination of a free software kernel with Linux apps
- A fancy way of identifying new distros
- A distro of Linux meant for wildebeests
Question 16 Multiple Choice (Single Answer)
How to find free space in linux
- df -h
- du
- rm
- du -sh
Question 17 Multiple Choice (Single Answer)
The Linux kernel was invented by
- Linus Pauling
- Linus Torvalds
- Linus Thorwalds
- Linus Van Pelt
Question 18 Multiple Choice (Single Answer)
What animal represents Linux
- Bob the Mandrake
- Tux the Penguin
- George the Wombat
- Bill the evil bat of greed
Question 19 Multiple Choice (Single Answer)
Which of the following is not a Linux GUI?
- Xfree86
- KDE
- Motif
- Gnome