Skip to content

Instantly share code, notes, and snippets.

@Rodrigora Rodrigora/kil_process.sh
Last active Dec 12, 2018

Embed
What would you like to do?
Unix commands
kill -9 $(ps aux | grep spring | awk '{print $2}' | head -n 1)
kill -9 $(ps aux | grep webkit | awk '{print $2}' | head -n 1)
# Find files and remote by pattern
find /path/to/directory -type f -name '*[0-9]x[0-9]*[0-9]x[0-9]*.jpg' -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.