Linux basic commands

Source: Internet
Author: User

1 Apt

Apt-cache searchProgram

Apt-Cache show shows the complete description of the program.

Apt-Cache showpkg shows many details and relationships with other packages.

Download apt-Get install and install or upgrade all dependent packages. If a package is set to hold (stop flag, it will be put aside (that is, it will not be upgraded ).

Apt-Get remove [-- purge] Remove and any other packages dependent on this package. -- Purge indicates that the package should be completely cleared

 

2 dpkg

Dpkg-s file name // view which package the file belongs

Dpkg-s package name // view the package details

 

3 OD-C filename

Display the actual content of a file

4. Locate files from the database

Updatedb updates the database



 

 

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.