My biggest question about scripts is where do you put them?
Generally you want to put scripts, in your PATH. To find out what your PATH is set to in linux, open a konsole, and run the command 'echo $PATH' with out the quotes. This is what my system looks like, just as an example.
So If I created or copied a script I wanted to run, from the above a good place would be /usr/bin or /usr/local/bin.
The reason this will work, is because the PATH system variable is where the
system looks for executables, or commands when you type something in.
If you have a lot of your own scipts, I would suggest addign a directory, and then updating your PATH variable. In this way you keep scripts together
and separate from other binary files, just so you stay organized, and you,
the system admin knows where things are.
Sometimes the documentation on Linux might say, just run this perl script, or insert my script, how is this done?
Perl scripts require Perl libs installed. Perl scripts are source, like commands that get fed through ( I think a perl interpreter ) and executed.
To run them, with the correct perl libs installed, just type the script name in a konsole. Of course the script permissions have to be set so your user, usually the owner, can execute them.
Hope this helps.