mirror of
https://github.com/KuJoe/kontrolvm.git
synced 2025-04-22 12:53:25 +00:00
7 lines
No EOL
172 B
Bash
7 lines
No EOL
172 B
Bash
#!/bin/sh
|
|
# Script Name: killconsole
|
|
|
|
PID=`ps -ef | grep "websockify" | grep "localhost:$1" | awk '{print $2}'`
|
|
for i in $PID; do sleep 2;
|
|
sudo /bin/kill -9 $PID;
|
|
done |