Jak uruchomić plik SH w terminalu
# if not already ran, run to change permisions executable.
chmod 755 foo.sh
# then to run the sh file
./foo.sh
Unusual Unicorn
# if not already ran, run to change permisions executable.
chmod 755 foo.sh
# then to run the sh file
./foo.sh
\\you start with
#!/bin/bash
EnterYourCommand
and open a terminal in the same directory where the .sh file is and run "chmod +x FILENAME.sh"
include
#!/bin/bash
then in terminal
chmod +x <filename>
./<filename>
./script-name-here.sh #Chage the "script-name-here" to the name of the .sh file.
./scriptname.sh