📄 part03.htm
字号:
<HTML><!--Distributed by F --><HEAD><TITLE>[Part III] Working with the Filesystem </TITLE><METANAME="DC.title"CONTENT="UNIX Power Tools"><METANAME="DC.creator"CONTENT="Jerry Peek, Tim O'Reilly & Mike Loukides"><METANAME="DC.publisher"CONTENT="O'Reilly & Associates, Inc."><METANAME="DC.date"CONTENT="1998-08-04T21:36:58Z"><METANAME="DC.type"CONTENT="Text.Monograph"><METANAME="DC.format"CONTENT="text/html"SCHEME="MIME"><METANAME="DC.source"CONTENT="1-56592-260-3"SCHEME="ISBN"><METANAME="DC.language"CONTENT="en-US"><METANAME="generator"CONTENT="Jade 1.1/O'Reilly DocBook 3.0 to HTML 4.0"><LINKREV="made"HREF="mailto:online-books@oreilly.com"TITLE="Online Books Comments"><LINKREL="up"HREF="index.htm"TITLE="UNIX Power Tools"><LINKREL="prev"HREF="ch13_16.htm"TITLE="13.16 Store and Show Errors with logerrs "><LINKREL="next"HREF="ch14_01.htm"TITLE="14. Moving Around in a Hurry"></HEAD><BODYBGCOLOR="#FFFFFF"TEXT="#000000"><DIVCLASS="htmlnav"><H1><IMGSRC="gifs/smbanner.gif"ALT="UNIX Power Tools"USEMAP="#srchmap"BORDER="0"></H1><MAPNAME="srchmap"><AREASHAPE="RECT"COORDS="0,0,466,58"HREF="index.htm"ALT="UNIX Power Tools"><AREASHAPE="RECT"COORDS="467,0,514,18"HREF="jobjects/fsearch.htm"ALT="Search this book"></MAP><TABLEWIDTH="515"BORDER="0"CELLSPACING="0"CELLPADDING="0"><TR><TDALIGN="LEFT"VALIGN="TOP"WIDTH="172"><ACLASS="SECT1"HREF="ch13_16.htm"TITLE="13.16 Store and Show Errors with logerrs "><IMGSRC="gifs/txtpreva.gif"SRC="gifs/txtpreva.gif"ALT="Previous: 13.16 Store and Show Errors with logerrs "BORDER="0"></A></TD><TDALIGN="CENTER"VALIGN="TOP"WIDTH="171"><B><FONTFACE="ARIEL,HELVETICA,HELV,SANSERIF"SIZE="-1">Part III</FONT></B></TD><TDALIGN="RIGHT"VALIGN="TOP"WIDTH="172"><ACLASS="CHAPTER"HREF="ch14_01.htm"TITLE="14. Moving Around in a Hurry"><IMGSRC="gifs/txtnexta.gif"SRC="gifs/txtnexta.gif"ALT="Next: 14. Moving Around in a Hurry"BORDER="0"></A></TD></TR></TABLE> <HRALIGN="LEFT"WIDTH="515"TITLE="footer"></DIV><DIVCLASS="PART"><H1CLASS="part"><ACLASS="title"NAME="UPT-PART-3">Part III: Working with the Filesystem </A></H1><DIVCLASS="partintro"><PCLASS="para">What's a filesystem anyway?A set of data structures that tell the system howthe physical data storage on the disc is organized into files?The organizing principles that make it possible to store data ina predictable way, so it can be retrieved easily not just by one personbut by many?A fruitless battle against entropy, as the established hierarchy getsovergrown, overthrown, and fragmented?</P><PCLASS="para">The next 11 chapters deal with this enormous subject, so central tothe art of working with UNIX:</P><ULCLASS="itemizedlist"><LICLASS="listitem"><PCLASS="para">How to get around the filesystem.</P></LI><LICLASS="listitem"><PCLASS="para">How to use wildcards effectively to point to more than one file.</P></LI><LICLASS="listitem"><PCLASS="para">How to find the files you've stored in the filesystem&ndash;using<EMCLASS="emphasis">ls</EM> in all its forms.</P></LI><LICLASS="listitem"><PCLASS="para">How to use <EMCLASS="emphasis">find</EM>, the "power saw" of file search operations.</P></LI><LICLASS="listitem"><PCLASS="para">How to link, rename, and copy files effectively.</P></LI><LICLASS="listitem"><PCLASS="para">How to create archives for storing and moving many files.</P></LI><LICLASS="listitem"><PCLASS="para">How and why to make backups&ndash;not just a job for the systemadministrator.</P></LI><LICLASS="listitem"><PCLASS="para">Other miscellaneous hints about managing files.</P></LI><LICLASS="listitem"><PCLASS="para">How file ownership works.</P></LI><LICLASS="listitem"><PCLASS="para">How to remove files.</P></LI><LICLASS="listitem"><PCLASS="para">Other ways to free up disk space.</P></LI></UL></DIV><DIVCLASS="docinfo"><PCLASS="DOCINFO">- <SPANCLASS="authorinitials">TOR</SPAN></P></DIV><PCLASS="part-toc"><ACLASS="chapter"HREF="ch14_01.htm"TITLE="14. Moving Around in a Hurry">Chapter 14: <CITECLASS="chapter">Moving Around in a Hurry</CITE></A><BR><ACLASS="chapter"HREF="ch15_01.htm"TITLE="15. Wildcards">Chapter 15: <CITECLASS="chapter">Wildcards</CITE></A><BR><ACLASS="chapter"HREF="ch16_01.htm"TITLE="16. Where Did I Put That?">Chapter 16: <CITECLASS="chapter">Where Did I Put That?</CITE></A><BR><ACLASS="chapter"HREF="ch17_01.htm"TITLE="17. Finding Files with find">Chapter 17: <CITECLASS="chapter">Finding Files with find</CITE></A><BR><ACLASS="chapter"HREF="ch18_01.htm"TITLE="18. Linking, Renaming, and Copying Files">Chapter 18: <CITECLASS="chapter">Linking, Renaming, and Copying Files</CITE></A><BR><ACLASS="chapter"HREF="ch19_01.htm"TITLE="19. Creating and Reading Archives">Chapter 19: <CITECLASS="chapter">Creating and Reading Archives</CITE></A><BR><ACLASS="chapter"HREF="ch20_01.htm"TITLE="20. Backing Up Files">Chapter 20: <CITECLASS="chapter">Backing Up Files</CITE></A><BR><ACLASS="chapter"HREF="ch21_01.htm"TITLE="21. More About Managing Files">Chapter 21: <CITECLASS="chapter">More About Managing Files</CITE></A><BR><ACLASS="chapter"HREF="ch22_01.htm"TITLE="22. File Security, Ownership, and Sharing">Chapter 22: <CITECLASS="chapter">File Security, Ownership, and Sharing</CITE></A><BR><ACLASS="chapter"HREF="ch23_01.htm"TITLE="23. Removing Files">Chapter 23: <CITECLASS="chapter">Removing Files</CITE></A><BR><ACLASS="chapter"HREF="ch24_01.htm"TITLE="24. Other Ways to Get Disk Space">Chapter 24: <CITECLASS="chapter">Other Ways to Get Disk Space</CITE></A><BR></P></DIV><DIVCLASS="htmlnav"><P></P><HRALIGN="LEFT"WIDTH="515"TITLE="footer"><TABLEWIDTH="515"BORDER="0"CELLSPACING="0"CELLPADDING="0"><TR><TDALIGN="LEFT"VALIGN="TOP"WIDTH="172"><ACLASS="SECT1"HREF="ch13_16.htm"TITLE="13.16 Store and Show Errors with logerrs "><IMGSRC="gifs/txtpreva.gif"SRC="gifs/txtpreva.gif"ALT="Previous: 13.16 Store and Show Errors with logerrs "BORDER="0"></A></TD><TDALIGN="CENTER"VALIGN="TOP"WIDTH="171"><ACLASS="book"HREF="index.htm"TITLE="UNIX Power Tools"><IMGSRC="gifs/txthome.gif"SRC="gifs/txthome.gif"ALT="UNIX Power Tools"BORDER="0"></A></TD><TDALIGN="RIGHT"VALIGN="TOP"WIDTH="172"><ACLASS="CHAPTER"HREF="ch14_01.htm"TITLE="14. Moving Around in a Hurry"><IMGSRC="gifs/txtnexta.gif"SRC="gifs/txtnexta.gif"ALT="Next: 14. Moving Around in a Hurry"BORDER="0"></A></TD></TR><TR><TDALIGN="LEFT"VALIGN="TOP"WIDTH="172">13.16 Store and Show Errors with logerrs </TD><TDALIGN="CENTER"VALIGN="TOP"WIDTH="171"><ACLASS="index"HREF="index/idx_0.htm"TITLE="Book Index"><IMGSRC="gifs/index.gif"SRC="gifs/index.gif"ALT="Book Index"BORDER="0"></A></TD><TDALIGN="RIGHT"VALIGN="TOP"WIDTH="172">14. Moving Around in a Hurry</TD></TR></TABLE><HRALIGN="LEFT"WIDTH="515"TITLE="footer"><IMGSRC="gifs/smnavbar.gif"SRC="gifs/smnavbar.gif"USEMAP="#map"BORDER="0"ALT="The UNIX CD Bookshelf Navigation"><MAPNAME="map"><AREASHAPE="RECT"COORDS="0,0,73,21"HREF="../index.htm"ALT="The UNIX CD Bookshelf"><AREASHAPE="RECT"COORDS="74,0,163,21"HREF="index.htm"ALT="UNIX Power Tools"><AREASHAPE="RECT"COORDS="164,0,257,21"HREF="../unixnut/index.htm"ALT="UNIX in a Nutshell"><AREASHAPE="RECT"COORDS="258,0,321,21"HREF="../vi/index.htm"ALT="Learning the vi Editor"><AREASHAPE="RECT"COORDS="322,0,378,21"HREF="../sedawk/index.htm"ALT="sed & awk"><AREASHAPE="RECT"COORDS="379,0,438,21"HREF="../ksh/index.htm"ALT="Learning the Korn Shell"><AREASHAPE="RECT"COORDS="439,0,514,21"HREF="../lrnunix/index.htm"ALT="Learning the UNIX Operating System"></MAP></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -