[bbadger@demo01] (1)$ cd | change directory to your home directory |
[bbadger@demo01] (1)$ pwd | print the name of the current directory |
/afs/cs.wisc.edu/u/b/b/bbadger | |
[bbadger@demo01] (1)$ cd cs367 | oops, cs367 is not a subdirectory of |
cs367: No such file or directory | /afs/cs.wisc.edu/u/b/b/bbadger |
[bbadger@demo01] (1)$ cd private/cs367 | this is what we want |
[bbadger@demo01] (1)$ ls | list the current directory's files & directories |
Prog1.java Prog1.class | |
[bbadger@demo01] (1)$ cd .. | `..' means ``the directory above the current one'' (the parent directory) |
[bbadger@demo01] (1)$ pwd | Now we're back in the private directory, |
/afs/cs.wisc.edu/u/b/b/bbadger/private |