Articles by Rohan Timalsina
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 …
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, …
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, …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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, …
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, …
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 …
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 …
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 …
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 lbzip2 command examples in Linux [Cheat Sheet]
You can simply specify a file name after lbzip2 command to compress that file. The original file will be replaced by the compressed version of it.
10 groupadd command examples in Linux [Cheat Sheet]
groupadd command in Linux is used to create a new user group in the system. It uses the values specified on the command line plus the default values from the
25+ most used find commands in Linux [Cheat Sheet]
find command is one of the popular and commonly used tools in Unix-based operating systems. As its name suggests, it finds the files and directories in a
10 locate command examples in Linux [Cheat Sheet]
find is another popular command-line tool for searching files and directories in the Linux system. Both locate and find commands have similar functionality,
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 …
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.
dumpe2fs command in Linux [Cheat Sheet]
he dumpe2fs command displays the superblock and block group information of the Linux filesystem. Understand this tool with practical examples in Linux
25 most used grep pattern scenarios in Linux
grep command in Linux searches for a pattern of characters in a file. grep is a short form for Global Regular Expression Print. It prints all lines that
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 …
Master hping3 and Enhance Your Network Strength
Explore the transformative capabilities of hping3 for superior network analysis and security. Unlock powerful strategies, delve into advanced features, and …
15+ wget command examples in Linux [Cheat Sheet]
The syntax for the wget command is as follows:
10 elinks command examples in Linux [Cheat Sheet]
elinks command-line tool is used for browsing websites in text mode. It is easy to use and provides features like table and frame rendering, color support, menu …
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:
10+ pacman command Examples Arch Linux [Cheat Sheet]
The syntax for pacman command is as follows:
15+ iostat command examples in Linux [Cheat Sheet]
15+ iostat command in Linux examples to monitor disk and CPU usage. Get statistics and report every second for pre-defined time interval on the console.
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 …
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 …
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
How to PROPERLY use lvextend to increase LV size
Step by step instructions to use lvextend to extend logical volume size with dos and don'ts. lvextend cheat sheet with examples
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 …
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 …
15 useradd command examples in Linux [Cheat Sheet]
Multiple examples for useradd command in linux. Create users in Linux and Unix using useradd command.
10+ sudo command examples in Linux [Cheat Sheet]
sudo command is widely used in Linux to gain rivilege and perform tasks as a different user which by default may not be allowed. For example a normal user will …
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 …
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
20 grep command examples in Linux [Cheat Sheet]
20 most used grep command examples in linux. grep command is used match patterns across files, directories. You can use multiple arguments to enhance the patter …
How to PROPERLY rename Logical Volume [Step-by-Step]
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 …
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:
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
20 netstat command examples in Linux [Cheat Sheet]
netstat command in Linux is used to get the list of listening TCP and UDP sockets. Get the list of ESTABLISHED, TIME_WAIT, LISTEN sockets with program name. Get …
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
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
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.
10+ ipcs command examples in Linux [Cheat Sheet]
ipcs command shows information on System V inter-process communication facilities. By default it shows information about all three resources: shared memory …
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 …
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
Only Paste Command Linux Cheat Sheet You Will Need
paste command is used to merge lines of files in the Linux system. It prints the corresponding lines from each file sequentially. Each line is separated by TABS …
Advanced Package Mgmt with dpkg command [Cheat Sheet]
Unleash the power of the dpkg command for superior package management in Debian- based systems. Dive deep into our comprehensive guide for mastering the dpkg …
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
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 …
14 iotop command examples [Monitor Disk IO]
iotop command is used to monitor disk IO usage runtime. This article contains different examples to use iotop command
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. …
vgcfgrestore: Recover LVM without Backup [100% Working]
vgcfgrestore restores the metadata of a volume group from a text backup file produced by vgcfgbackup.
Master ip route command to Conquer Network Challenges
Cheat Sheet and examples to use ip route command in Linux to add, delete, modify any routes for runtime changes. The changes performed by ip route command are …
30 nmap command examples in Linux [Cheat Sheet]
Nmap command is a network manager tool in Linux used for network exploration and security auditing. It uses raw IP packets to determine hosts, services, …
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 …
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.
20+ lshw command examples in Linux [Cheat Sheet]
lshw command cheat sheet with examples to display system hardware information.
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 …
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 …
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.
10 finger command examples in Linux [Cheat Sheet]
finger command in Linux is highly used as user information lookup program. It shows displays the user's login name, real name, terminal name and write status
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 …
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, …
lvremove command examples in Linux [Cheat Sheet]
lvremove command is used to remove a logical volume from a volume group in Linux
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
