How to terminate the current program under linux command line?

shortcut:

Ctrl+c

Terminating the currently executing program at the command line,

Ctrl+d

Equivalent to an exit command to exit the current shell

Ctrl+s

Suspend the current shell (obviously protected)

Ctrl+q

Unfreeze a suspended shell and reconnect to open a terminal, reboot Linux or kill related processes.

Read More: