Linux notes-common commands (not finished)

Source: Internet
Author: User

Mkdir

[function]: command used to create a directory of the specified name, requiring the user who created the directory to have write permissions in the current directory, and the specified directory name cannot be a directory that is already in the current directory ( case-sensitive ).

[Example]:mkdir test

chmod

[function]: used to change the access rights of a file or directory, using it to control access to a file or directory.

[Example]:chmod 751 file

Rpm

[function]: Execute the installation package

[Example]:rpm-qa | grep httpd Search Specifies whether the RPM package is installed (httpd)

Ls

[function]: lists all subdirectories and files in the target directory.

[Example]:ls

Cd

[function]: Switch the current directory to DirnamE

[Example]:cd/usr

Tar

[function]: used to compress and decompress files. The tar itself does not have compression capabilities. It is implemented by invoking the compression function

[Example]:tar-zxvf/opt/soft/test/log.tar.gz

Linux notes-common commands (not finished)

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.