April 2005
Intermediate to advanced
720 pages
24h 28m
English
Up to now, you haven’t moved around in the directory tree. You’ve been fixed in place in your home directory. Changing directories is easy—just use the cd (change directory) command, followed by the destination you want to move to.
You have two ways to indicate a destination: with an absolute path or a relative path.
An absolute path specifies the location of a file or subdirectory, starting at the root directory and working downward.
A relative path specifies the location of a file or subdirectory starting at your present location.
Let’s look at an example. Suppose I’m currently in my home directory (/Users/ronh) and I want to move to the /usr/bin directory. I could specify the destination with its absolute ...
Read now
Unlock full access