/killProcess

Small python script to kill a specific process by name

Primary LanguagePython

BUILT WITHINSTALLATIONUSAGE

A small python script used to find a running process by name and kill it, additionally an alias kp is created for a more convenient use

BUILT WITH

Python

INSTALLATION

  1. Clone the repository to your local machine:
git clone https://github.com/st-yes/killProcess.git
  1. Navigate to killProcess directory:
cd killProcess
  1. Compile
make

USAGE

  • an alias is created and appended to your shell config file (exmple: .zshrc)

running the script:

  1. with command line arguments
kp <name of process>
  1. without command line arguments
kp

This will prompt you to enter the name of the process, simply input the name:

input name of the process: <name of process>