chmod Command: Run Shell Script In Linux
Another recommend option is to set an executable permission using the chmod command as follows:
Now your can run your .sh file as follows
cyberciti.biz/faq/run-execute-sh-shell-script/
chmod +x file.sh
|
./file.sh
|
0 comments:
Post a Comment