Exercise 2-2: Using "pwd" and "cd" to move around the filesystem.
You Type ... Comments/Prompts 1 pwd Display your "current working directory". 2 cd .. Move up one level in the directory hierarchy. 3 pwd Print the current working directory. What is this directory? 4 cd /tmp Move to the "/tmp" directory. 5 pwd Display the new directory location. 6 cd Use the "cd" command by itself. This takes you to your "home" directory. 7 pwd Use "pwd" again to display your new location.
Next: Who Else Is On Up: Getting Started Previous: Moving Around The System   Contents |