Skip to content

Instantly share code, notes, and snippets.

ps -ft pts/6 -t pts/9 -t pts/10
taskkill /F /IM PROGRAM.exe /T
The /F parameter tells taskkill to Force the process(es) to kill.
The /IM parameter allows you to specify the name of the process executable(s) to kill.
The /T switch specifies to terminate all child processes along with the parent process.
You may omit the /F parameter and the /T switch but there will be a real possibility that one or more tasks may continue to run due to dependencies on the task that was requested to be killed.