how to run shell script
chmod +x <fileName>
./fileName. # or use ->. bash fileName
how to run shell script
chmod +x <fileName>
./fileName. # or use ->. bash fileName
how to run shell script
include
#!/bin/bash (1st line inside yourfile.sh)
to run
./yourfile.sh
if you do not include that line
bash yourfile.sh
ubuntu run a shell script
$ ./script_name.sh
// if it need sudo permission the type:
$ sudo ./script_name.sh
how to run shell script
# method 1
chmod +x <filename>
./<filename>
# method 2
sh <filename>.sh
# method 3 (Only for bash script)
bash <filename>.sh
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us