Looking at Your ksh Configuration Files

As Code Listing 8.14 (on the next page) shows, you look at your ksh configuration files using more or the editor of your choice. Keep in mind that configuration files are run in a specific order:

  • System-wide configuration files (such as /etc/profile) run first upon log in.

  • Configuration files specific to your Unix account (such as ~/.profile) run next if they’re available.

To look at your ksh configuration files:

1.
more /etc/profile ~/.profile Type more followed by the names of traditional Korn shell configuration files. You’ll see something similar to Code Listing 8.14. As before, look for any other filenames or ENV statements in the listings that would indicate other files that play a role in getting ...

Get Unix Third Edition: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.