<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on BenzHub</title><link>https://benzhub.github.io/en/tags/linux/</link><description>Recent content in Linux on BenzHub</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 16 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/en/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Cron Job Not Running? 10 Fixes for Common Cron Issues</title><link>https://benzhub.github.io/en/post/linux/027-cron-job-not-running/</link><pubDate>Sat, 16 May 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/027-cron-job-not-running/</guid><description>&lt;p&gt;&lt;strong&gt;Your cron job is not running because of one (or more) of these issues: the PATH environment is too minimal, your script lacks execute permission, you used relative paths, the shebang line is missing, or the cron daemon itself is not active.&lt;/strong&gt; The fastest way to confirm whether cron even attempted your job is to check the system log with &lt;code&gt;grep CRON /var/log/syslog | tail -20&lt;/code&gt;. If your job does not appear there, cron never tried to run it — the problem is in crontab configuration. If it does appear but your expected output is missing, the script itself is failing silently.&lt;/p&gt;</description></item><item><title>How to Run a Cron Job Every 5 Minutes (and Other Intervals)</title><link>https://benzhub.github.io/en/post/linux/025-cron-every-5-minutes/</link><pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/025-cron-every-5-minutes/</guid><description>&lt;p&gt;To run a cron job every 5 minutes, open your crontab with &lt;code&gt;crontab -e&lt;/code&gt; and add the line &lt;code&gt;*/5 * * * * /path/to/your/script.sh&lt;/code&gt;. The &lt;code&gt;*/5&lt;/code&gt; in the minute field tells cron to execute the command at every fifth minute — 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 minutes past the hour. This is by far the most common recurring interval in system administration, used for health checks, log rotation triggers, cache clearing, and monitoring scripts.&lt;/p&gt;</description></item><item><title>Systemd Timer vs Cron: Which Linux Scheduler Should You Use?</title><link>https://benzhub.github.io/en/post/linux/026-systemd-timer-vs-cron/</link><pubDate>Fri, 15 May 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/026-systemd-timer-vs-cron/</guid><description>&lt;p&gt;&lt;strong&gt;Systemd timers and cron are both Linux task schedulers, but they differ significantly in logging, missed-run handling, dependency management, and complexity.&lt;/strong&gt; Cron is the traditional Unix scheduler — one line in crontab schedules a task. Systemd timers are the modern alternative built into systemd — they require two unit files but provide journald integration, &lt;code&gt;Persistent=true&lt;/code&gt; for catching up on missed runs, and full service dependency control. Choose cron for simple recurring tasks; choose systemd timers when you need robust logging, recovery, or orchestration.&lt;/p&gt;</description></item><item><title>Crontab Syntax Explained: The Complete Time Format Guide</title><link>https://benzhub.github.io/en/post/linux/024-crontab-syntax/</link><pubDate>Thu, 14 May 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/024-crontab-syntax/</guid><description>&lt;p&gt;Crontab syntax is the time format used by the cron daemon on Linux and Unix systems to determine when a scheduled task should run. It consists of five time-and-date fields followed by the command to execute. Each field represents a unit of time — minute, hour, day of month, month, and day of week — and together they define a precise or recurring schedule. Once you understand how to read and write these five fields, you can schedule anything from a script that runs every minute to a job that fires only on the last Friday of each quarter.&lt;/p&gt;</description></item><item><title>30+ Crontab Examples for Every Use Case | Linux Cron Scheduling</title><link>https://benzhub.github.io/en/post/linux/023-crontab-examples/</link><pubDate>Wed, 13 May 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/023-crontab-examples/</guid><description>&lt;p&gt;Need a crontab expression? Here are 30+ ready-to-use examples that cover virtually every scheduling scenario you will encounter in production Linux environments. Each example includes the full cron expression, a plain-English explanation, and notes on common variations. Simply copy the expression, replace the command with your own, and paste it into your crontab file using &lt;code&gt;crontab -e&lt;/code&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Quick reminder&lt;/strong&gt; — the five crontab fields are: &lt;code&gt;minute (0-59)&lt;/code&gt; &lt;code&gt;hour (0-23)&lt;/code&gt; &lt;code&gt;day-of-month (1-31)&lt;/code&gt; &lt;code&gt;month (1-12)&lt;/code&gt; &lt;code&gt;day-of-week (0-7, where 0 and 7 are Sunday)&lt;/code&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>What Is a Cron Job in Linux? Complete Guide to Scheduled Tasks</title><link>https://benzhub.github.io/en/post/linux/022-cron-job/</link><pubDate>Wed, 31 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/022-cron-job/</guid><description>&lt;p&gt;&lt;strong&gt;A cron job is a time-based task scheduler built into Linux and Unix systems.&lt;/strong&gt; It automatically runs commands or scripts at specified intervals — every minute, hourly, daily, weekly, or on custom schedules. System administrators use cron jobs to automate backups, rotate logs, monitor services, and send scheduled reports without manual intervention.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In &lt;strong&gt;Linux&lt;/strong&gt;, a &lt;strong&gt;cron job&lt;/strong&gt; is the core tool for automating scheduled tasks. Once configured, the system automatically executes backups, log cleanup, service monitoring, and other repetitive tasks at specified times — greatly improving operational efficiency. This guide covers everything from &lt;strong&gt;cron&lt;/strong&gt; fundamentals, time format syntax, and practical examples to debugging tips.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>File Transfer (SFTP) | Linux</title><link>https://benzhub.github.io/en/post/linux/021-sftp/</link><pubDate>Tue, 23 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/021-sftp/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Secure File Transfer Protocol (SFTP)&lt;/strong&gt; is a protocol for transferring files over a secure channel, typically based on the SSH (Secure Shell) protocol. &lt;strong&gt;SFTP&lt;/strong&gt; provides a secure method that allows users to transfer files between local and remote Linux systems while protecting the integrity of data transmission.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>SSH Connection with Public/Private Keys | Linux</title><link>https://benzhub.github.io/en/post/linux/020-ssh/</link><pubDate>Mon, 22 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/020-ssh/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Secure Shell (SSH)&lt;/strong&gt; is a secure protocol commonly used to establish secure connections between local and remote &lt;strong&gt;Linux&lt;/strong&gt; systems, allowing users to execute commands on remote hosts, transfer files, or create secure tunnels. In this article, we will explore an important &lt;strong&gt;SSH&lt;/strong&gt; feature - connecting to remote hosts using public/private key pairs.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Command Substitution | Linux</title><link>https://benzhub.github.io/en/post/linux/019-command-substitution/</link><pubDate>Sun, 21 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/019-command-substitution/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Working with the &lt;strong&gt;Linux&lt;/strong&gt; operating system often requires command-line operations, and &lt;strong&gt;Command Substitution&lt;/strong&gt; is a powerful feature that allows you to insert the output of one command into another command, or assign it to a variable.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Environment Variables (Environment) | Linux</title><link>https://benzhub.github.io/en/post/linux/017-environment/</link><pubDate>Sat, 20 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/017-environment/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In &lt;strong&gt;Linux&lt;/strong&gt;, &lt;strong&gt;environment variables (Environment)&lt;/strong&gt; typically refer to the operating system environment in which users or processes execute, including various environment variables, working directories, file permissions, and other related runtime conditions. Environment variables are an important element that contains information about the system and user environment, such as PATH, HOME, USER, etc.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Processes (Processes) | Linux</title><link>https://benzhub.github.io/en/post/linux/018-processes/</link><pubDate>Sat, 20 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/018-processes/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In &lt;strong&gt;Linux&lt;/strong&gt;, &lt;strong&gt;processes (Processes)&lt;/strong&gt; are instances of running programs in the system. Each process consists of one or more threads that run on the system, performing various tasks and operations. The &lt;strong&gt;Linux&lt;/strong&gt; operating system uses processes as the basic unit for managing and executing tasks.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Permission Shortcuts | Linux</title><link>https://benzhub.github.io/en/post/linux/016-permission-shortcuts/</link><pubDate>Fri, 19 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/016-permission-shortcuts/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In Linux, Permission Shortcuts are a convenient notation used to set permissions on files or directories. These shortcuts typically use letters or symbols, making it easy for users to quickly configure the desired permissions.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Linux Group Permission Management Guide: chmod, chown, and Group Configuration</title><link>https://benzhub.github.io/en/post/linux/015-group-permissions/</link><pubDate>Thu, 18 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/015-group-permissions/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In &lt;strong&gt;Linux&lt;/strong&gt;, &lt;strong&gt;Group Permissions&lt;/strong&gt; are the foundation of multi-user collaboration and system security. Understanding the three identities &amp;ndash; owner, group, and others &amp;ndash; and mastering the &lt;code&gt;chmod&lt;/code&gt;, &lt;code&gt;chown&lt;/code&gt;, and &lt;code&gt;chgrp&lt;/code&gt; commands along with the complete group management workflow is an essential skill for every Linux user.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Complete Guide to Linux Wildcards: How to Use *, ?, and [] Glob Patterns</title><link>https://benzhub.github.io/en/post/linux/012-wildcard-replacement/</link><pubDate>Thu, 04 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/012-wildcard-replacement/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In the &lt;strong&gt;Linux&lt;/strong&gt; command line, &lt;strong&gt;Wildcards (glob patterns)&lt;/strong&gt; are powerful tools for batch file operations. By mastering the &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;?&lt;/code&gt;, and &lt;code&gt;[]&lt;/code&gt; wildcards along with Brace Expansion, you can accomplish batch operations in a single command that would otherwise require dozens of lines, dramatically improving your productivity.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Input &amp; Output Redirection (Input &amp; Output Streams) | Linux</title><link>https://benzhub.github.io/en/post/linux/013-input-output-streams/</link><pubDate>Thu, 04 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/013-input-output-streams/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Input &amp;amp; Output Redirection (Input &amp;amp; Output Streams) is a common method used by many programs at runtime to output logs or determine when errors occur. The techniques in this section are essential for daily system administration.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Pipes | Linux</title><link>https://benzhub.github.io/en/post/linux/014-pipes/</link><pubDate>Thu, 04 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/014-pipes/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Pipes enable the flow of data between commands, allowing Linux commands to create powerful and efficient workflows.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Bash History | Linux</title><link>https://benzhub.github.io/en/post/linux/007-bash-history/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/007-bash-history/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Bash&lt;/strong&gt; records the commands you type, providing a convenient way to view and reuse them. Users can interact with this history using various commands and shortcuts.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>CLI Shortcuts | Linux</title><link>https://benzhub.github.io/en/post/linux/008-cli-shortcuts-yank/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/008-cli-shortcuts-yank/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Mastering the &lt;strong&gt;Linux&lt;/strong&gt; command line interface (CLI) can boost efficiency and flexibility. We will introduce a set of essential &lt;strong&gt;Linux CLI Shortcuts&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>IP Address, Subnet Mask, Gateway &amp; MAC Address Explained</title><link>https://benzhub.github.io/en/post/networking/001-macaddress-ip-subnetmask-gateway/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/networking/001-macaddress-ip-subnetmask-gateway/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Every device on a network needs four things configured correctly to communicate: an IP address to identify itself, a subnet mask to determine which devices are local, a gateway to reach remote networks, and a MAC address for physical delivery on the local segment. Understanding how these four networking fundamentals work together is the key to troubleshooting connectivity issues, configuring static IPs, and grasping how packets traverse the internet.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Mastering Linux File Operations: Creating and Moving Files | Linux</title><link>https://benzhub.github.io/en/post/linux/011-creating-moving-files/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/011-creating-moving-files/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In the &lt;strong&gt;Linux&lt;/strong&gt; command line world, proficiently creating and moving files is a fundamental skill. This is typically the most frequently used command when working with &lt;strong&gt;Linux&lt;/strong&gt; systems on the job.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Reading Files | Linux</title><link>https://benzhub.github.io/en/post/linux/010-reading-files/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/010-reading-files/</guid><description>&lt;blockquote&gt;
&lt;p&gt;In a &lt;strong&gt;Linux&lt;/strong&gt; environment, reading files through the command line is one of the most fundamental skills. File reading is one of the most commonly used commands in daily &lt;strong&gt;Linux&lt;/strong&gt; operations.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Signals | Linux</title><link>https://benzhub.github.io/en/post/linux/009-signals/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/009-signals/</guid><description>&lt;blockquote&gt;
&lt;p&gt;The &lt;strong&gt;Linux&lt;/strong&gt; command line interface uses signals as a means of communication between processes. Understanding &lt;strong&gt;Linux&lt;/strong&gt; signals is essential for managing and interacting with running processes.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>What Is Linux? | Linux</title><link>https://benzhub.github.io/en/post/linux/006-what-is-linux/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/006-what-is-linux/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt; is a &lt;strong&gt;Unix&lt;/strong&gt;-like operating system kernel, originally created by &lt;strong&gt;Linus Torvalds&lt;/strong&gt; in 1991.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>What Is Unix? | Linux</title><link>https://benzhub.github.io/en/post/linux/005-what-is-unix/</link><pubDate>Wed, 03 Jan 2024 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/005-what-is-unix/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Unix&lt;/strong&gt; was born in the early 1970s at Bell Labs and is the ancestor of many operating systems. &lt;strong&gt;Unix&lt;/strong&gt; is renowned for its robustness, scalability, and versatility.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Set Up a Beautiful and Powerful Zsh for Linux | Linux</title><link>https://benzhub.github.io/en/post/linux/004-install-zsh/</link><pubDate>Sat, 16 Dec 2023 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/004-install-zsh/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zsh&lt;/strong&gt; is beloved by engineers for its auto-completion feature. Here we use the popular &lt;strong&gt;oh-my-zsh&lt;/strong&gt; to walk through the installation and configuration of &lt;strong&gt;Zsh&lt;/strong&gt; step by step!&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Run Linux on Windows Using WSL2 | Linux</title><link>https://benzhub.github.io/en/post/linux/003-run-linux-on-windows/</link><pubDate>Fri, 15 Dec 2023 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/003-run-linux-on-windows/</guid><description>&lt;blockquote&gt;
&lt;p&gt;If you want to practice &lt;strong&gt;Linux&lt;/strong&gt; commands but only have a &lt;strong&gt;Windows&lt;/strong&gt; computer, we recommend installing &lt;strong&gt;Windows WSL2&lt;/strong&gt; to run a &lt;strong&gt;Linux&lt;/strong&gt; system, so you can easily switch to &lt;strong&gt;Linux&lt;/strong&gt; using &lt;strong&gt;Windows Terminal&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>What Are the Different Linux Shells? | Linux</title><link>https://benzhub.github.io/en/post/linux/002-linux-shell/</link><pubDate>Fri, 15 Dec 2023 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/002-linux-shell/</guid><description>&lt;blockquote&gt;
&lt;p&gt;Let&amp;rsquo;s explore some common Linux Shells and explain the differences between &lt;strong&gt;Shell&lt;/strong&gt;, &lt;strong&gt;Bash&lt;/strong&gt;, and &lt;strong&gt;Zsh&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Linux Commands Cheat Sheet: Essential Commands for Beginners</title><link>https://benzhub.github.io/en/post/linux/001-command-line-table/</link><pubDate>Thu, 14 Dec 2023 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/en/post/linux/001-command-line-table/</guid><description>&lt;blockquote&gt;
&lt;p&gt;This &lt;strong&gt;Linux commands cheat sheet&lt;/strong&gt; organizes all essential commands by function, covering file management, user management, permissions, package management, service management, networking, and firewall configuration — each with brief explanations and examples. Ideal for &lt;strong&gt;Linux&lt;/strong&gt; beginners as a quick reference and for experienced users as a handy lookup table.&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>