Skip to content

Instantly share code, notes, and snippets.

@infinite-Joy
Created June 9, 2017 04:12
Show Gist options
  • Save infinite-Joy/0e9fa8eb878985130be822f643add8af to your computer and use it in GitHub Desktop.
Save infinite-Joy/0e9fa8eb878985130be822f643add8af to your computer and use it in GitHub Desktop.
bash-4.2$ x=10
bash-4.2$ echo $((x+1))
11
bash-4.2$ y="10"
bash-4.2$ echo $((y+1))
11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment