How do I specify the global path variable to be set in a specific order?

Updated -

The path is an environment variable which the shell will automatically attempt to match a file when an absolute location is not specified. In some circumstances, the system user may wish to set the order in which the shell searches for these files, especially if multiple versions of an package are installed.

In order to do this, edit the /etc/profile file and look for the s...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content