Processes

    Contents

  1. Sarting processes
  2. Killing processes

Every program on linux runs as a process.

Sarting processes #

Often you run a command which starts a process.

To spawn a process in the background & hide the output you can use:

nohup myprogram > /dev/null 2>&1 &

Killing processes #

The commands kill [pid] pkill [name] killall [name] can kill processes.

If a process won't stop you can use the -9 flag to force kill it.

TODO: Signals