Run script from anywhere in linux terminal
When we have a custom script in a particular directory, we navigate to that directory to run the script.
We can place those scripts under
/usr/local/bin
which is a suitable for widely used commands not provided by the system.
System commands/scripts on the other hand have specific directories like
- /usr/bin
- /bin
etc..
Comments
Post a Comment