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
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #run #shell #script
ADD COMMENT
Topic
Name
2+6 =