dmidecode Command in Linux: BIOS, Serial, Memory & CPU (Debian/Ubuntu)
dmidecode reads SMBIOS/DMI tables from firmware and prints hardware inventory: BIOS version, system vendor and serial, board, chassis, processor, and memory layout on Linux.
dpkg Command in Linux: Syntax, Options & Practical Examples (Debian/Ubuntu)
dpkg is the low-level package manager for .deb archives on Debian and Ubuntu. It installs, removes, configures, and inspects packages in the local dpkg database without resolving repository dependencies.
rpm Command in Linux: Syntax, Options & Practical Examples (RPM-Based Distros)
rpm is the low-level package manager for .rpm archives on RHEL, Fedora, Rocky Linux, and AlmaLinux. It installs, upgrades, erases, queries, and verifies RPM packages and maintains the local RPM database.
nmap Command in Linux: Syntax, Options & Practical Examples (Ubuntu)
nmap (Network Mapper) discovers hosts, scans TCP and UDP ports, detects services and OS fingerprints, and runs NSE scripts. It is the standard CLI tool for network inventory and authorized security audits on Linux.
grep Command in Linux: Search Text, Logs, and Command Output
grep prints lines that match a pattern in files or piped input. Use it to scan logs, filter command output, and count or list matches with GNU grep options.
iotop Command in Linux: Syntax, Options & Practical Examples (Ubuntu)
iotop shows real-time disk read and write bandwidth per process and thread on Linux. It reads kernel I/O accounting so you can see which application is saturating storage during slowdowns.
ssh-keygen Command in Linux: Generate, Inspect, and Manage SSH Keys
ssh-keygen from OpenSSH creates, inspects, and converts SSH key pairs for public-key login. It writes a private key and a .pub file you copy to a server authorized_keys file.
ip Command in Linux: Addresses, Links, Routes, and Troubleshooting
ip from iproute2 configures addresses, links, and routes on Linux. Subcommands ip addr, ip link, and ip route replace legacy ifconfig and route for day-to-day network inspection and temporary changes.
screen Command in Linux: Syntax, Sessions, Windows & Key Bindings
GNU screen is a terminal multiplexer that keeps shell sessions alive after disconnect, supports multiple windows in one session, and reattaches over SSH when the network drops.
stress Command in Linux: Syntax, Options & Load Testing Examples
stress spawns worker processes that load CPU, virtual memory, disk I/O, and disk writes so you can test cooling, schedulers, and monitoring under synthetic pressure. It is not installed by default on Ubuntu — install the …
traceroute Command in Linux: Syntax, Options & Route Tracing Examples
traceroute prints each router hop between your Linux host and a destination by sending probes with increasing TTL values and reporting round-trip times. On Ubuntu it ships as the modern traceroute.db implementation with …
tcpdump Command in Linux: Capture Packets, Filters & Examples
tcpdump captures live network traffic or reads saved pcap files, applies BPF filters for TCP/UDP/ICMP and hosts, and prints or writes packets for troubleshooting and security review.
tune2fs Command in Linux: Syntax, Options & ext4 Tuning Examples
tune2fs reads and changes tunable parameters on unmounted or read-only-safe ext2, ext3, and ext4 block devices — mount counts, check intervals, volume labels, UUIDs, reserved blocks, default mount options, and feature …
rpmbuild Command in Linux: Syntax, Stages & RPM Package Examples
rpmbuild drives the RPM packaging pipeline from a .spec file — %prep, %build, %install, and binary or source RPM output. On Ubuntu, install the rpm package for rpmbuild; native Debian packages use dpkg-buildpackage …
sudo Command in Linux: Syntax, Options & Practical Examples
sudo lets permitted users run commands as root or another account using rules in /etc/sudoers and /etc/sudoers.d/. It logs actions, caches credentials for a timeout, and supports non-interactive and environment-control …
su Command in Linux: Syntax, Options & Practical Examples
su runs a shell or single command with another user and group ID. On Ubuntu it uses PAM for authentication; login mode (-) resets the environment and home directory like a real login.
tee Command in Linux: Syntax, Options & Practical Examples
tee reads standard input and writes a copy to every named file while also sending the same bytes to standard output. Use it in pipelines when you want to save command output and still see it on the terminal.
sar Command in Linux: Syntax, Options & Performance Reports (Ubuntu)
sar (System Activity Reporter) prints CPU, memory, disk, network, and load averages from live counters or files collected by sysstat under /var/log/sysstat. Install the sysstat package and enable data collection for …
adduser Command in Linux: Syntax, Options & Practical Examples (Ubuntu/Debian)
On Ubuntu and Debian, adduser is a high-level wrapper that creates and manages local users and groups. It applies /etc/adduser.conf policy, then calls useradd and related tools to set home directories, shells, UID/GID, …
ss Command in Linux: Syntax, Options & Socket Filtering (Ubuntu)
ss (socket statistics) from iproute2 lists TCP, UDP, UNIX, and other sockets on Linux — states, queues, processes, and filters — faster and richer than legacy netstat.
top Command in Linux: Syntax, Options & Process Monitoring Examples
top shows a live summary of CPU, memory, and tasks, plus a sortable process list. Batch mode (-b) prints snapshots for scripts and logs without the interactive TUI.
rsync Command in Linux: Syntax, Options & Sync Examples (Ubuntu)
rsync copies and synchronizes files locally or over SSH using a delta algorithm — only changed blocks are sent. Archive mode (-a) preserves permissions and timestamps; --delete mirrors removals; --dry-run previews …
scp Command in Linux: Syntax, Options & Secure File Copy Over SSH
scp copies files and directories between hosts over SSH using the SFTP protocol by default. It supports recursion, bandwidth limits, identity keys, and ssh_config options on Ubuntu and most Linux systems.
tar Command in Linux: Syntax, Options & Practical Examples
GNU tar bundles files and directories into a single archive and restores them later. Create with -c, list with -t, extract with -x, and add gzip, bzip2, xz, or zstd compression with -z, -j, -J, or -a.
ssh Command in Linux: Syntax, Options & Safe Local Examples
ssh is the OpenSSH client for encrypted remote login and command execution. It reads ssh_config, negotiates ciphers with the server, and supports port forwarding, jump hosts, and algorithm queries via ssh -Q.
useradd Command in Linux: Syntax, Options & Examples
useradd is the low-level shadow-utils command that creates local Linux accounts in /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow. Use flags such as -m, -u, -g, -G, -s, and -e to control home directories, IDs, …
tmux Command in Linux: Sessions, Panes, Windows & Key Bindings
tmux is a terminal multiplexer that keeps shell sessions running in the background, splits one screen into panes and windows, and reconnects after SSH drops. Default prefix is Ctrl+b.
swapon and swapoff Command in Linux [Cheat Sheet]
swapon and swapoff cheat sheet for Linux: check swap usage, enable swap from fstab or a swapfile, set priority, and disable swap safely—with real command output from Ubuntu 25.04.
How to limit CPU using cgroups (v2 and v1) on Linux
How to cap CPU with Linux cgroups: cgroup v2 cpu.max and cpu.stat, cgroup v1 cfs quota files, systemd CPUQuota and CPUWeight, shared limits with systemd slices, optional CPUQuotaPeriodSec, plus how this differs from …
HPE iLO 4 & 5 CLI Commands Cheat Sheet (SSH Command Line Guide)
Learn the most useful HPE iLO CLI commands with this practical cheat sheet. This guide explains how to access the iLO command line using SSH or Onboard Administrator (OA) and run common commands to manage users, network …






