what is the command to paste in emacs
The basic paste command in Emacs is:
C-y(hold Control and pressy) — this is called yank , and it pastes the most recently killed/copied text.
If you want to cycle through earlier copied texts (the kill ring), you can press:
M-y(hold Alt/Meta and pressy) immediately afterC-yto replace the last paste with older entries.
On most systems, this is the standard way to “paste” in Emacs, both in normal editing and in many Emacs-based terminals or modes.