Pub Sub Pubsub
# Redis Pubsub Command | Rookie Tutorial
# [Rookie Tutorial -- Learning not only technology, but also dreams!](#)
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0);)
* (javascript:void(0))
Redis Tutorial
(#)(#)(#)(#)(#)
## Redis Commands
(#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#)
## Redis Advanced Tutorial
(#)(#)(#)(#)(#)(#)(#)(#)
[](#)(#)
(#)[](#)
Deep Dive
Data Management
Programming
Web Service
Software
Development Tools
Web Design & Development
Programming Languages
Network Services
Computer Science
Scripting Languages
# Redis Pubsub Command
!(#)[Redis Pub/Sub](#)
The Redis Pubsub command is used to inspect the state of the Pub/Sub system. It consists of several subcommands in different formats.
### Syntax
The basic syntax of the redis Pubsub command is as follows:
redis 127.0.0.1:6379> PUBSUB [argument [argument ...]]
### Available Version
>= 2.8.0
### Return Value
A list of active channels.
### Example
redis 127.0.0.1:6379> PUBSUB CHANNELS (empty list or set)
!(#)[Redis Pub/Sub](#)
YouTip