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 documenting useful information.  
+
I am trying to program my first shell script and these are the stuff I found useful.  
  
 
== 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 10:41, 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