added kill-chrome

This commit is contained in:
socrates
2023-12-11 11:00:34 +01:00
parent 0afc41c178
commit eb69935ede

6
kill-chrome Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
ps -ef | grep chromium | grep -v grep | awk '{print $2}' | xargs kill -9
ps -ef | grep chromedriver | grep -v grep | awk '{print $2}' | xargs kill -9
ps -ef | grep Xvfb | grep -v grep | awk '{print $2}' | xargs kill -9