https://github.com/mj-963/homebrew-kill-server
Homebrew tap for the kill-server script, which helps manage and terminate processes running on a specified port on macOS and Linux systems.
https://github.com/mj-963/homebrew-kill-server
bash kill-server killswitch port process-manager
Last synced: 7 months ago
JSON representation
Homebrew tap for the kill-server script, which helps manage and terminate processes running on a specified port on macOS and Linux systems.
- Host: GitHub
- URL: https://github.com/mj-963/homebrew-kill-server
- Owner: mj-963
- Created: 2024-07-11T13:22:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T13:57:12.000Z (over 1 year ago)
- Last Synced: 2025-06-05T11:46:51.043Z (8 months ago)
- Topics: bash, kill-server, killswitch, port, process-manager
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Homebrew Tap for kill-server
This repository is a Homebrew tap for the `kill-server` script, which helps manage and terminate processes running on a specified port on macOS and Linux systems.
## Installation
### Adding the Tap
First, add this tap to your Homebrew installation:
- ```bash
brew tap mj-963/kill-server
### Installing kill-server
After adding the tap, you can install the kill-server script with the following command:
- ```bash
brew tap mj-963/kill-server
## Usage
###### Basic Usage
- To kill a process running on a specific port:
```bash
./kill-server.sh
###### Options
- `-f`: Forcefully kill the process without asking for confirmation.
- `-a`: Kill all processes running on the specified port with single confirmation.
###### Example
- ```bash
# Forcefully kill a process on port 8080
./kill-server.sh -f 8080
# Kill all processes on port 8080 with confirmation
./kill-server.sh -a 8080
# Kill all processes on port 8080 forcefully
./kill-server.sh -a -f 8080
## Features
- Kill a single process running on a specified port.
- Forcefully kill a process without confirmation using the `-f` option.
- Kill all processes running on a specified port with the `-a` option, prompting for confirmation.
- Colorful and user-friendly command-line interface.
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/mj-963/kill-server/blob/main/LICENSE) file for details.
## Contributing
Contributions are welcome! Please feel free to submit pull requests.
## Acknowledgments
- Inspired by the need to manage processes faster and efficiently on macOS and Linux.
- Built with bash scripting and standard UNIX tools.
## Support
For support or questions, please open an issue in the GitHub repository.
### Notes:
- Replace `` with the actual port number of server you want to kill.