November 1998
Beginner
368 pages
7h 58m
English
Way back in Chapter 8, we talked about setting up your environment variables by customizing the configuration files that run upon login. You can further customize your environment variables by requiring input whenever a startup script runs. For example, you can set your configuration files (which are actually scripts) so that they request that you specify the default editor for the session (Code Listing 16.3).
[ejr@hobbes ejr]$ su - ejr Password: Which editor do you want as the default? (vi or pico) vi You chose vi! [ejr@hobbes ejr]$ |
To use input to customize your environment:
1. | vi .bash_profile |
Read now
Unlock full access