1.Use of DF
View current disk maximum capacity, used capacity ... df [ahikhtm]-a lists all file systems, including system-specific/proc-k displayed in kilobytes-M in megabytes-H with an easy-to-read capacity display-H to m=10 00K replaces m=1024k-i without hard disk capacity and is displayed as the number of inode
Use of 2.duDu [AHSKM]-a lists all files with directory capacity, because the default (direct DF) Only statistics directory below the amount of file-h in the readable capacity format shows-s lists the total volume, does not list each directory occupies the overall capacity-K with Du-m du
DU-SM/* is commonly used.Indicates that the capacity used for each directory under the directory is expressed in megabytes, using the wildcard * to represent each directory 3. Connection file: ln hard connect: ln [-SF] Source file target file-s If LN does not add any parameters to the connection, then is the hard connection, the-S is the symbolic connection (that is, the shortcut)-F If the target file exists, it is destined to say that the target file is deleted and then established (a bit like the replacement of the HA ~) 4.fdisk [-l] with Fdisk/dev/hda good practice, be careful not to use W, the partition to mess up another:
mke2fs [-BJCLJ] Device nameDisk format Mkbootdisk make boot floppy fdformat floppy low format fsck check and fix hard drive error badblocks check hard disk and Whether the floppy disk has a bad track 5. Disk loading and unloading Mount Unmount 6. Common compression commands compress [-DCR] gzip [-CDT] bzip [-cdz] tar [-cxtzjvfppn] .... See what is installed in the system, and then slowly groping it 7.dd backup file dd if= "Input-file" of= "Output-file" bs= "block_size" count= "number" if: Input file/device of: Output file/ Equipment BS: Plan the size of a block, the default is 512 bytes count: How many BS
Linux instruction Learning--simple operation of file system