Skip to content

Instantly share code, notes, and snippets.

@pmody-medis
Last active June 16, 2025 14:26
Show Gist options
  • Select an option

  • Save pmody-medis/01505c6f188ee742fd9973aa29d415ca to your computer and use it in GitHub Desktop.

Select an option

Save pmody-medis/01505c6f188ee742fd9973aa29d415ca to your computer and use it in GitHub Desktop.
Unix Services and Docker
  1. Cleanup cache
  • docker system prune -a
  1. List all systemctl services
  • sudo systemctl list-units --type=service
  1. lsof (list open files)
  • lsof -i :<port>
  1. netstat/ss
  • ss -tulnp | grep <port>
  • netstat -tulnp | grep <port>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment