Current Article:

How to make a file executable, so it can be run from a terminal?

How to make a file executable, so it can be run from a terminal?

You can mark the file as executable:

chmod +x filename.sh

You can then execute it like this:

./filename.sh