https://github.com/massigy/terminate
https://github.com/massigy/terminate
bash linux shell
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/massigy/terminate
- Owner: MassiGy
- License: mit
- Created: 2021-11-19T21:06:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T22:23:34.000Z (over 4 years ago)
- Last Synced: 2025-02-07T10:53:29.014Z (over 1 year ago)
- Topics: bash, linux, shell
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# TERMINATE BASH SCRIPT USAGE GUID
## Description
Terminate - Bash Based Process Killer.
This script is designed to stop process just like the "kill -9" unix command, in fact this uses it under the hood, but this tool give the user more power by just providing the name of the process and not be obliged to go and search for each p-id related to it and kill them one after the other.
## Setup
git clone
--
cd terminate
--
cp ./terminate /usr/bin/terminate
--
// OPTIONAL
which terminate
The expected output of the last command is "/usr/bin/terminate"
##### Note
Now you can run the terminate command anywhere in your machine.
## Benefits of terminate
1. Easy to use.
2. More user power.
3. Modular.
4. Time gain compared to the unix kill command.
## Usage
#### Using The Process Name:
terminate
:stdout: killed
Exemples:
terminate firefox
This will get all the processes related to firefox in your machine, and kill them.
so all you firefox windows will be shutdown.
#### Using String Expension:
terminate *
:stdout: warning message built in the terminate script, then if all it goes well, you will get the "killed" message.
Exemples:
terminate fire*
This will get all the processes with a process name begining with "fire", then it will kill them.
##### Warning
Using the string expention method gives you more flexiblity and power, but it also can be very dangerous, do it at your own risk.
## License
MIT