Redis Data Types Cheat Sheet/Push to tail of list

Insert one or more elements at the tail.

Section: Lists

Push to tail of list

bash
bash
RPUSH jobs pending-1 pending-2

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Lists
Push to head of list
Insert one or more elements at the head.
OpenIn sheetbashsame section
Pop from head
Remove and return the first element.
OpenIn sheetbashsame section
Pop from tail
Remove and return the last element.
OpenIn sheetbashsame section
Blocking pop from one or more lists
Wait up to 30 seconds for a new element.
OpenIn sheetbashsame section
Blocking pop from tail
Block until an element is available at the tail.
OpenIn sheetbashsame section
List length
Return the number of elements in a list.
OpenIn sheetbashsame section