What Is Export Path in Linux?
Contents Unix / Linux: Set Your Path Variable Using Set or Export Command. … the Path Is an Environment Variable. It Is a Colon Delimited List of Directories...
UNIX / Linux: Set your PATH Variable Using set or export Command. … The PATH is an environment variable. It is a colon delimited list of directories that your shell searches through when you enter a command. All executables are kept in different directories on the Linux and Unix like operating systems.
What does export PATH mean in Linux?
export PATH=”~/.composer/vendor/bin:$PATH” export shell built-in (meaning there is no /bin/export ,it’s a shell thing) command basically makes environment variables available to other programs called from bash ( see the linked question in Extra Reading ) and the subshells.
Must Read
How do I use export PATH?
Steps
- Change to your home directory. cd $HOME.
- Open the . bashrc file.
- Add the following line to the file. Replace the JDK directory with the name of your java installation directory. export PATH=/usr/java/<JDK Directory>/bin:$PATH.
- Save the file and exit. Use the source command to force Linux to reload the .