Skip to content

Instantly share code, notes, and snippets.

@jacobsimeon
Created November 17, 2016 22:19
Show Gist options
  • Save jacobsimeon/58880a3e089aa9042cc0f43c0382bcd6 to your computer and use it in GitHub Desktop.
Save jacobsimeon/58880a3e089aa9042cc0f43c0382bcd6 to your computer and use it in GitHub Desktop.
Pass variable
#/bin/bash
VAR=5
./other $VAR
#/bin/bash
echo $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment