Last active
December 6, 2020 20:55
-
-
Save gbarreiro/40aecf8c8eca8df479ffdde0fcc8f07a to your computer and use it in GitHub Desktop.
Bash cheatsheet: path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=$PATH:/home/john/myprogram # add the directory /home/john/myprogram to the path | |
which nano # shows where is the executable of "nano" located | |
whereis nano # shows where are the executable, manuals, source code, etc. of "nano" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment