Using your vi(m) editor, answer the following questions and email it to your instructor. Note that I am not looking for perfect answers. This activity if to practice vi(m).
Good practice site http://vimgenius.com/
On the top of all your documents, always include these items:
your name:
date:
Answers for week 3
Answer1:
Commands can include three parts: a command, some optional, and some arguments.
The arguments with [brackets] around them are named "optional arguments".
The arguments without those brackets are "mandatory arguments".
Example:
consider command
ls -a
here 'ls' is the command
'-a' is the optional parameter
3.An argument is a variable/parameter supplied by the user.
Example:
consider command
cat alpha.txt
here 'cat' is the command
'alpha.txt' is the argument passed by the user
Answer 2:
Multiple UNIX commands be typed on the same single command line
By creating including the commands in the same line/file.
Answer 3:
The main benefits of Vim are:
- Your hands never leave the keyboard, saving you context-switching time.
- Powerful commands allow you to manipulate text with a minimal amount of keystrokes.
- All UNIX servers have vi installed, so you can edit files directly on most servers.
- It's fun to use.
Answer 4:
MULTICS was the immediate predecessor and it was developed by Bell Laboratories.
Unix was developed by Bell Labs, Ken Thompson, Dennis Ritchie and others at Bell Laboratories
Answer 5:
In VIM there are two ways to move the cursor. we can either use the arrow keys (like you would in any other editor), or we can use:
Using your vi(m) editor, answer the following questions and email it to your instructor. Note that...
UNIX help!!!! I need what the text would look like in the vi editor. also note this question has been posted before and the answers were all wrong!! Write a shell script (bash or sh) that prints out the following lines/information: Only your name may be hard coded, the rest must be obtained programmatically within the shell script. Name: "Your name" Hostname: "The computer's hostname" Host IP: "The computer's IP number" Default Gateway: "The computer's default gateway" OS Version: "Whatever...
You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...