Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #run #shell #script
ADD COMMENT
Topic
Name
6+8 =