Canceling execution

To suspend a running program, press the Ctrl+Z key while the program is in the foreground.

Use the fg command to resume running.

To cancel a running program, press the Ctrl+C key while the program is in the foreground.