Useful-scripts/killwine.sh
2023-05-23 02:26:01 +02:00

8 lines
186 B
Bash

#!/bin/bash
#kill wineserver
wineserver -k;
killall -9 wine wineserver;
#kill every exe process
for i in `ps ax|grep -E "\.exe"|awk '{print $1 }'`;do kill -9 $i;done;
echo 'killed wine'