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

10+ traceroute command in Linux [Cheat Sheet]

Use traceroute command to trace the route from a switch to a host device and helps in troubleshooting network unreachable issues by identifying the network hops

Rohan Timalsina4 min read
cheatsheet

rmmod Command Examples in Linux

The rmmod command in Linux is used to remove a module from the linux kernel.

Omer Cakmak3 min read
cheatsheet

Increase load with stress command in Linux [Cheat Sheet]

Use stress command to increase load on CPU, Memory, Disk and Disk I/O with examples.

Rohan Timalsina3 min read
cheatsheet

9 screen command Examples in Linux [Cheat Sheet]

The syntax for screen command is as follows:

Rohan Timalsina4 min read
cheatsheet

15+ Tips to PROPERLY sort files in Linux [Cheat Sheet]

The simplest way to sort files in Linux is to sort them alphabetically by name. This is done using the ls command with the -l option and piping it to the sort

Omer Cakmak8 min read
cheatsheet

50+ tmux cheat sheet and shortcut commands

In this tutorial I have shared the most used tmux cheatsheet with the list of commands and shortcuts for sessions, windows panes etc in tmux

Deepak Prasad4 min read
cheatsheet

15 virt-install examples | KVM virtualization commands cheatsheet

virt-install examples to create KVM Virtual Machine in Linux. virt-install cheatsheet with virsh to manage the VM. Use location, PXE, custom disks, network with virt-install

Deepak Prasad9 min read
cheatsheet

sysctl reload without reboot

Use sysctl -p FILE or sysctl --load FILE or sysctl --system to perform sysctl reload without reboot. Update the initramfs using dracut -f or update-initramfs command

Deepak Prasad8 min read
cheatsheet

20 ss command examples in Linux [Cheat Sheet]

Use ss command to examine the sockets in Linux. It is an excellent network troubleshooting tool, successor of netstat command. Check active connections with different state such as established, listening, time_wait, …

Rohan Timalsina14 min read
cheatsheet

10+ vmstat command examples in Linux [Cheat Sheet]

use vmstat command in linux to monitor CPU, memory, disk IO and many more resources dynamically run time.

Rohan Timalsina7 min read
cheatsheet

vgcreate command examples in Linux [Cheat Sheet]

The vgcreate command in Linux is used to create a volume group. The best part of using volume groups to create partitions is that you can runtime increase or decrease the storage pool to add more partitions. You can also …

Rohan Timalsina5 min read
cheatsheet

25+ yum command examples in Linux [Cheat Sheet]

yum command in linux is a package manager used with CentOS, RHEL, Rocky, Fedora distribution. It is used to install, update, upgrade, remove or modify packages

Rohan Timalsina16 min read
cheatsheet

Linux zip folder | 16 practical Linux zip command examples

How to zip a folder in Linux. How to create a zip file in Linux and Unix. Zip command examples and cheatsheet. Linux zip directory. Linux unzip to directory.

Deepak Prasad15 min read
cheatsheet

Linux Interview questions and answers for experienced users

Here I have consolidated 29 linux interview questions and answers for experienced professionals working into Linux or System Administrator profile.

Deepak Prasad6 min read
cheatsheet

5+ nice & renice command examples in Linux [Cheat Sheet]

nice and renice command syntax and examples explained in Linux. Use nice command to start a process with defined priority. Use renice command to change the priority of existing process

Rohan Timalsina5 min read
cheatsheet

15 usermod command examples in Linux [Cheat Sheet]

usermod command examples in Linux and Unix to modify the attributes of existing users. Change user's primary or secondary groups, home directory, login shell etc with usermod command

Rohan Timalsina6 min read
cheatsheet

15 useradd command examples in Linux [Cheat Sheet]

Multiple examples for useradd command in linux. Create users in Linux and Unix using useradd command.

Rohan Timalsina7 min read
cheatsheet

Multiple one liners SFTP commands example to copy file from remote server to local machine windows and vice versa. sftp get command examples, usage syntax

Deepak Prasad11 min read
cheatsheet

Real time sync directories, delete files, exclude files from directory sync using lsyncd with rsync and rsyncssh in RHEL/CentOS 7/8 Linux with examples.

Deepak Prasad13 min read
cheatsheet

20+ rsync command examples in Linux [Cheat Sheet]

rsync command in Linux is used to transfer files and directories between one or more remote hosts. rsync is considered better than scp as it provides vast options.

Rohan Timalsina9 min read
cheatsheet

Using lvreduce to PROPERLY shrink Logical Volume [Cheat Sheet]

Step by step instructions to shrink logical volume using lvreduce command with examples. You can shrink root or non -root logical volume

Rohan Timalsina6 min read
cheatsheet

15+ lsof command examples in Linux [Cheat Sheet]

15+ lsof command examples cheat sheet to list the open files across file systems. List open TCP connections for IPv4 and IPv6 communication.

Rohan Timalsina13 min read
cheatsheet

5 pvcreate command examples in Linux [Cheat Sheet]

pvcreate command initializes a disk or partition as a physical volume. The physical volumes are used to create a volume group and the LVM logical volumes are

Rohan Timalsina3 min read
cheatsheet

grep Command in Linux Explained with Practical Examples

Learn how to use the grep command in Linux with practical examples. This guide explains common grep options such as recursive search, counting matches, matching whole words, printing line numbers, searching multiple …

Rohan Timalsina12 min read
cheatsheet

How to PROPERLY rename Logical Volume

Step by step instructions to rename logical volume i.e. both root and non- root. Update fstab, grub2 and generate initramfs to make sure the server reboots properly after renaming.

Rohan Timalsina9 min read
cheatsheet

10+ lzop command examples in Linux [Cheat Sheet]

File compression is a process in which the file or group of files is compressed into a single archive file to reduce the size. It is used to store or share

Rohan Timalsina5 min read
cheatsheet

10+ xz command examples in Linux [Cheat Sheet]

The syntax for xz command is as follows:

Rohan Timalsina6 min read
cheatsheet

5+ lvdisplay command examples in Linux [Cheat Sheet]

In this tutorial we explore lvdisplay command which is used to display the logical volume status and many other details such as name, UUID, status, size etc

Rohan Timalsina4 min read
cheatsheet

15+ rpm command examples in Linux [Cheat Sheet]

rpm command in Linux is used to manage packages. Install, upgrade and remove packages with or without dependencies. Verify rpm packages

Rohan Timalsina6 min read
cheatsheet

15+ scp command examples in Linux [Cheat Sheet]

Use scp command in linux to transfer files securely from one host to one or more remote hosts in Linux. Tutorial Cheat sheet to use scp command

Rohan Timalsina11 min read