In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you how the Linux system to view the redis installation directory, the content is easy to understand, clear, hope to help you solve the doubt, the following let the editor to take you to study and learn "Linux system how to view the redis installation directory" this article.
1. View the installation directory under redis
If the commands which and whereis cannot find the installation directory, you can use the following methods:
Ps-ef | grep redis got the process number xxxx
Then ls-l / proc/xxxx/cwd.
two。 View the directories of redis-cli and redis-server
Then whereis redis-cli is used.
3. Close redis
1) enter the password auth 'password' in redis. / redis-cli.
2) shutdown.
You can't close it if you use. / redis-cli shutdown directly in the directory.
4. Fuzzy query using find
Find /-name redis*
Where: / refers to the root directory.
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
The above is about "how the Linux system views the redis installation directory". If this article is helpful and well written, please share it with your friends to learn new knowledge. if you want to know more about it, please pay more attention to 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.