In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
First, check the software installation path:
Linux software is installed in more than one place, let's first check all the paths (addresses) where the software is installed.
Take Mysql as an example. For example, I installed Mysql, but I don't know where the files are installed or in which folders. You can check all the file paths with the following command.
Whereis MySQL
Enter, if you have installed Mysql, the installation address of the file will be displayed, such as my display (the installation address may be different)
Mysql: / usr/bin/mysql / usr/lib/mysql / usr/share/mysql / usr/share/man/man1/mysql.1.gz
As you can see, mysql is installed in these directories.
If you do not have mysql installed, the file path will not be displayed.
Second, query the path where the running file is located:
If you only need to query the address where the file is running, you can simply use the following command (or take Mysql as an example):
Which MySQL
The results show:
/ usr/bin/MySQL
Content expansion
Four methods for Linux to check the installation directory and location of the software
Speaking of three methods, it is nothing more than a few commands under Linux, find, whereis, which, locate are all fine, especially the first two commands are better.
So far, this is the end of this article on how to view the installation location of the software in linux. For more information about how to view the installation location of the software in linux, please search for previous articles or continue to browse the relevant articles below. I hope you will support it in the future!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.