KwickClips Course Topics · 43 sec · free
What does chmod +x do?
Short answer. Allows the script to run.
What is the first line called?
The shebang.
Remember
| Start with #!/bin/bash |
| chmod +x, then ./hi.sh |
Your first script says Permission denied. Why? The first line tells Linux to use bash. A new file cannot run yet. In the terminal, chmod plus x allows it. Dot slash runs it. Two steps. Start with the hash bang line. Then chmod plus x.
This clip is from the full lesson: Introduction to shell scripting — 7 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: GSEB Std 11 Computer Studies
Voice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.

