cheatsheet

podman Command in Linux: Run Containers, Images & Pods (RHEL/Fedora/Rocky)

podman runs OCI containers and pods without a central daemon. On RHEL, Rocky Linux, AlmaLinux, and Fedora it is the default container CLI — pull images, run rootless workloads, manage volumes and networks, and integrate …

Deepak Prasad9 min read
cheatsheet

sysctl Command in Linux: Read, Write and Load Kernel Tunables

sysctl reads and writes kernel tunables exposed under /proc/sys. Use it to inspect dotted parameter names, set runtime values with -w, filter keys with -a -r, and load drop-in files with -p or --system.

Deepak Prasad9 min read
cheatsheet

Terraform Cheat Sheet: Commands, HCL Syntax and Examples

Scan-first Terraform cheat sheet for CLI commands, configuration files, HCL syntax, variables, expressions, count and for_each, state and import, modules, workspaces, and debugging — with links to full tutorials.

Deepak Prasad9 min read
cheatsheet

RHCSA Cheat Sheet for RHEL 10

RHCSA cheat sheet for RHEL 10 EX200 revision—compact command patterns, verification commands, and lesson links by objective area. Not a general Linux command index.

Deepak Prasad11 min read
cheatsheet

journalctl Command in Linux: View, Filter, and Troubleshoot System Logs

journalctl reads logs collected by systemd-journald — kernel messages, service output, boot sessions, and syslog traffic in one queryable journal. Filter by unit, time, priority, boot, and process fields without hunting …

Rohan Timalsina11 min read
cheatsheet

CKAD Command Cheat Sheet

Scan-first CKAD command reference for kubectl dry-run YAML generation, apply and patch, JSONPath, rollouts, Helm, Kustomize, probes, and troubleshooting with links to course lessons.

Deepak Prasad15 min read
devops

kubectl Commands and Kubernetes YAML Examples

kubectl applies declarative YAML, generates manifests with dry-run, patches live objects, and filters output with JSONPath and custom columns on any Kubernetes cluster.

Deepak Prasad14 min read
cheatsheet

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.

Deepak Prasad16 min read
cheatsheet

virt-install Command in Linux: Create KVM VMs from the CLI

virt-install provisions KVM guests through libvirt from ISO, install trees, PXE, or existing disk images. Use it to set CPU, memory, disks, networks, and graphics before the guest boots.

Deepak Prasad12 min read
cheatsheet

dsconf Commands and Examples for 389 Directory Server

Use dsconf to manage a running 389 Directory Server: backends, indexes, replication, plug-ins, logs, security, schema, monitoring, and online backups.

Deepak Prasad13 min read
cheatsheet

pidstat Command in Linux: Per-Process CPU, Memory, and I/O

pidstat from the sysstat package reports per-process and per-thread CPU, memory, disk I/O, and context-switch statistics on Linux. Use it to find which PID is driving load during an incident.

Deepak Prasad11 min read
cheatsheet

mpstat Command in Linux: Per-CPU and Interrupt Statistics

mpstat from the sysstat package reports per-processor CPU utilization, NUMA node stats, and interrupt rates on Linux. Use it to find hot CPUs, IRQ load, and uneven scheduling across cores.

Deepak Prasad11 min read
cheatsheet

ldapadd Command in Linux: Syntax, LDIF & Practical Examples

ldapadd creates LDAP entries from LDIF input. Use a StartTLS-protected simple bind for directory data or SASL EXTERNAL over LDAPI for local cn=config schema work.

Deepak Prasad9 min read
cheatsheet

ldapdelete Command in Linux: Syntax, Recursive Deletes & Examples

ldapdelete removes LDAP entries by distinguished name. It supports one or more DNs on the command line, a DN file, and recursive subtree deletion when a non-leaf entry must be removed.

Deepak Prasad8 min read
cheatsheet

ldapmodify Command in Linux: Syntax, LDIF Changes & Examples

ldapmodify applies LDIF changes to LDAP entries. It adds, replaces, or deletes attributes using a StartTLS simple bind, and can modify local cn=config through LDAPI SASL EXTERNAL.

Deepak Prasad9 min read
cheatsheet

ldapsearch Command in Linux: Syntax, Filters & Practical Examples

ldapsearch queries LDAP directory entries from the command line. It can search anonymously, use a simple bind protected by StartTLS, or authenticate locally over LDAPI with SASL EXTERNAL.

Deepak Prasad15 min read
cheatsheet

ldapwhoami Command in Linux: Syntax & OpenLDAP Bind Examples

ldapwhoami performs the LDAP Who Am I extended operation after a bind. It is a compact way to verify the authorization identity seen by an OpenLDAP server.

Deepak Prasad7 min read
cheatsheet

slappasswd Command in Linux: Generate OpenLDAP Password Hashes

slappasswd generates RFC 2307 password values for OpenLDAP userPassword attributes and the cn=config olcRootPW setting on RHEL-family LDAP servers.

Deepak Prasad8 min read
cheatsheet

Manage 389 Directory Server Data with dsidm

dsidm manages directory data in a 389 Directory Server instance — organizational units, POSIX users and groups, groupOfNames, service accounts, roles, and client configuration snippets. Server tuning stays in dsconf; …

Deepak Prasad12 min read
cheatsheet

dsctl Commands for Managing 389 Directory Server Instances

dsctl manages local 389 Directory Server instances on the host — start and stop ns-slapd, list instances, run offline backups and LDIF exports, inspect TLS certificates, and remove instances. It does not change online …

Deepak Prasad14 min read
cheatsheet

slapadd Command in Linux: Import LDIF into an OpenLDAP Database

slapadd imports LDIF directly into an offline OpenLDAP backend for controlled restores and initial loads on RHEL-family servers with openldap-servers.

Deepak Prasad9 min read
cheatsheet

slapcat Command in Linux: Export an OpenLDAP Database to LDIF

slapcat exports an OpenLDAP server database to LDIF for offline backup, migration, and inspection on RHEL-family systems using openldap-servers.

Deepak Prasad9 min read
cheatsheet

slaptest Command in Linux: Validate OpenLDAP slapd Configuration

slaptest parses and checks OpenLDAP slapd configuration before service startup or a configuration change on RHEL-family servers using openldap-servers.

Deepak Prasad8 min read
cheatsheet

auditd Commands in Linux: auditctl, ausearch & aureport (RHEL/Fedora/Rocky)

The Linux audit framework logs security-relevant events through auditd. Use auditctl to define rules, ausearch to query the audit log, and aureport for summaries — with augenrules to load persistent policy on RHEL-family …

Deepak Prasad9 min read
cheatsheet

nft Command in Linux: nftables Rules, Tables & Chains (RHEL/Fedora/Rocky)

nft is the userspace CLI for the Linux nftables firewall framework. Define tables, chains, and rules in the netfilter stack — list the live ruleset, load rule files, and debug filtering alongside firewalld on RHEL-family …

Deepak Prasad11 min read
cheatsheet

cryptsetup Command in Linux: LUKS2 Syntax, Options & Examples (Ubuntu)

cryptsetup manages LUKS disk encryption through the kernel dm-crypt device mapper. Use it to format partitions, open and close mapper devices, rotate passphrases, back up headers, and inspect LUKS2 metadata on Ubuntu and …

Deepak Prasad14 min read
cheatsheet

nmcli Command in Linux: Network Configuration, IP, DNS, Routing & Examples

nmcli is the command-line client for NetworkManager. It lists devices and connections, sets IPv4/IPv6 addresses, DNS, routes, hostname, and applies profile changes without editing ifcfg files by hand.

Rohan Timalsina15 min read
cheatsheet

100+ Linux Commands Cheat Sheet (With Practical Examples)

A complete Linux commands cheat sheet with 100+ essential commands and practical examples. Learn file management, system monitoring, networking, permissions, and DevOps-related Linux commands used by administrators, …

Deepak Prasad11 min read
cheatsheet

keytool Command Examples in Linux: Complete Cheat Sheet

keytool is the Java CLI for keystores and truststores: generate key pairs, build CSRs, import CA-signed certificates and PKCS12 bundles, list aliases, export PEM certs, and manage passwords. This cheat sheet covers …

Deepak Prasad15 min read
cheatsheet

OpenSSL Command Cheat Sheet: Keys, Certificates, TLS & PKCS#12

OpenSSL is the standard CLI for TLS keys, X.509 certificates, CSRs, chain verification, PKCS#12 bundles, file encryption, and live HTTPS inspection. This cheat sheet covers everyday subcommands with copy-paste tables and …

Deepak Prasad16 min read