Exit current shell or script


  exit [<status>]


Exit the shell


Exit the current script successfully

  exit 0

Exit the current script with an error

  exit 1


Exit the iPXE shell, or the currently running script. If a status is explicitly specified, then this status will be returned to the caller of the script.

See also

cmd/exit.txt · Last modified: 2011/03/23 19:30 by mcb30
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.