This way after executing it all the commands inside /usr/local/mysql/bin are available to us. So export a variable PATH with value old $PATH concat with new bin i.e. If you break it down, export is self explanatory. We do it by following command, export PATH=$PATH:/usr/local/mysql/bin Turns out MySql doesn't do it upon install so we manually have to do it. Now usually programs upon installation takes care of updating PATH & telling your terminal that hey i can be all commands inside my bin folder. This different folder locations are stored inside one Global variable i.e. bin folder has lots of executable files inside it. This are usually binaries look how /bin folder is usually referenced. Think of it as a global variable where terminal iterates over to look up for any command. This places are stored in your $PATH variable. So there are few places where terminal looks for commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |