Home > Database > Redis > body text

What are the commands to check the redis version on Linux system?

WBOY
Release: 2023-05-31 18:43:07
forward
2931 people have browsed it

1. Use the "redis-server –version" command or "redis-server -v", redis-server is in the src directory in the redis installation directory

 [root@db148 redis-2.6.10]# src/redis-server --version
 
 Redis server v=2.6.10 sha=00000000:0 malloc=jemalloc-3.2.0 bits=32
 
 [root@db148 redis-2.6.10]# ./src/redis-server -v
 
 Redis server v=2.6.10 sha=00000000:0 malloc=jemalloc-3.2.0 bits=32
Copy after login

2. Use the "redis-cli –version" command or "redis-cli -v, redis-cli 2 in the src directory in the redis installation directory

 [root@db148 redis-2.6.10]# src/redis-cli --version
 redis-cli 2.6.10
 [root@db148 redis-2.6.10]# src/redis-cli -v
 redis-cli 2.6.10
Copy after login

The above is the detailed content of What are the commands to check the redis version on Linux system?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!