goto

Jump to label and continue execution.

Syntax 
       goto word

  word is filename and command-substituted to yield a  string  of
  the  form `label'.  The shell rewinds its input as much as possible,
  searches for a line of the form `label:', possibly  preceded  by 
  blanks  or  tabs, and continues execution after that line. 
	        

“Diplomacy is being able to tell someone to go to hell in such a way that they look forward to the trip” ~ Anon

Related:


for - Loop, expand words, and execute commands
while - Execute commands


© Copyright SS64.com 1999-2014
Some rights reserved