how to kill all running process in linux code example Example: bash kill all terminal kill $(pgrep bash)