Category

Linux and DevOps Cheat Sheets

Quick reference cheat sheets for Linux commands, Git, Docker, and DevOps tools to help you perform tasks faster.

The Cheat Sheets section provides quick reference guides for commonly used commands and tools.

These guides are designed to help you quickly recall commands without going through detailed tutorials.

Explore related sections like Linux and DevOps for deeper learning.

108 articles

Cheat sheets category illustration with quick command reference cards and examples
cheatsheet

dpkg Command in Linux: Practical Examples & Complete Cheat Sheet

Learn how to use the dpkg command in Linux with practical examples. This cheat sheet covers installing and removing .deb packages, fixing broken packages, querying installed software, force operations, downgrading …

Rohan Timalsina9 min read
cheatsheet

csplit and split Command Examples in Linux (Cheat Sheet)

Learn how to split files in Linux using csplit and split commands. Covers pattern-based splitting, size-based splitting, prefixes, suffixes, and how to rejoin files.

Deepak Prasad5 min read
cheatsheet

cut Command in Linux: Practical Examples & Cheat Sheet

Learn how to use the cut command in Linux with clear, practical examples. This guide covers selecting bytes, characters, and fields, working with delimiters, ranges, complements, and common real-world text-processing use …

Rohan Timalsina6 min read
cheatsheet

DNF Command Cheat Sheet in Linux (With Practical Examples)

A complete DNF command cheat sheet for Linux with practical examples. Learn how to use dnf to install, update, remove packages, manage repositories, work with package groups, undo transactions, and troubleshoot common …

Rohan Timalsina6 min read
cheatsheet

crontab Command in Linux: Practical Examples & Cheat Sheet

Learn how to use the crontab command in Linux with practical examples. Understand cron syntax, scheduling formats, special time strings, managing user crontabs, debugging cron jobs, and best practices.

Rohan Timalsina5 min read
cheatsheet

How to Create Symbolic Links in Linux (Soft & Hard Links Explained)

Learn how to create symbolic links in Linux using the ln command. Understand soft links vs hard links, when to use each, and how to verify, find, and remove symlinks with practical examples.

Deepak Prasad7 min read
cheatsheet

curl Command in Linux: Practical Examples & Cheat Sheet

Learn how to use the curl command in Linux with clear, practical examples. This cheat sheet covers downloading files, HTTP headers, silent mode, redirects, POST requests, authentication, and common troubleshooting use …

Rohan Timalsina7 min read
cheatsheet

cpio Command in Linux: Practical Examples & Cheat Sheet

Learn the cpio command in Linux with clear, practical examples. Understand copy- in, copy-out, and pass-through modes, create and extract archives, preserve permissions, work with initramfs, and compare cpio with tar.

Rohan Timalsina7 min read
cheatsheet

dmidecode Command in Linux: BIOS, Serial, Memory & CPU (Cheat Sheet)

Learn dmidecode with practical examples to read SMBIOS/DMI data in Linux. Get BIOS version, system manufacturer, serial number, UUID, memory slot details, and CPU information, plus troubleshooting for permission errors …

Rohan Timalsina7 min read
cheatsheet

chown Command in Linux: Change File & Directory Ownership (Cheat Sheet)

Learn how to use the chown command in Linux to change file and directory ownership safely. Covers recursive chown, symbolic links, --from, --reference, verbose output, and best practices.

Rohan Timalsina6 min read
cheatsheet

How to Use Screen in Linux [List, Attach, Detach, Close]

Learn how to use the screen command in Linux to manage persistent terminal sessions. Includes examples to list, attach, detach, rename, log, and close screen sessions with practical shortcuts.

Omer Cakmak7 min read
cheatsheet

cmp Command in Linux: Compare Files Byte by Byte (Examples & Cheat Sheet)

Learn how to use the cmp command in Linux to compare files byte by byte. Includes practical examples, options like -l, -b, -s, exit codes, and real-world scripting use cases.

Rohan Timalsina6 min read
cheatsheet

How to Use chmod Recursive (-R) in Linux

Learn how to use chmod recursive (-R) in Linux with clear examples. Change permissions for all files or directories using 755 or 777, avoid common mistakes, and restore permissions safely.

Deepak Prasad6 min read
cheatsheet

chage Command in Linux: Password Expiry, Aging, and Account Policies

Learn how to use the chage command in Linux to manage password expiry, account aging, inactivity locks, and user expiration with practical examples and best practices.

Rohan Timalsina7 min read
cheatsheet

chattr Command in Linux: Change File Attributes Using Immutable and Append-Only Flags

Learn the chattr command in Linux with 11 practical examples. Understand file attributes, immutable files, append-only mode, and how to use lsattr to inspect attributes.

Rohan Timalsina9 min read
cheatsheet

chgrp Command in Linux Explained: Change Group Ownership with Examples

Learn how to use the chgrp command in Linux to change group ownership of files and directories. Includes recursive usage, sudo examples, symbolic links, error handling, and a quick reference cheat sheet.

Rohan Timalsina6 min read
cheatsheet

Linux ACL Explained: setfacl vs chacl With Practical Examples

Learn Linux Access Control Lists (ACL) with clear explanations and practical examples. Understand when to use setfacl vs chacl, how to inspect, change, remove, and apply ACLs recursively on files and directories, and …

Rohan Timalsina12 min read
cheatsheet

cat Command in Linux: Syntax, Examples & Cheat Sheet (Beginner Friendly)

Learn the cat command in Linux with simple, practical examples. This beginner- friendly cheat sheet covers syntax, file creation, appending, line numbers, whitespace detection, and concatenating multiple files.

Deepak Prasad8 min read
cheatsheet

AWK Command in Linux: Complete Guide with Practical Examples

Learn the AWK command in Linux with practical examples. Covers syntax, patterns, columns, BEGIN/END blocks, loops, scripts, and real-world use cases.

Deepak Prasad17 min read
cheatsheet

apt-cache Command in Linux (Ubuntu/Debian): Search, Policy & Dependencies

Learn how to use the apt-cache command in Ubuntu and Debian to search packages, inspect package policy, analyze dependencies, and debug APT issues with clear, practical examples.

Rohan Timalsina4 min read
cheatsheet

apt Command in Linux: Complete Guide with Examples & Cheat Sheet

Learn the apt command in Linux with 15 practical examples. This APT commands cheat sheet covers installing, removing, updating, upgrading, searching, and managing packages on Debian-based systems.

Rohan Timalsina7 min read
cheatsheet

bzip2 Command in Linux: Complete Guide with Examples & Best Practices

Learn the bzip2 command in Linux with practical examples. Compress and extract files and directories, verify integrity, optimize performance, and compare bzip2 with gzip and xz.

Rohan Timalsina6 min read
cheatsheet

adduser Command in Linux: Syntax, Options & Practical Examples (Ubuntu/Debian)

Learn the adduser command in Linux with syntax, options, and 15 practical examples. Create users, system users, groups, set UID, GID, GECOS, shells, and home directories on Ubuntu and Debian systems.

Rohan Timalsina5 min read
cheatsheet

10+ mdadm command examples in Linux [Cheat Sheet]

mdadm command is used for building, managing, and monitoring Linux md devices (aka RAID arrays). RAID devices are made up of multiple storage devices that are

Rohan Timalsina10 min read
cheatsheet

10+ rpmbuild command examples in Linux [Cheat Sheet]

rpmbuild command in Linux is used to build RPM packages. An RPM package is of two types: source RPM and binary RPM. A binary package contains the software to

Rohan Timalsina11 min read
cheatsheet

10+ swapon and swapoff command examples in Linux [Cheat Sheet]

How to create a swap file in Linux? Different examples to use swapon command Enable all swaps devices and files, Display swap usage summary, Disable all swap devices and files, Reinitialize the swap space, Display swap …

Rohan Timalsina5 min read
cheatsheet

15 tune2fs command examples in Linux [Cheat Sheet]

tune2fs command examples, tune2fs uuid, tune2fs example, tune2fs xfs, tune2fs reserved space, man tune2fs, tune2fs command allows to mcq, tune2fs has journal

Rohan Timalsina6 min read
cheatsheet

10+ losetup command examples in Linux [Cheat Sheet]

Manage loop devices in Linux using losetup command. Complete cheat sheet on using losetup command with examples

Rohan Timalsina5 min read
cheatsheet

10+ mke2fs command examples in Linux [Cheat Sheet]

Multiple mke2fs command examples in Linux with cheat sheet for different scenarios.

Rohan Timalsina4 min read
cheatsheet

10+ tcpdump command examples in Linux [Cheat Sheet]

Capture TCP or UDP packets using tcpdump command in Linux. Capture packet for specific interface, specify source and destination.

Rohan Timalsina4 min read