MaGe Linux Operations
MaGe Linux Operations
Aug 7, 2024 · Fundamentals

Master Linux Fundamentals: Directory Structure, Permissions, Users, and Essential Commands

This comprehensive guide explains Linux's core directory hierarchy, file attributes and permission bits, user and group management commands, disk utilities such as df, du, fdisk, and essential file operations like copying, moving, archiving, and compression, providing practical examples for system administrators and developers.

Permissionsdisk-managementshell-scripting
0 likes · 56 min read
Master Linux Fundamentals: Directory Structure, Permissions, Users, and Essential Commands
Liangxu Linux
Liangxu Linux
Feb 15, 2023 · Fundamentals

5 Common Bash Variable Mistakes and How to Avoid Them

This guide shares five practical tips to prevent frequent Bash variable errors—such as spacing around the equals sign, array syntax, quoting rules, command substitution, and naming conflicts with environment variables—helping developers write reliable shell scripts.

ArraysVariablesbash
0 likes · 5 min read
5 Common Bash Variable Mistakes and How to Avoid Them
Efficient Ops
Efficient Ops
Mar 8, 2021 · Operations

Master Linux Automation: Startup Scripts, at, and crontab Explained

This guide walks you through essential Linux automation techniques—including boot‑time service startup with chkconfig and rc.d, one‑off scheduling using at, and recurring jobs with crontab and shell scripts—so you can manage web servers efficiently without manual intervention.

Automationatcron
0 likes · 9 min read
Master Linux Automation: Startup Scripts, at, and crontab Explained
Liangxu Linux
Liangxu Linux
Feb 6, 2021 · Operations

How to Make a Bash Script Run Only Once: Lock Files and flock Explained

This guide shows how to prevent a Bash script from being executed multiple times by detecting existing instances, using lock files with process checks, and employing the flock command for reliable atomic locking, complete with practical code examples and pitfalls to avoid.

Singletonbashflock
0 likes · 8 min read
How to Make a Bash Script Run Only Once: Lock Files and flock Explained
ITPUB
ITPUB
Jul 31, 2019 · Fundamentals

Master the Linux Command Line: Essential Tips and Tricks for Power Users

This comprehensive guide covers everything from basic Bash commands and navigation shortcuts to advanced file processing, system debugging, one‑liners, and OS‑specific tricks, providing practical examples and code snippets that help engineers boost productivity and master the command line across Linux, macOS, and Windows environments.

bashcommand-lineshell-scripting
0 likes · 33 min read
Master the Linux Command Line: Essential Tips and Tricks for Power Users
ITPUB
ITPUB
Jul 15, 2019 · Fundamentals

Master the Art of the Command Line: Essential Bash Tips and Tricks

This comprehensive guide introduces the open‑source "The Art of Command Line" project and provides a curated collection of Bash fundamentals, daily usage shortcuts, file handling tricks, system debugging tools, one‑liners, and platform‑specific tips for Linux, macOS and Windows, helping engineers boost productivity and command‑line mastery.

Unix toolsbashcommand-line
0 likes · 33 min read
Master the Art of the Command Line: Essential Bash Tips and Tricks
MaGe Linux Operations
MaGe Linux Operations
Jun 3, 2019 · Operations

How to Safely Prevent Accidental rm -rf Deletions in Linux Shell

This article explains common scenarios that lead to accidental directory or file deletions in Linux shell scripts—such as empty variables, spaces in paths, special characters, and failed cd commands—and provides practical Bash techniques like variable expansion checks, quoting, set -u, logical short‑circuiting, and safer prompts to avoid catastrophic rm -rf mistakes.

Linuxaccidental-deletionbash
0 likes · 8 min read
How to Safely Prevent Accidental rm -rf Deletions in Linux Shell
MaGe Linux Operations
MaGe Linux Operations
Oct 15, 2018 · Operations

Essential Bash Scripting Practices for Linux Operations and Monitoring

This guide presents practical Bash scripting techniques for Linux operations, covering script conventions, random string/number generation, colored output functions, batch user creation, package and service checks, host liveness testing, CPU/memory/disk monitoring, disk‑usage surveys across hosts, and website availability verification.

Monitoringbashshell-scripting
0 likes · 5 min read
Essential Bash Scripting Practices for Linux Operations and Monitoring
ITPUB
ITPUB
Jul 8, 2018 · Fundamentals

9 Powerful Bash Tricks to Boost Your Command‑Line Productivity

This article shares nine practical Bash techniques—including inserting text at the top of a file, appending multiple lines, recursive search‑replace, creating temporary Vim files, advanced curl usage, Bashmarks, column extraction with awk, skipping words, and building custom command packages—each illustrated with ready‑to‑use code snippets.

Automationbashcommand-line
0 likes · 8 min read
9 Powerful Bash Tricks to Boost Your Command‑Line Productivity
MaGe Linux Operations
MaGe Linux Operations
May 29, 2018 · Fundamentals

10 Hidden Bash Tricks Every Linux User Should Master

This article explores ten lesser‑known Bash features—including history substitution, pushd/popd directory stacks, shopt versus set options, Here Docs and Here Strings, advanced parameter expansion, default variable values, signal traps, special shell variables, extglob patterns, and associative arrays—providing practical examples and code snippets for each.

bashbash-tipscommand-line
0 likes · 10 min read
10 Hidden Bash Tricks Every Linux User Should Master
ITPUB
ITPUB
Nov 17, 2017 · Operations

Master Bash Scripting: Tips and Ready‑to‑Use Monitoring Scripts

This guide presents essential Bash scripting best practices and a collection of practical monitoring scripts—including random string generation, user creation, package checks, service status, host reachability, CPU/memory/disk usage, and website availability—complete with debugging tips and naming conventions for reliable automation.

AutomationMonitoringbash
0 likes · 5 min read
Master Bash Scripting: Tips and Ready‑to‑Use Monitoring Scripts