Created
November 11, 2018 14:09
-
-
Save neuthral/c705e5c5081c6c5121a83711828b354c to your computer and use it in GitHub Desktop.
killUnity #unity #cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "killing all unit process" | |
process=$(ps aux | grep "Unity" | grep -v grep | awk '{print $2}') | |
for p in $process | |
do | |
kill -9 $p | |
done | |
echo "removing locks" | |
find /home/bender/workspace/unity -name UnityLockfile | xargs rm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment