How do I change path in Linux?

How do I change path in Linux?
Answer
To make the change permanent,
enter the command PATH=$PATH:/opt/bin into your home directory’s .bashrc file. When you do this, you’re creating a new PATH variable by appending a directory to the current PATH variable, $PATH .
 

Tìm kiếm

Back
Top