In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Today, the editor to share with you is the linux to view the software installation location, many people do not understand, today, in order to let you know more about the linux to view the software installation location, so give you a summary of the following content, let's look down. I'm sure you'll get something.
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
The above is a brief introduction to the method of linux to view the location of software installation, of course, the detailed use of the above differences still need to be used by everyone to understand. If you want to know more, welcome to follow the industry information channel!
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.