Terminate & Pause Running UNIX/Linux Process

Pause Running Process

1. On the terminal screen, press Ctrl + z. You will received the notification as below.

[1] 3422

2. To resume the process, enter the following command, fg (to continue on foreground) or bg (to continue on background).

fg 1
bg 1

Terminate Running Process

• Press Ctrl + c.

or

• Find the process PID and terminate using kill command.

kill -9 PID

You May Also Like

Leave a Reply?