Official Bash documentation (should be the same for ZSH too I guess): https://www.gnu.org/software/bash/manual/bash.html#History-Expansion
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Official Bash documentation (should be the same for ZSH too I guess): https://www.gnu.org/software/bash/manual/bash.html#History-Expansion