Save the script.
Open terminal window and go to the directory you saved the script in with the cd command.

You can run it with sh command:
sh script_name

For general purposes it is better to make the script executable:
chmod +x script_name
And then run it with:
./script_name

Reply via email to