How do I run a .bashrc file?

Ivanesn

New member
How do I run a .bashrc file?
Answer
To Set PATH on Linux
  • 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.
  • Save the file and exit. Use the source command to force Linux to reload the .bashrc file which normally is read only when you log in each time.
 

Tìm kiếm

Back
Top