EanderAlx.org

Linux, Virtualization and whatever I find interesting ...

User Tools


Site Tools


bashscr:functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
blog:bashscr:functions [29.09.2010 18:15] eanderalxblog:bashscr:functions [29.09.2010 18:19] eanderalx
Line 7: Line 7:
   * Here an example: you can pass values returned by programms as parameter to check them.   * Here an example: you can pass values returned by programms as parameter to check them.
  
-<box 95% round|function check> 
 <code bash> <code bash>
 #Functions====================================== #Functions======================================
Line 20: Line 19:
 #============================================ #============================================
 </code> </code>
-</box|retruned value's can be checked> 
  
   * You can use the function by its name with parameter (here an exit code) e.g.: ''check "$?"''   * You can use the function by its name with parameter (here an exit code) e.g.: ''check "$?"''
bashscr/functions.txt · Last modified: 23.03.2013 18:22 by eanderalx