Linux Fundamentals 14

Source: Internet
Author: User

1.tune2fs -l /dev/device    -l: View information in the Super block     -L  Lable: Set volume label     -m: Reserve Administrator's Space     -j: If the original file system is ext2,-j can promote it to ext3     -o: Set Default mount Options     -o: Adjust partition features          2.fsck  fix File system error     -T: TSTYPE    -A: Auto Fix error      -r: Interactive Fix error     3. modifying swap partitions     mkswap /dev/DEVICE         -l: Specify volume label 4. Enable swap partition     swapon         -a: Mark all swap partitions as enabled         -p#: Specify Priority              swapoff         -a: Disable all swap partitions         5.hdparm  get/Set hard drive parameters      -i: Displays the driver basic information    &Nbsp;-i: Display Drive Details     -g: Displays the drive geometry value (cylinder, head, sector) and start sector     -T: evaluates the read efficiency of the hard drive ( Do not go through disk cache)     -t: Read efficiency of the flat-drive     6. Mount         Support for mounted devices in manual mount, on-demand mount, auto-mount (etc/fstab)         mount [options]  -t fstype -o option        -o option  Enable partition feature on Mount  /proc/mounts,/etc/mtab view features                   mount points: Raw data is temporarily hidden              1. Option Anti-space idle path             2. Prior to existence           tune2fs -o mount -option  Equipment           tune2fs -0 ^mount -option  Cancel default Mount Properties                     CD Mount           /dev/cdrom /dev/dvd /dev/sr0          -t  iso9600          7.df  Disk usage Space Status report       -h: human-readabel  use  GB, mb  and other easy-to-read formats in the file system size     - I: View current file system  inode  usage case       -P: output format is posix        [option] [device] Displays information about individual partitions                     8.du  evaluate file usage of disk space     - S: Show only the sum of each file size     -h: File size using easy-to-read formats such as GB,MB

Linux Fundamentals 14

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.