We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c70f4d commit 2da72b5Copy full SHA for 2da72b5
2 files changed
specs/shell/kill_processes_at_port.yaml
@@ -0,0 +1,12 @@
1
+name: Kill processes at port
2
+description: Kill processes at a port.
3
+author: Maurice Gerhardt
4
+author_url: https://github.com/heymage
5
+tags: ["macos", "shell"]
6
+shells:
7
+ - zsh
8
+ - bash
9
+command: kill $(lsof -t -i:{{port}})
10
+arguments:
11
+ - name: port
12
+ description: The port where processes should be killed
specs/shell/list_processes_at_port.yaml
+name: List processes at port
+description: List processes at a port to see if there are running processes.
+command: lsof -i:{{port}}
+ description: The port that should be checked
0 commit comments