Last active
March 13, 2024 06:00
-
-
Save wk989898/b55bb19960bcd795bd638b54ac8d1ab7 to your computer and use it in GitHub Desktop.
useful bash command
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
# batch kill process | |
ps aux | grep * | awk '{print $2}' | xargs kill -9 | |
# remove tensorboard files | |
find ./log -type f -size -1k -exec rm -r {} + && find ./log -empty -exec rm -r {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment