Your First Script

A script is a file of commands that starts with the shebang line #!/usr/bin/env bash and explains itself in comments; chmod +x lets it run, and ./ and its name runs it from the folder it's in.

Updated

Cheat sheet for the lesson Your First Script: A script is a file of commands that starts with the shebang line #!/usr/bin/env bash and explains itself in comments; chmod +x lets it run, and ./ and its name runs it from the folder it's in.
Category
Bash
Level
Apprentice
Tags
chmod, comment, file-permissions, linux, shebang, shell-script, unix