simple bash script

Open Text Edit, found in Applications, once in Text Edit, click “New Document”.

Next, write the Bash Script, as below:

 #!/bin/bash 
echo hello world  

chmod 700 FirstScript

Leave a Reply

Your email address will not be published. Required fields are marked *