Skip to content

mj-963/homebrew-kill-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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:

  • brew tap mj-963/kill-server
    

Installing kill-server

After adding the tap, you can install the kill-server script with the following command:

  • brew tap mj-963/kill-server
    

Usage

Basic Usage
  • To kill a process running on a specific port:
    ./kill-server.sh <port>
Options
  • -f: Forcefully kill the process without asking for confirmation.
  • -a: Kill all processes running on the specified port with single confirmation.
Example
  • # 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 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 <port> with the actual port number of server you want to kill.

About

Homebrew tap for the kill-server script, which helps manage and terminate processes running on a specified port on macOS and Linux systems.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages