Created
May 30, 2012 07:08
-
-
Save lsauer/2834223 to your computer and use it in GitHub Desktop.
Linux Environment Variables / PATH variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //www.lsauer.com | |
| //sources: Gentoo Linux et al | |
| //Type: tab separated flatfile database | |
| //Get environment variables via 'env' or printenv; use 'env' to modify path parameters e.g. '$ env KDEDIRS=... xterm' | |
| //$ env | |
| //... | |
| Variable Description | |
| PATH This variable contains a colon-separated list of directories in which your system looks for executable files. If you enter a name of an executable (such as ls, rc-update or emerge) but this executable is not located in a listed directory, your system will not execute it (unless you enter the full path as command, such as /bin/ls). | |
| ROOTPATH This variable has the same function as PATH, but this one only lists the directories that should be checked when the root-user enters a command. | |
| LDPATH This variable contains a colon-separated list of directories in which the dynamical linker searches through to find a library. | |
| MANPATH This variable contains a colon-separated list of directories in which the man command searches for the man pages. | |
| INFODIR This variable contains a colon-separated list of directories in which the info command searches for the info pages. | |
| PAGER This variable contains the path to the program used to list the contents of files through (such as less or more). | |
| EDITOR This variable contains the path to the program used to change the contents of files with (such as nano or vi). | |
| KDEDIRS This variable contains a colon-separated list of directories which contain KDE-specific material. | |
| CONFIG_PROTECT This variable contains a space-delimited list of directories which should be protected by Portage during updates. | |
| CONFIG_PROTECT_MASK This variable contains a space-delimited list of directories which should not be protected by Portage during updates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment