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

Popular posts from this blog

Pentaho ETL

Copy files from one computer to other using ‘scp’ command