Episode 2.6
MASTERING LINUX ADMIN
Class 12 (10+2) • Unit 2: Network and Internet Concepts
💡 Direct Stream: You can also watch directly on YouTube or via local server:
📺 Watch on YouTube.com
Episode code: 2.6
✍️ Episode 2.6 Topic Notes
📌 High-Level vs. Low-Level Tools:
- Low-Level Tools (
dpkg,rpm): Install individual package files from local disk. They do NOT resolve or download missing software dependencies automatically. dpkg -i package.deb: Installs a local.debfile.rpm -ivh package.rpm: Installs a local.rpmpackage with verbose progress indicators.- High-Level Tools (
apt,dnf): Connect to secure online software repositories, automatically calculate dependency trees, download required prerequisite libraries, and install packages atomically.
📌 A. The `cron` Daemon (Recurring Schedules)
crontab -e: Edit the current user's scheduled cron jobs.crontab -l: Display/list active cron jobs.crontab -r: Delete all scheduled jobs for the current user.
📌 Standard 5-Field Crontab Syntax:
- * * * * command_to_execute
📌 Real-World Examples:
0 2 * * * /scripts/nightly_backup.sh-> Runs every single morning at exactly 2:00 AM.*/15 * * * * /scripts/check_server.sh-> Runs every 15 minutes continuously.30 22 * * 5 /scripts/weekly_report.sh-> Runs at 10:30 PM every Friday.
📌 A. Partitioning Tools:
fdisk /dev/sdb: Classic interactive tool for creating and editing MBR and GPT partitions.parted/gdisk: Modern command-line utilities suited for large GPT disks (> 2 TB).