Fading Coder

One Final Commit for the Last Sprint

Configuring Package Repositories for CentOS 7 Post-EOL

Standard package mirrors stop syncing updates once CentOS 7 reaches end-of-life. Redirect the package manager to the official CentOS Vault to manitain access to archived RPMs. Backup the existing repository configuration and generate a new one pointing to the archived packages: sudo cp /etc/yum.repo...

How to Set Up and Manage Cron Jobs on Linux

To create a cron job that runs under your current user account, execute the following command: crontab -e To schedule a cron job for another system user, use the sudo command with the -u flag followed by the target username: sudo crontab -u <username> -e This will launch a text editor (Nano is...

Resolving 'bash: nmap: command not found' Error

The error bash: nmap: command not found indicates the nmap (Network Mapper) utility is either not installed on your system or its executable is not accessible through your shell's PATH variable. Install Nmap Using Your Package Manager If nmap is not installed, use your system's package manager to in...

Installing and Configuring Ubuntu 20.04 Live Server

System Installation Process Upon booting the installation media, a logo splash screen appears briefly. Pressing F5 allows language selection for accessibility, while ESC accesses the main boot menu for advanced options (F1-F6). Standard installations can proceed without intervention. Language and ke...

Practical Linux Command Exercises for File and Directory Management

1. List All Files in the /etc/ Directory Use the ls command to view all file information in the /etc/ diretcory. Common ls options: -l: Display file information in long format -A: Show all files, including hidden files starting with . -a: Show all files, including . and .. -d: Display properties of...

Configuring SNMP Agents on Linux for Remote Monitoring Infrastructure

Installing Net-SNMP Packages For RHEL/CentOS/Fedora systems: sudo yum install net-snmp net-snmp-utils -y For Ubuntu/Debian systems: sudo apt-get install snmpd snmp-mibs-downloader -y Securing Agent Communications Backup the original configuration before modification: sudo cp /etc/snmp/snmpd.conf /et...

Configuring and Using the Linux Magic SysRq System Keys

[12345.678901] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync...

Mastering File Permissions in Linux: A Deep Dive into Digital Access Control

Linux systems rely heavily on file permissions to ensure data integrity and system security. Understanding how to manage these permissions is essential for both developers and administrators. In Linux, each file has three primary access categories: owner (User), group (Group), and others (World). Ea...

Container Communication Using Linux Bridge

Connectign Docker Containers to a Custom Linux Bridge To connect a Docker container to a manually created Linux network bridge via a veth pair, follow these steps: Step 1: Create the network bridge # Create bridge using iproute2 sudo ip link add name custom-br type bridge # Alternative creation usin...

Introduction to Linux Process Signals

Signals in Daily Life In our daily lives, signals are everywhere, such as: Traffic lights School bells Starting pistols ... Because we have received education (we can recognize signals), when these signals are generated, we immediately think of the corresponding action. However, we might not process...