Commands
Curated shell and tool commands for Linux, Windows, Python, Git, Django, SQL, and Nginx – searchable, filterable, and copyable with one click.
29 Commands found
No commands found. Try a different search or filter.
-
Linux Bash
Check disk usage
Shows disk space usage for mounted filesystems in human-readable units (e.g. GB).
df -h -
Linux Bash
Check HTTP response headers
Sends a HEAD request to the given URL and prints only the HTTP response headers, without downloading the page body.
curl -I https://example.com -
Linux Bash
Check memory and swap usage
Shows total, used, and free physical memory and swap space in human-readable units (e.g. GB).
free -h -
Linux Bash
Check Nginx service status
Shows whether the Nginx systemd service is active, along with recent log lines. Requires systemd and appropriate permissions.
systemctl status nginx -
Linux Bash
Find log files below the current directory
Find regular files ending in .log below the current directory without changing them.
find . -type f -name '*.log' -
Linux Bash
Inspect file metadata
Show size, permissions, ownership and timestamps for example.txt with GNU stat. Replace the filename.
stat -- example.txt -
Linux Bash
List all running processes
Shows all processes on the system, including the owning user, resource usage, and full command line.
ps aux -
Linux Bash
List block devices and their mount points
Shows all block devices (disks and partitions) in a tree view, including size and where each one is mounted.
lsblk -
Linux Bash
List currently running services
Shows all systemd service units that are currently active and running. Requires systemd.
systemctl list-units --type=service --state=running -
Linux Bash
List failed systemd units
Shows systemd units that have entered a failed state, useful for quickly spotting services that did not start correctly. Requires systemd.
systemctl --failed -
Linux Bash
List listening TCP/UDP sockets with owning processes
Shows listening TCP and UDP sockets along with the process name and ID bound to each port. Viewing the owning process typically requires root privileges.
ss -tulnp -
Linux Bash
Query DNS records for a domain
Looks up the DNS records for the given domain and shows the resolver's response, including the resolved IP address. Requires the dnsutils/bind-utils package.
dig example.com -
Linux Bash
Resolve a file path
Resolve symbolic links and print an absolute path using GNU readlink. All components except the last must exist.
readlink -f -- example.txt -
Linux Bash
Show error-level journal entries since the last boot
Filters the systemd journal to entries at error priority or higher recorded since the last boot. Requires systemd.
journalctl -p err -b -
Linux Bash
Show hostname, OS, and kernel details
Displays the system hostname together with the operating system, kernel version, and virtualization information. Requires systemd.
hostnamectl -
Linux Bash
Show kernel version and system architecture
Prints the kernel name, version, build date, and machine hardware architecture.
uname -a -
Linux Bash
Show logged-in users and their current activity
Shows who is logged in and what command each user's session is currently running, along with system load.
w -
Linux Bash
Show network interfaces and their IP addresses
Lists all network interfaces along with their assigned IPv4 and IPv6 addresses and current state.
ip a -
Linux Bash
Show recent kernel error and warning messages
Filters the kernel ring buffer to only error and warning level messages. May require elevated permissions depending on system configuration.
dmesg --level=err,warn -
Linux Bash
Show system uptime and load averages
Displays how long the system has been running along with the 1, 5, and 15-minute load averages.
uptime -
Linux Bash
Show systemd journal entries since the last boot
Displays all journal log entries recorded since the most recent system boot. Requires systemd.
journalctl -b -
Linux Bash
Show the kernel routing table
Displays the system's current IP routing table, including the default gateway.
ip r -
Linux Bash
Show the last 10 login records
Lists the ten most recent login sessions from the system's login history.
last -n 10 -
Linux Bash
Show the ten largest items under /var/log
Lists files and directories under /var/log sorted by size, showing only the ten largest. Useful for finding what is consuming log disk space. This is a pipeline of three commands (du, sort, head), not a single binary.
du -ah /var/log | sort -rh | head -10 -
Linux Bash
Show user ID and group memberships
Prints the numeric user ID, group ID, and all group memberships for the current user, or for a specified user.
id -
Linux Bash
Show virtual memory statistics over five samples
Reports process, memory, paging, block I/O, and CPU statistics, sampled once per second for five samples.
vmstat 1 5 -
Linux Bash
Take a one-time snapshot of process activity
Runs top in batch mode for a single iteration, printing one static snapshot of CPU and memory usage per process instead of the interactive view. Output length depends on the number of running processes.
top -bn1 -
Linux Bash
Test network connectivity with four ICMP packets
Sends four ICMP echo requests to a public IP address to check basic network reachability, independent of DNS resolution.
ping -c 4 8.8.8.8 -
Linux Bash
Verify a SHA-256 checksum list
Check files against a trusted SHA256SUMS list from the expected working directory. A checksum alone does not prove authenticity.
sha256sum --check SHA256SUMS