Skip to content

Instantly share code, notes, and snippets.

@sheilambadi
Created August 6, 2020 21:03
Show Gist options
  • Save sheilambadi/2d797b0b105e7708598e1bef3d6cca41 to your computer and use it in GitHub Desktop.
Save sheilambadi/2d797b0b105e7708598e1bef3d6cca41 to your computer and use it in GitHub Desktop.
Elif statement bash
if [ logical expression ]; then
statement 1
statement 2
elif [ logical expression ]; then
statement 3
statement 4
elif [ logical expression ]; then
statement 4
statement 5
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment