Files and file systemNo matter which operating system (Web site directory)

Files and file systemNo matter which operating system you re using, it s hard to do anything with- out being able to find your way through and work with the file system. Thefollowing utilities help you find your way: File organizationBoxing, packing, sorting, shipping I m always shuffling files around on mysystem. File organization commands provide tools for moving files and filesystem units around, as shown in Table A-4. Table A-4File Organization ToolsCommandPurposecdChanges directories. cpCopies a file. dfShows partitions and how much space they have. duShows how much disk is being used in the current directoryand below. lnCreates a shortcut. lsLists the contents of a directory or information about a file. mkdirCreates a directory. mvMoves or renames a file. pwdShows the path for the directory you re currently in. rmDeletes a file. rmdirDeletes an empty directory. File attributesFiles are much like candy bars. The wrappers provide information about theingredients, size, and package date all descriptive of the tasty nuggetinside. (Perhaps the wrapper is even childproof.) Files keep all this wrapperinformation in an inode.Along with the capability to change file inode infor- mation, these commands can return data about the content of the file, asshown in Table A-5.398Part VI: Appendixes

Leave a Reply