A script for creating an executable shell script file THis is a simple script and I right it just for learning.
When I'm learning shell script there are three steps to do:
- add #!/bin/bash at first line of code
- change chmod to 755 to create a execuyable file
- wright shell script code
so this script do step 1 & 2 and open vi for coding