Looking at your ksh configuration files

As Code Listing 8.9 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:

  1. System-wide configuration files (such as /etc/profile) run first upon login.

  2. Configuration files specific to your UNIX account (such as ~/.profile and ~/.kshrc) run next if they're available.

To look at your ksh configuration files:

1.
more /etc/profile ~/.profile
→ ~/.kshrc /etc/ksh.kshrc
Type more followed by the names of traditional Korn shell configuration files. You'll see something similar to Code Listing 8.9. As before, look for any other file names or ENV statements in the listings, which would indicate other files that play ...

Get Unix: 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.