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

15+ SSH command examples in Linux [Cheat Sheet]

ssh command in Linux (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine.

Rohan Timalsina7 min read
cheatsheet

20 sar command examples in Linux [Cheat Sheet]

Complete cheat sheet with examples to use use sar command to view reports about CPU utilization, memory utilization, I/O usage, swapping statistics, filesystems statistics, network statistics, etc

Rohan Timalsina10 min read
cheatsheet

15+ tar command examples in Linux [Cheat Sheet]

Create and extract any archive using tar command. List content of an archive, exclude files, create bzip2 or gzip archive using tar command in Linux

Rohan Timalsina6 min read
cheatsheet

Locate files using which command in Linux [Cheat Sheet]

which command is used to locate the executable file associated with the specified command in Unix-based operating systems. It searches for the executables in

Rohan Timalsina2 min read
cheatsheet

9 su command examples in Linux [Cheat Sheet]

su command is used to switch users between one user to another and execute commands. You can either keep the user environment or use a different shell with su command in Linux

Rohan Timalsina5 min read
cheatsheet

10 examples to generate SSH key in Linux (ssh-keygen)

Use ssh-keygen to generate SSH key to use public key based authentication in Linux. Create key pair with custom filename, change passphrase of existing private key

Deepak Prasad7 min read
cheatsheet

10+ parted command examples in Linux [Cheat Sheet]

parted command in a Linux is CLI based utility to work with partitions. You can create, modify or remove partitions via interactive or non interactive commands. One liner examples of parted commands

Rohan Timalsina6 min read
cheatsheet

vgcfgrestore: Recover LVM without Backup

vgcfgrestore restores the metadata of a volume group from a text backup file produced by vgcfgbackup.

Rohan Timalsina3 min read
cheatsheet

20 top command examples in Linux [Cheat Sheet]

top command in linux is used to monitor runtime cpu, memory usage, NICE value, priority. You can add or remove fields from top command, change the refresh interval

Rohan Timalsina8 min read
cheatsheet

10 tee command examples in Linux [Cheat Sheet]

Multiple tee command examples in Linux with cheat sheet. Syntax to use tee command to append content to a file from a command output.

Rohan Timalsina5 min read
cheatsheet

20+ lshw command examples in Linux [Cheat Sheet]

lshw command cheat sheet with examples to display system hardware information.

Rohan Timalsina7 min read
cheatsheet

lscpu command examples in Linux [Cheat Sheet]

lscpu command in Linux is used to get CPU information in different format such as JSON. You can collect the output and then parse it using JSON module from supported programming language.

Rohan Timalsina7 min read
cheatsheet

15+ ping command examples in Linux [Cheat Sheet]

ping command is one of the most used commands in Linux. It is mostly used to check the connectivity between local and remote server. In most cases ICMP traffic is not impacted by firewall so this is very much reliable. …

Rohan Timalsina5 min read
cheatsheet

25 ps command examples in Linux [Cheat Sheet]

25 ps command examples used in Linux to monitor the running processes. Complete cheat sheet of ps command with practical examples.

Rohan Timalsina9 min read
cheatsheet

10+ lvcreate command examples in Linux [Cheat Sheet]

lvcreate command is used to create different types of Logical Volumes in Linux. You can create linear, striped, mirrored logicla volumes. You can also create snapshot volumes used for backup and restore purpose.

Rohan Timalsina8 min read
cheatsheet

10+ lvchange command examples in Linux [Cheat Sheet]

lvchange command allows you to change attributes of a logical volume in the volume group. You can perform different operations such as activate/deactivate, change access permission and set/reset contiguous allocation …

Rohan Timalsina5 min read
cheatsheet

lvremove command examples in Linux [Cheat Sheet]

lvremove command is used to remove a logical volume from a volume group in Linux

Rohan Timalsina3 min read
cheatsheet

5+ lvscan command examples in Linux [Cheat Sheet]

lvscan command scans for all logical volumes in the Linux system and lists them. It displays the status, path, size, and allocation policy in one line per

Rohan Timalsina6 min read