Difference between revisions of "Shell script documentation"

From Stadm
Jump to navigationJump to search
Line 1: Line 1:
 
I am trying to program my first shell script and these are the stuff I found useful.  
 
I am trying to program my first shell script and these are the stuff I found useful.  
 +
 +
*Useful Websites:
 +
** http://www.dba-oracle.com/Shell-Script-sec.pdf
 +
** http://steve-parker.org/sh/cheatsheet.pdf
 +
  
 
== Notes on useful commands and ideas ==
 
== Notes on useful commands and ideas ==
 
* Run <code>chmod 755 filename.sh</code> to make the text file executable
 
* Run <code>chmod 755 filename.sh</code> to make the text file executable
 
* Then <code>run ./filename.sh</code> to execute the script
 
* Then <code>run ./filename.sh</code> to execute the script

Revision as of 11:57, 7 December 2010

I am trying to program my first shell script and these are the stuff I found useful.


Notes on useful commands and ideas

  • Run chmod 755 filename.sh to make the text file executable
  • Then run ./filename.sh to execute the script