How do I run a bash script from a folder?

How do I run a bash script from a folder?
Answer
  1. Make a bin directory under your home directory and mv your executable scripts into it. …
  2. Move your executable scripts in bin direcoty. …
  3. Now add it to your path variable. …
  4. Check if that path is added in path variable. …
  5. Verify if script is running from any random directory.
1 февр. 2013 г.
 

Tìm kiếm

Back
Top