How can I make a program executable from everywhere Linux?

How can I make a program executable from everywhere Linux?
Answer
If you want to be able to execute it from everywhere as long as your session remains open, then type export PATH=$PATH:~/Downloads and push enter. This will change the path for your current session, but when you open a new window or close the current one you’ll be back to your default path.
 

Tìm kiếm

Back
Top