Some of the auxiliary commands in Linux

Source: Internet
Author: User

BLKID/DEV/SD2: Used to view the type of this partition, as well as the UUID number, volume label

E2LABE/DEV/SD2: Volume label dedicated to viewing partitions of type Ext

Fsck-a/DEV/SD2: Detecting and automatically repairing Linux file systems

Mount mounted disk, the next time the boot will be canceled mount. We use the/etc/fstab

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/99/05/wKiom1lDMMzzzcsPAADkE9O-2ek114.jpg-wh_500x0-wm_ 3-wmp_4-s_1155181014.jpg "title=" 36020170615234050047.jpg "alt=" Wkiom1ldmmzzzcspaadke9o-2ek114.jpg-wh_50 "/>

Edit according to the above format, the first one is the partition pathname, the second is the mount point, the third is the file type, defaults,als 0,0

Displays the inode for the file.

Ls-i/path/to/file: Displays the Indoe of the file

display fonts with color.

Echo-e "\e[1;31mhello ni hao\e[0m"

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/99/0A/wKiom1lDTL7RomFEAAA57bMhY7s730.jpg "title=" Color font. jpg "alt=" wkiom1ldtl7romfeaaa57bmhy7s730.jpg "/>

Note that between 1 and 31 is ': ' Never mind. The color of the font is related to 31. It can also be 32,33 ...


Grep-o "Disk/dev/sd[a-z]":

If you do not add-O, the information that displays this line is displayed, plus-o displays only the information found.

This article is from the "Don't Always Close" blog, please be sure to keep this source http://ji123.blog.51cto.com/11333309/1937343

Some of the auxiliary commands in Linux

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.