Useful commands on Linux 🐧

The following page contains just random useful Linux cli commands I often use and want to keep somewhere to copy and paste. Mostly useful to myself.

Systemd resolvd debugging

Show configuration including used resolvers

Flush local DNS caches

Connections and ports with ss

List all listening UDP oder TCP sockets including the PID

List all TCP connections to a certain port