Lesson 14: Permissions and Running Scripts
Every file has permissions: who can read, write, and run it. For a script file to run, you give it execute permission with `chmod +x`, then launch it with `./`. We'll learn the basics without overcomplicating.
Permissions are like keys to a room: one only peeks (read), one can rearrange (write), and one can switch it on (execute).
- Permissions
- Who can read, write, and run a file (rwx)
- chmod
- A command that changes a file's permissions
- Executable (+x)
- A file with execute permission, runnable as a program