- 1. vi MyFirstScript.sh
- 2. type echo "Hello World"
- 3. exit and save :wq!
- 4. change mode the file as a executable file => chmod 775 MyFirstScript.sh (I will tell about 775 later)
- 5. now the script can be execute, type ./MyFirstScript.sh
- 6. the output Hello World
No comments:
Post a Comment