old-www/LDP/intro-linux/html/chap_03.html

362 lines
5.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>About files and the file system</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Introduction to Linux"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Exercises"
HREF="sect_02_05.html"><LINK
REL="NEXT"
TITLE="General overview of the Linux file system"
HREF="sect_03_01.html"></HEAD
><BODY
CLASS="chapter"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Introduction to Linux: </TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="sect_02_05.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="sect_03_01.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="chap_03"
></A
>Chapter 3. About files and the file system</H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>3.1. <A
HREF="sect_03_01.html"
>General overview of the Linux file system</A
></DT
><DD
><DL
><DT
>3.1.1. <A
HREF="sect_03_01.html#sect_03_01_01"
>Files</A
></DT
><DT
>3.1.2. <A
HREF="sect_03_01.html#sect_03_01_02"
>About partitioning</A
></DT
><DT
>3.1.3. <A
HREF="sect_03_01.html#sect_03_01_03"
>More file system layout</A
></DT
></DL
></DD
><DT
>3.2. <A
HREF="sect_03_02.html"
>Orientation in the file system</A
></DT
><DD
><DL
><DT
>3.2.1. <A
HREF="sect_03_02.html#sect_03_02_01"
>The path</A
></DT
><DT
>3.2.2. <A
HREF="sect_03_02.html#sect_03_02_02"
>Absolute and relative paths</A
></DT
><DT
>3.2.3. <A
HREF="sect_03_02.html#sect_03_02_03"
>The most important files and directories</A
></DT
><DT
>3.2.4. <A
HREF="sect_03_02.html#sect_03_02_04"
>The most important configuration files</A
></DT
><DT
>3.2.5. <A
HREF="sect_03_02.html#sect_03_02_05"
>The most common devices</A
></DT
><DT
>3.2.6. <A
HREF="sect_03_02.html#sect_03_02_06"
>The most common variable files</A
></DT
></DL
></DD
><DT
>3.3. <A
HREF="sect_03_03.html"
>Manipulating files</A
></DT
><DD
><DL
><DT
>3.3.1. <A
HREF="sect_03_03.html#sect_03_03_01"
>Viewing file properties</A
></DT
><DT
>3.3.2. <A
HREF="sect_03_03.html#sect_03_03_02"
>Creating and deleting files and directories</A
></DT
><DT
>3.3.3. <A
HREF="sect_03_03.html#sect_03_03_03"
>Finding files</A
></DT
><DT
>3.3.4. <A
HREF="sect_03_03.html#sect_03_03_04"
>More ways to view file content</A
></DT
><DT
>3.3.5. <A
HREF="sect_03_03.html#sect_03_03_05"
>Linking files</A
></DT
></DL
></DD
><DT
>3.4. <A
HREF="sect_03_04.html"
>File security</A
></DT
><DD
><DL
><DT
>3.4.1. <A
HREF="sect_03_04.html#sect_03_04_01"
>Access rights: Linux's first line of defense</A
></DT
><DT
>3.4.2. <A
HREF="sect_03_04.html#sect_03_04_02"
>The tools</A
></DT
></DL
></DD
><DT
>3.5. <A
HREF="sect_03_05.html"
>Summary</A
></DT
><DT
>3.6. <A
HREF="sect_03_06.html"
>Exercises</A
></DT
><DD
><DL
><DT
>3.6.1. <A
HREF="sect_03_06.html#sect_03_06_01"
>Partitions</A
></DT
><DT
>3.6.2. <A
HREF="sect_03_06.html#sect_03_06_02"
>Paths</A
></DT
><DT
>3.6.3. <A
HREF="sect_03_06.html#sect_03_06_03"
>Tour of the system</A
></DT
><DT
>3.6.4. <A
HREF="sect_03_06.html#sect_03_06_04"
>Manipulating files</A
></DT
><DT
>3.6.5. <A
HREF="sect_03_06.html#sect_03_06_05"
>File permissions</A
></DT
></DL
></DD
></DL
></DIV
><BLOCKQUOTE
CLASS="ABSTRACT"
><DIV
CLASS="abstract"
><A
NAME="AEN1650"
></A
><P
></P
><P
>After the initial exploration in <A
HREF="chap_02.html"
>Chapter 2</A
>, we are ready to discuss the files and directories on a Linux system in more detail. Many users have difficulties with Linux because they lack an overview of what kind of data is kept in which locations. We will try to shine some light on the organization of files in the file system.
</P
><P
>We will also list the most important files and directories and use different methods of viewing the content of those files, and learn how files and directories can be created, moved and deleted.</P
><P
>After completion of the exercises in this chapter, you will be able to:</P
><P
>&#13;<P
></P
><UL
><LI
><P
>Describe the layout of a Linux file system</P
></LI
><LI
><P
>Display and set paths</P
></LI
><LI
><P
>Describe the most important files, including kernel and shell</P
></LI
><LI
><P
>Find lost and hidden files</P
></LI
><LI
><P
>Create, move and delete files and directories</P
></LI
><LI
><P
>Display contents of files</P
></LI
><LI
><P
>Understand and use different link types</P
></LI
><LI
><P
>Find out about file properties and change file permissions</P
></LI
></UL
>
</P
><P
></P
></DIV
></BLOCKQUOTE
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="sect_02_05.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="sect_03_01.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Exercises</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>General overview of the Linux file system</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>