Contents
How do I add a path in Linux?
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 .
How do I add a file to path?
Under “Field names,” select “FileName.” In the “Field properties” section, select a format. In the “Field options” section, check “Add path to filename.” The file name will now appear in the header or footer.