PDF Version Available

This document is also available in PDF format: envvar.pdf

The PDF version includes bookmarks for easy navigation and is optimized for printing.

Accessibility Notice

This document is also available in HTML format at:

https://aholdengouveia.name/IntroLinux/labs/envvar.html

The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.

Objectives:

Complete the following problems

References, a video, a PowerPoint and some notes are available at my website https://www.aholdengouveia.name/IntroLinux/envvar.html

Practice using https://vim-adventures.com/ or the VI Tutor that's built in to VI or https://www.openvim.com/

VI is a modal editor, and as such it doesn't work the same as other text editing program you might have used, please make sure you have gone through the learning module before attempting this lab if you've never used VI or VIM before.

Please include

  1. Using vi, create a file named Introduction that contains the following text (don’t worry about indenting just type the text or learn to paste in the terminal): enumerate[label=---,leftmargin=2em]
  2. vi (pronounce: ``vee eye'', not ``six'', not ``vye'') is an editor. An editor is a program to edit files. Goodbye.

Although other stories exist, the true one tells that vi was originally written by Bill Joy in 1976. Bill took the sources of ed and ex, two horrendous programs for Unix that try to enable a human being to edit files, and created Vi. A truly remarkable, and somewhat paradoxical, event. Read the interview with Bill Joy for a more accurate history of Vi.

People got attached to Vi, and eventually it got included in System V. From there on history has covered its traces and now Vi has evolved in many different versions for many, many platforms. The basic concept of Vi, however, has not changed over the years. enumerate

  1. Close and save the file.
  2. Re-open the file and add your name and the date at the top.
  3. Append to the bottom of the file the following text: enumerate[label=---,leftmargin=2em]

enumerate Be sure you know how to : edit files, insert text, delete text, locate text, save and exit

Deliverables

Two files, one should be a clearly labeled screenshot of your file open in VI, and the second file should be the actual file from the server.