title: How to run a .sh-script from any path in a terminal?
body: <p>I know how to run the script I created. But it is a matter of pain that I need to change directory through terminal and run my scripts.
  I need to run the <code>slowloris</code> script, that has into Desktop, now change directory to Desktop and run.</p>
  
  <p>Then I have another in root; now change the directory to root and run that.</p>
  
  <p>My question is:
  <strong>How can I run any shell-script by just typing <code>./script</code> from any path</strong> like we start Metasploit from any path by giving <code>msfconsole</code> from any path.</p>