Linux run shell script from terminal window
by indi on Monday, January 12th, 2009 | No Comments
I don’t use shell scripts too often and had a brain dead moment on how to execute a shell script.
So, for the dummies
, here’s a summary so next time I forget I can quickly look at my posts:
For Creating Shell programs
# vi filename.sh (vi is one of many text editors for linux systems)
For Running Shell Programs
# sh filename.sh
or
# chmod 744 filename.sh (you need to change the permission so you, the owner, can execute the script)
#./filename.sh
solve your computer problem?
Consider a Paypal donation
so that I can keep
this site up and running.

