Linux Basic command four (file system)

Source: Internet
Author: User
Tags what file system

1.DF: List The overall usage of the file system

1.1 [-A] lists all file systems, including system-specific/proc, etc.

1.2 [-K] Displays each file system in Kbytes capacity

1.3 [-m] displays each file system in MBytes capacity

1.4 [-h] is displayed in a format that is easy to read, such as Gbytes,mbytes,kbytes

1.5 [-t] along with the partition's filesystem name (for example, EXT4) are also listed

2. Du: More detailed display of the disk capacity per directory and file

2.0 No Parameters: List directory capacity only

2.1 [-A] lists all file and directory capacities

2.2 [-h] is displayed in a format that is easy to read, such as Gbytes,mbytes,kbytes

2.3 [-S] lists the total, not each individual directory occupancy capacity

2.4 [-S] does not include totals under subdirectories, and-s differs

3.fdisk: Disk Partitioning

3.1 [-B partition Size] Specifies the size of each partition

3.2 [-l] Lists the partition table status for the specified peripheral device

3.3 [-s partition number] outputs the specified partition size to the standard output, in chunks

3.4 [-u] with the "-L" parameter list, which replaces the number of cylinders with the number of partitions to represent the starting address of each partition

3.5 [-V] Displays version information

4.MKFS: File system formatting

4.0 MKFS [-VV] [FS] [-F < file system type;] [device name] [number of blocks]

4.1 [-T file system Type] Specifies what file system to build

4.2 [-V] Displays version information with detailed usage methods

5.mount: Mount

5.0 mount [-t file system] [-o option] Device dir

5.1 [-t] with this parameter, we specify the type of file system, and in general cases you do not have to specify that it is sometimes recognized

5.2 [-o] This option, the main options are permissions, users, disk quotas, language encoding, etc.

Linux Basic command four (file system)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.