Difference between revisions of "Shell script documentation"

From Stadm
Jump to navigationJump to search
Line 3: Line 3:
 
== 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>
+
* Then <code>run ./filename.sh</code> to execute the script

Revision as of 09:10, 7 December 2010

I am trying to program my first shell script and documenting useful information.

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