Managing PATH environment variable

suggest change

Syntax

Parameters

Parameter Details
PATH Path environment variable

Remarks

Bash configuration file:

This file is sourced whenever a new interactive Bash shell is started.

On GNU/Linux it is generally ~/.bashrc. On macOS it is ~/.bash_profile or ~/.profile.

Export:

The PATH variable must be exported once (it is exported by default). Once it is exported it stays exported, and any changes made to it are applied immediately.

Apply changes:

To apply changes to a Bash configuration file, you must reload that file in a terminal (source /path/to/bash_config_file)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents