
220 You Are Here
Figure 16.2: Absolute pathnames state out the full path
Now you’ve successfully changed directories and moved from your login directory into the subdi-
rectory called home.
The difference, of course, was adding the forward slash.
Let’s take a second to look at the reason adding a slash made all the difference.
When you saw you were in /home/billy, you were looking at the full path – or the absolute path
from the root directory. You can think of the billy directory as being located two directories “down”
from the root, which is the topmost level of your system.
So when you typed:
cd /home
you were actually saying “go to the root directory, then go to the directory called home, which is
one directory below the root.” You specified an absolute path to get to the home directory (see, for
example, Figure 16.2).
Now, if you type:
cd /
you’ll end up with a prompt that looks like:
Komentarze do niniejszej Instrukcji