Articles by Rohan Timalsina
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 …
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.
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.
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.
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.
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
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
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 …
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
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
10+ mke2fs command examples in Linux [Cheat Sheet]
Multiple mke2fs command examples in Linux with cheat sheet for different scenarios.
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.
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
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.
9 screen command Examples in Linux [Cheat Sheet]
The syntax for screen command is as follows:
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, …
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.
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 …
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
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
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
15 useradd command examples in Linux [Cheat Sheet]
Multiple examples for useradd command in linux. Create users in Linux and Unix using useradd command.
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.
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
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.
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
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 …
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.
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
10+ xz command examples in Linux [Cheat Sheet]
The syntax for xz command is as follows:
