OTHER

  • netstat -tunlp
    • check what ports are open and listening
  • /proc/net/tcp
    • check what ports are open and listening
    • Example: 0100007F:0539 = 127.0.0.1:1337 (0x0539 = 1337)
  • find . -type f -name "*.txt" -exec grep -l "linux" {} + 2>/dev/null
    • find the string linux in txt files
  • find . -type d -name "*.txt" -exec grep -l "linux" {} +