UNIX For Dummies [Electronic resources]

John Levine, Margaret Levine Young

نسخه متنی -صفحه : 213/ 46
نمايش فراداده

Chapter 6: Directories for Fun and Profit

Overview

In This Chapter Defining a directory Getting to the right directory Defining a home directory Making a new directory Erasing a directory Renaming a directory Moving a file from one directory to another Organizing your files A map of UNIX Files are great — they’re where you store all your important information, as well as where UNIX itself and all your programs are stored. UNIX systems have, in fact, tens of thousands of files, even before you create a single one. Imagine typing your ls command and getting a list of 10,000 filenames. Not pretty (or fast).

To avoid this situation, UNIX has things called directories, which enable you to divide your files into groups. This chapter explains how to organize your UNIX files into directories and how to find things after you have done so.