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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 300
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 236
16.3 Looking Around With ls 225
When youre done being root, just type exit at the prompt.
[root@localhost /root]# exit
exit
[billy@localhost billy]$
Summary: To change directories using absolute pathnames, type cd/directory/directory;
to change directories using relative pathnames, type cd directory to move one direc-
tory below, cd directory/directory to move two directories below, etc.; to jump
from anywhere on the lesystem to your login directory, type cd ˜ ; to change to the
parent of the directory youre in, type cd .. Use . to refer to your current directory.
16.3 Looking Around With ls
Now that you know how to move around, its time to take a look at whatsinthedirectories.
But rst, letsmakesureyouve got something you can look for in your login directory before we go
any further.
You can start by creating an empty le. To do so, you can use a utility called touch at the shell
prompt. Try it; type:
touch foo.bar
Now, in your login directory, youve got an empty le called foo.bar.Youll see it in a couple
minutes.
Lets also create a new directory, using the mkdir command.
At the prompt, type:
mkdir tigger
Now, youve created a directory called tigger in your login directory. From root, your new direc-
torys absolute pathname would be /home/yourlogin/tigger, and your directory is the parent
of tigger. (You can learn more about creating and removing –files and directories in Chapter 17
on page 255.)
Now, youre ready to go.
In the DOS world, using the dir command will display the contents of a directory.
Page view 236
1 2 ... 232 233 234 235 236 237 238 239 240 241 242 ... 299 300

Comments to this Manuals

No comments