Complete the code to publish the message 'Hello' to the channel 'news'.
PUBLISH [1] HelloThe PUBLISH command sends a message to a specified channel. Here, the channel name is 'news'.
Complete the code to publish the message 'Update' to the channel named 'alerts'.
PUBLISH [1] UpdateThe PUBLISH command sends the message 'Update' to the 'alerts' channel.
Fix the error in the code to correctly publish 'Alert!' to the 'system' channel.
PUBLISH system [1]In Redis CLI, strings with special characters or spaces should be quoted. Here, 'Alert!' needs single quotes.
Fill both blanks to publish the message 'Server down' to the 'status' channel.
PUBLISH [1] [2]
The channel name is 'status' and the message must be quoted as 'Server down' to be valid.
Fill both blanks to publish the message 'Error 404' to the 'logs' channel using the Redis CLI.
PUBLISH [1] [2]
The channel is 'logs' and the message must be quoted as 'Error 404' to handle the space correctly.