📄️ Commands Cheatsheet
This is the first-part of a series of bite-sized Linux sessions.
📄️ User Administration
Task 01
📄️ Working with Text Files
File Editors
📄️ Grep, Regex, and Cut
Streams and Redirects
📄️ Awk, Sed, and Tee
awk
📄️ Format of `/etc/passwd`
The /etc/passwd file stores user account information. Each line in this file represents a single user and contains seven fields separated by colons (
📄️ Permissions
Managing Permissions in Linux
📄️ Scheduling Options
Cron
📄️ Package Management
Package Managers
📄️ General System Check
Linux Hierarchy System
📄️ Process Management
ps command
📄️ Archive and Backup
Archiving and backing up files in Linux is essential for data protection and management. Various tools and commands can help you achieve this, including tar, gzip, bzip2, and xz.
📄️ Systemd and sysvinit
Systemd
📄️ File Transfer
SCP
📄️ Linux Networking
NIC Naming
📄️ Running VMs on RHEL
Running Virtual Machines on RHEL
📄️ Linux Kernel
The Linux kernel is the core of the Linux operating system, acting as a bridge between the hardware and software. It interacts with hardware devices through drivers, known as modules, which are essential for the system's functionality.
📄️ Boot Procedure
The Bootup
📄️ Troubleshooting Modes
Interrupting Bootup
📄️ Storage and Filesystems
Disk Layout
📄️ Partitions
Managing disk partitions is a critical task for organizing and utilizing storage effectively. Tools like parted, gparted, and fdisk are commonly used for partitioning disks.
📄️ Formatting and Mounting Disks
Understanding Mounts
📄️ Persistent Mounts
Before we go to mounting the disks persistently, we need to know about these two things:
📄️ Swap
Swap Partitions
📄️ Create LVMs using fdisk
Logical Volume Groups
📄️ Create LVMs using parted
Logical Volume Groups
📄️ Resizing LVMs
Resizing Logical Volume Management (LVM) allows you to increase the storage capacity of your logical volumes as needed. This is particularly useful when you start running out of space on your disks.
📄️ Stratis
Overview
📄️ Stratis Snapshots
Snapshots
📄️ VDO
VDO
📄️ Encrypted Partitions
Overview
📄️ Backup and Recovery Strategies
Backup using dd
📄️ Mounting Remote Filesystems
Remote Filesystems
📄️ NFS file share
What is RPCBIND?
📄️ Samba file server
Samba Server
📄️ Automount Filesystems
Automount
📄️ Logging Options
Logs for Hardware - dmesg
📄️ ABRT and SOS Reports
Automatic Bug Reporting Tool
📄️ Bash Scripts
Bash scripts automate tasks by executing commands in a specific order, making them powerful tools for automating repetitive tasks, managing system configurations, and performing complex operations efficiently in Unix-like operating systems.
📄️ Automated Installations
Automated installations help streamline the deployment process by using predefined configurations, making it easier to manage and maintain multiple systems.
📄️ Cockpit
Cockpit is a server administration tool sponsored by Red Hat, focused on providing a modern-looking and user-friendly interface to manage and administer servers.
📄️ Killing a Defunct Process
Encountered this when I was trying to install htop on one of my test-RHEL EC2 instances. I was following the steps in this link..