Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION User Manual Page 235

  • Download
  • Add to my manuals
  • Print
  • Page
    / 300
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 234
16.2 Getting From Here to There: cd 223
cd ..
and youll nd yourself at the root directory.
Using relative paths, get yourself back to your login directory by typing:
cd home/billy
Doesnt look much different from absolute paths, does it? Notice, though, that theresnoforward
slashinfrontofhome. In essence, you were saying, go one directory down, to home,thengoto
billy,inthehome directory.
Tip: Whenever you want to quickly jump back to your login directory just type cd ˜
anywhere in the system.
That wasnt much of a demonstration.
Try this: from your login directory, type:
cd ../../etc/X11
Now, youre in the directory X11,whichiswhereyoull nd conguration les and directories re-
lated to the X Window System.
Please Note: You can always type pwd to nd out where you are in the directory tree. And you can
get back to your login directory with the cd ˜ command.
Take a look at your last cd command. What you were really telling your system was, go up to the
parent directory, then up to that directorys parent directory (which is the root directory), then go to
the etc directory and from there, to the X11 directory.
Using an absolute path would also get you to the X11 quickly. Type:
cd /etc/X11
and youre there.
Tip: Always make sure you know which working directory youre in before you state
the relative path to the directory or le you want to get to. You dont have to worry about
your position in the lesystem, though, when you state the absolute path to another
directory or le.
Page view 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 299 300

Comments to this Manuals

No comments