Problem

When you use the vi editor and change environment settings at the : prompt, such as : se...

When you use the vi editor and change environment settings at the : prompt, such as : set number to enable line numbering, those changes are lost when you exit the vi editor. To continuously apply the same environment settings, you can choose to put the set commands in a special hidden file in their home directory called .exrc; this .exrc file is then applied each time you open the vi editor. Enter the vi editor and find three environment settings that you want to change in addition to line numbering. Then create a new file called .exrc in your home directory, and enter the four lines changing these vi environment settings (do not start each line with a : character, just enter the set command—for example, set number). When finished, open the vi editor to edit a new file, and test to see whether the settings were applied automatically.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search