Jul 28, 2025
This article aims at summarizing all the tools used for debugging a web application or computer.
nslookup (Windows / Linux) allows to get information about DNS records. dig Linux a more advanced debugging tool, often pre-installed on Linux.dog Linux is a simple but powerful alternative to dig for DNS lookups.traceroute Linux can trace a packet through its different hops on the WAN network. Uses the packet TTL (incremented one by one) to get this info.tracert Windows Windows equivalent of traceroutemtr Linux Powerful linux diagnostic tool. It combines traceroute and pingtshark command-line, Using tsharkWireShark GUISome of these tools are taken from Michael Hausenblas's Learning Modern Linux excellent book.
# Get info about distribution
cat /etc/*-release
# Get info about Linux release (kernel)
cat /proc/version
# Print all information related to the system
uname -a
cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/diskstats
sudo dmidecode -t bios
free -htw[USER] (CPU load, ...): top -U [USER]ps fauxps -e | grep [process]stat [filename]which [cmd]find /path -name "*.ext" or in combination with grep: find . -type f -exec grep -H NAME {};dd if=/dev/zero of=testfile.dat bs=1024 count=1000 (creates a 1kB file with only zeros)stdout: command 1> file or command > filestderr: command 2> filestdout and stderr combined: command &> file or command >file 2&>1command > /dev/nullstdin: command < fileyes | tr \\n x | head -c 450m | grep zdu -h /homedf -hdd if=/dev/zero of=/path/to/disk bs=1G count=1 oflag=directSee list of modern command-line tools for Unix-based systems on ibraheemdev GitHub's page
tail -f to follow a journal/log file