Skip to content

Instantly share code, notes, and snippets.

View pet-snippet.toml
[[snippets]]
description = "DDOS Monitoriing"
command = "sudo netstat -nap | grep \\:80\\ | awk '{print $5}' | tr \":\" \" \" | awk '{print $1}' | sort | uniq -c | sort -n"
output = ""
[[snippets]]
description = "find and replace in filename (e.g., hyphen for a space)"
command = "zmv '* - *' '$f:s/ - / '"
output = ""
You can’t perform that action at this time.