What is the difference between df and du?
`df` reports filesystem usage; `du` estimates usage by files and directories. Both views help locate storage problems.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 2305–2316 of 3610 questions
`df` reports filesystem usage; `du` estimates usage by files and directories. Both views help locate storage problems.
Use `free`, `/proc/meminfo`, and `swapon`; Linux also uses RAM for reclaimable filesystem caches.
Give each user and service only the access it needs; check all path components and policy layers when diagnosing access failures.
Umask removes permission bits from requested default modes when creating files and directories.
2xx indicates success, 3xx redirection, 4xx client-side errors, and 5xx server-side errors. Proxies can also generate responses.
CIDR specifies how many leading address bits identify the network; for example, `/24` means 24 network bits in IPv4.
A is IPv4, AAAA is IPv6, CNAME is an alias, MX identifies mail routing, and TXT stores text values.
A runbook records repeatable diagnostic and recovery steps, expected outputs, escalation paths, and rollback procedures.
The default gateway is used when no more specific route matches the destination.
HTTPS protects HTTP with TLS, providing encryption and server authentication when certificate validation succeeds.
`nc` can test whether a TCP port accepts a connection, but it does not prove the application protocol works correctly.
R is running/runnable, S is interruptible sleep, D is uninterruptible sleep, and Z is a zombie awaiting reaping.