Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to run a sh file in terminal

# if not already ran, run to change permisions executable.
chmod 755 foo.sh

# then to run the sh file
./foo.sh
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #run #sh #file #terminal
ADD COMMENT
Topic
Name
3+2 =