Last active
April 11, 2025 12:06
-
-
Save david-wb/162de776afd919989e39026c4d15858e to your computer and use it in GitHub Desktop.
bash alias to kill all gazebo processes
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
alias killgz='pids=$(ps aux | grep -E "[i]gn|[g]z" | awk "{print \$2}"); [ -n "$pids" ] && echo "$pids" | xargs kill -9' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment