Modify PATH
The PATH is the path used to search for executables in Bash.
Usage
pathConfigure [ --help ] [ --first ] [ --last ] [ path ]
Modify the PATH environment variable to add a path.
Arguments
--help- Flag. Optional. Display this help.--first- Flag. Optional. Place any paths after this flag first in the list--last- Flag. Optional. Place any paths after this flag last in the list. Default.path- the path to be added to thePATHenvironment
Return codes
0- Success1- Environment error2- Argument error
Usage
pathRemove [ --help ] [ path ]
Remove a path from the PATH environment variable
Arguments
--help- Flag. Optional. Display this help.path- Requires. String. The path to be removed from thePATHenvironment.
Return codes
0- Success1- Environment error2- Argument error
Usage
pathCleanDuplicates [ --help ]
Cleans the path and removes non-directory entries and duplicates Maintains ordering.
Arguments
--help- Flag. Optional. Display this help.
Return codes
0- Success1- Environment error2- Argument error
Environment
- PATH - DirectoryList. A colon
:separated list of paths to search for executables inbash. SeepathConfigure
Usage
pathShow [ --help ] [ binary ]
Show the path and where binaries are found
Arguments
--help- Flag. Optional. Display this help.binary- Executable. Optional. Display where this executable appears in the path.
Return codes
0- Success1- Environment error2- Argument error