Skip to content

Instantly share code, notes, and snippets.

@gogsbread
Created December 23, 2012 21:25
Show Gist options
  • Save gogsbread/4366253 to your computer and use it in GitHub Desktop.
Save gogsbread/4366253 to your computer and use it in GitHub Desktop.
Viewing Shell expansions
# You know that `cd ~` will change to your home directory. But, if you want to know how shell expands your ~, you can use 'echo'
echo ~
# will show /User/antonydeepak
echo Antony{1,2}
# shows Antony1 Antony2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment