Unix/Linux Commands and Internet Technologies
Test your knowledge of Unix/Linux command line tools including vi editor, and basic internet concepts.
Questions
According to Tim O'Reilly, the Web 2.0 philosophy
- Makes the Internet really boring
- Democratizes the Web
- One master computer that connects to all of our homes
- Using a browser
What's one way you can use the Internet without using HTTP?
- Using a browser
- Ethernet
- Using a telephone
- Makes the Internet really boring
vi editor is used for ?
- Creating a file
- Deleting a file
- Modifying a file
- View a file
Command to delete a line inside vi editor
- d
- D
- dd
- 1dd
command to insert a new empty line before the current line inside vi ?
- o
- O
- enter
- a
How many names buffers we have in vi
- 10
- 20
- 26
- 31
We can open multiple files with vi at same time and we can not traverse betwwen the files we opened ?
- True
- False
Command to replace a word with another word?
- :s/<old_word>/<new_word>/
- :%s/<old_word>/<new_word>/
- :%s/<old_word>/<new_word>/g
- :s/<old_word>/<new_word>/g
How to display each line number in vi?
- :se nu
- :se
- :show number
- :set number
How to serach a sting inside vi editor?
- /search_string
- %search_string
- _search_strin
- None
forward and rewind are the keywords of vi?
- True
- False
How to copy 10 lines in vi?
- 10cp
- 10dd
- 10yy
- yy
Modes of vi?
- Input Mode
- Command Mode
- Execute Mode
- Search Mode
Option to save and exit from a file ?
- :w
- :q
- :x
- :q!
How will you use save as option inn Vi ?
- :w
- :wq new_file
- :w new_file
- :q new_file
Using Vi we can execute unix scripts ?
- True
- False
next and rewind are vi keywords ?
- True
- False
How do you get help about the command "cp"?
- help cp
- man cp
- cp ?
- query cp
How do you list all the files that are in the current directory?
- list all
- ls -a
- ls -full
- list -lrt
What is the command to search all files in your current directory for the word "plasmodium"?
- grep plasmodium *
- find plasmodium -all
- lookup plasmodium *
- search plasmodium *