Scripting Basics

A shell script is a computer program designed to be run by the Unix/Linux shell

Last Update Unknown

We always start script files with the shebang construct ( #!/bin/bash ) ! 

Executing Shell Scripts

Example script:


Save your script file and make it executable using the command:


The shell script is now ready to be executed using the following command: