ABSTRACT

Clearly, in this case you make the script executable for yourself only. However, you can set appropriate access permissions for the file if you also want other users to be able to execute it. Once you have made the script file executable, you can type ./script _ file as a command to execute the shell script, as shown:

If your search path (the PATH variable) includes your current directory (.), you can simply use the script _ file command, instead of using the ./script _ file command. For the rest of this chapter, we assume that your PATH variable includes your current directory.