< A Quick Introduction to Unix

To get all the system environment Variables: printenv.

To get one by its name: echo $PATH.

To modify it: export $PATH="/usr/local/sbin:/usr/local/bin".

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.