Skip to content

Instantly share code, notes, and snippets.

@dangerousbeans
Created October 18, 2011 14:56
Show Gist options
  • Save dangerousbeans/1295644 to your computer and use it in GitHub Desktop.
Save dangerousbeans/1295644 to your computer and use it in GitHub Desktop.
Anti-Hacker commands of usefullness and glory
# Find any files modified recently (4 days ago)
find / -type f -mtime -4 -exec ls -al {} \;
# Show detailed information about wtf a process is doing, 1234 = PID
lsof -p 1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment