Difference between revisions of "Shell script documentation"

From Stadm
Jump to navigationJump to search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
I am trying to program my first shell script and documenting useful information.  
+
[[Category:Documentation]]
 +
 
 +
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 ==
* <code>chmod 755 first.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

Latest revision as of 13:48, 10 July 2012


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