Created
December 23, 2012 21:25
-
-
Save gogsbread/4366253 to your computer and use it in GitHub Desktop.
Viewing Shell expansions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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