Created
September 19, 2009 10:12
-
-
Save sergeykish/189455 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
| # make tags | |
| $ ./setup | |
| $ ls | |
| $ mkdir {a,b,c} | |
| $ mkdir unexisting/path | |
| mkdir: cannot create directory `unexisting/path': No such file or directory | |
| $ ls | |
| a b c | |
| $ touch file-in-root | |
| $ touch a/fa | |
| $ touch a/b/fab | |
| $ touch c/b/fbc | |
| $ ls | |
| a b c file-in-root | |
| $ ls a | |
| b fa | |
| $ ls a/b | |
| fab | |
| $ ls b/a | |
| fab | |
| $ ./teardown | |
| # read and write | |
| $ ./setup | |
| $ echo 'content' >wr | |
| $ cat wr | |
| content | |
| $ ./teardown | |
| # copy and move | |
| $ ./setup | |
| $ touch cm | |
| $ mv cm .. | |
| $ ls | |
| $ cp ../cm . | |
| $ ls | |
| cm | |
| $ mv ../cm mc | |
| cm mc | |
| $ ./teardown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment