886Making a text file executable in OSX with .command

Appending .command to a text file in OSX executes it on double click.



my-file.txt content wget https://wordpress.org/latest.tar.gz
rename my-file.txt → my-file.command