Skip to content

Instantly share code, notes, and snippets.

@automagicaly
Created November 14, 2017 20:38
Show Gist options
  • Save automagicaly/495471b1d4cd1b40d5ff9be236df536b to your computer and use it in GitHub Desktop.
Save automagicaly/495471b1d4cd1b40d5ff9be236df536b to your computer and use it in GitHub Desktop.
Auto increment variable
export autoinc=$((++autoinc));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment