From 04316e5b77cb99c0a0c9965c92cee58b304bb089 Mon Sep 17 00:00:00 2001 From: "sam.hadow" Date: Tue, 23 May 2023 02:26:01 +0200 Subject: [PATCH] Update 'killwine.sh' --- .killwine | 2 -- killwine.sh | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) delete mode 100644 .killwine create mode 100644 killwine.sh diff --git a/.killwine b/.killwine deleted file mode 100644 index 30d7a45..0000000 --- a/.killwine +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -wineserver -k; killall -9 wine wineserver; for i in `ps ax|grep -E "\.exe"|awk '{print $1 }'`;do kill -9 $i;done;echo 'killed wine' diff --git a/killwine.sh b/killwine.sh new file mode 100644 index 0000000..7e1544b --- /dev/null +++ b/killwine.sh @@ -0,0 +1,7 @@ +#!/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'