Unix/Linux Commands and Internet Technologies

Test your knowledge of Unix/Linux command line tools including vi editor, and basic internet concepts.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

According to Tim O'Reilly, the Web 2.0 philosophy

  1. Makes the Internet really boring
  2. Democratizes the Web
  3. One master computer that connects to all of our homes
  4. Using a browser
Question 2 Multiple Choice (Single Answer)

What's one way you can use the Internet without using HTTP?

  1. Using a browser
  2. Ethernet
  3. Using a telephone
  4. Makes the Internet really boring
Question 3 Multiple Choice (Multiple Answers)

vi editor is used for ?

  1. Creating a file
  2. Deleting a file
  3. Modifying a file
  4. View a file
Question 4 Multiple Choice (Multiple Answers)

Command to delete a line inside vi editor

  1. d
  2. D
  3. dd
  4. 1dd
Question 5 Multiple Choice (Multiple Answers)

command to insert a new empty line before the current line inside vi ?

  1. o
  2. O
  3. enter
  4. a
Question 6 Multiple Choice (Multiple Answers)

How many names buffers we have in vi

  1. 10
  2. 20
  3. 26
  4. 31
Question 7 True/False

We can open multiple files with vi at same time and we can not traverse betwwen the files we opened ?

  1. True
  2. False
Question 8 Multiple Choice (Multiple Answers)

Command to replace a word with another word?

  1. :s/<old_word>/<new_word>/
  2. :%s/<old_word>/<new_word>/
  3. :%s/<old_word>/<new_word>/g
  4. :s/<old_word>/<new_word>/g
Question 9 Multiple Choice (Multiple Answers)

How to display each line number in vi?

  1. :se nu
  2. :se
  3. :show number
  4. :set number
Question 10 Multiple Choice (Multiple Answers)

How to serach a sting inside vi editor?

  1. /search_string
  2. %search_string
  3. _search_strin
  4. None
Question 11 True/False

forward and rewind are the keywords of vi?

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

How to copy 10 lines in vi?

  1. 10cp
  2. 10dd
  3. 10yy
  4. yy
Question 13 Multiple Choice (Multiple Answers)

Modes of vi?

  1. Input Mode
  2. Command Mode
  3. Execute Mode
  4. Search Mode
Question 14 Multiple Choice (Multiple Answers)

Option to save and exit from a file ?

  1. :w
  2. :q
  3. :x
  4. :q!
Question 15 Multiple Choice (Multiple Answers)

How will you use save as option inn Vi ?

  1. :w
  2. :wq new_file
  3. :w new_file
  4. :q new_file
Question 16 True/False

Using Vi we can execute unix scripts ?

  1. True
  2. False
Question 17 True/False

next and rewind are vi keywords ?

  1. True
  2. False
Question 18 Multiple Choice (Single Answer)

How do you get help about the command "cp"?

  1. help cp
  2. man cp
  3. cp ?
  4. query cp
Question 19 Multiple Choice (Single Answer)

How do you list all the files that are in the current directory?

  1. list all
  2. ls -a
  3. ls -full
  4. list -lrt
Question 20 Multiple Choice (Single Answer)

What is the command to search all files in your current directory for the word "plasmodium"?

  1. grep plasmodium *
  2. find plasmodium -all
  3. lookup plasmodium *
  4. search plasmodium *