How do you run bash script as a command?
<p>I have a bash script, which I use for configuration of different parameters in text files in my wireless access media server.</p>

<p>The script is located in one directory, and because I do all of configurations using putty, I have to either use the full path of the file or move to the directory that contains the file. I would like to avoid this.</p>

<p>Is it possible to save the bash script in or edit the bash script so that I can run it as command, for example as <code>cp</code> or <code>ls</code> commands?</p>