Created
September 13, 2010 20:07
-
-
Save qmx/577933 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
✈ qmx@gondor:~/tmp$ mkdir a b | |
✈ qmx@gondor:~/tmp$ cd b | |
✈ qmx@gondor:~/tmp/b$ ln -sf ../a c | |
✈ qmx@gondor:~/tmp/b$ ls -l | |
total 8 | |
lrwxr-xr-x 1 qmx staff 4 Sep 13 17:06 c -> ../a | |
✈ qmx@gondor:~/tmp/b$ pwd | |
/Users/qmx/tmp/b | |
✈ qmx@gondor:~/tmp/b$ cd c | |
✈ qmx@gondor:~/tmp/b/c$ pwd | |
/Users/qmx/tmp/b/c | |
✈ qmx@gondor:~/tmp/b/c$ ruby -e 'puts Dir.pwd' | |
/Users/qmx/tmp/a | |
✈ qmx@gondor:~/tmp/b/c$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment