Skip to content

Instantly share code, notes, and snippets.

@m3nd3s
Created April 27, 2012 02:51
Show Gist options
  • Select an option

  • Save m3nd3s/2505298 to your computer and use it in GitHub Desktop.

Select an option

Save m3nd3s/2505298 to your computer and use it in GitHub Desktop.
Sintaxe if (ShellScript)
# Sintaxe do IF em ShellScript
if CONDICAO; then
comando1
elif CONDICAO2
comando2
else
comando3
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment