How to find the location of a program installation in Linux

Source: Internet
Author: User
Keywords Linux install location find programs
Tags aliyun button click database server etc find find programs function

Today, using the server in Webmin http://www.aliyun.com/zixun/aggregation/17569.html "> management function, install the MySQL database server, and use the MySQL admin interface to start the MySQL server with its own features:

Click this button to start the MySQL database server on the system with the command/etc/rc.d/init.d/mysqld start. The Webmin module can manage it only after the database is started.

But we often need to have installed Linux programs, make some personalized changes to be more suitable for our use, where to find the location of the program installed in Linux?

Linux actually provides a very handy command:

[Root@centos/]# Whereis--help
Whereis [-SBMU] [-SBM dir ...-f] name ...

Use this command to find out where we have installed the program!

[Root@centos/]# Whereis MySQL
MySQL:/usr/bin/mysql/usr/lib/mysql/usr/include/mysql/usr/share/mysql/usr/share/man/man1/mysql.1.gz

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.