Common Linux commands

Source: Internet
Author: User

Fdisk-l // view disk partitions
Mkdir directory name // create a directory
Ls // Browse Directory
DF-th // view disk partitions
CD // locate the Directory
Rpm-uvh file path file name // install the RPM package
Rpm-Qa // query installed RPM packages
Rpm-Qa | grep // check whether it is installed
Rpm-E Software name // uninstall the RPM package
Rmdir // delete an empty directory
Rm-RF // delete all non-empty directories
Rm // delete an object
Tar-zcvf xxx.tar.gz XXX // package and compress the xxx directory
Tar zxvf xxx.tar.gz // extract and restore the compressed package
Mount-T/dev/hdax/mnt/XX // mount the hard disk partition to the XX directory
Umount/mnt/XX // detach a mount point xx
Compile and install software:
Make
./Configure
Make install

 

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.