An open API service indexing awesome lists of open source software.

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.

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.