Tagged articles
457 articles
Page 4 of 5
Liangxu Linux
Liangxu Linux
Jun 14, 2020 · Fundamentals

Master Linux Shell: Types, Variables, Config Files, and Conditional Tests

This guide explains the fundamentals of Linux shells—including common shell types, variable classifications, environment and user-defined variables, the order in which configuration files are loaded for interactive and login sessions, and how to write reliable conditional tests in shell scripts.

BashConfigurationShell
0 likes · 9 min read
Master Linux Shell: Types, Variables, Config Files, and Conditional Tests
Liangxu Linux
Liangxu Linux
May 27, 2020 · Operations

Three Quick Ways to Run All Scripts in a Directory on Linux

Learn how to efficiently execute every script in a folder using three distinct Linux techniques—run-parts with regex filtering, the versatile find command with -exec, and a simple for loop—while avoiding common pitfalls and ensuring safe execution.

BashShell scriptingfind command
0 likes · 5 min read
Three Quick Ways to Run All Scripts in a Directory on Linux
Liangxu Linux
Liangxu Linux
May 25, 2020 · Operations

Automate Network Ping Checks with Bash while/until Loops

This guide shows how to use Bash while and until loops to repeatedly run a ping command, pause between attempts, and stop automatically once the network connection succeeds, including a quick trick to repeat the previous command until it succeeds.

BashShellping
0 likes · 5 min read
Automate Network Ping Checks with Bash while/until Loops
Liangxu Linux
Liangxu Linux
May 21, 2020 · Fundamentals

7 Bash History Shortcuts to Quickly Fix Mistyped Commands

This guide introduces seven Bash history‑expansion shortcuts—such as !$, !:n, !:1-$, !-n:$, !$:h, !#:1, and !!:gs—that let Linux users retrieve or modify parts of previous commands, dramatically reducing the effort required to correct long or complex command lines.

Bashhistory expansionlinux
0 likes · 8 min read
7 Bash History Shortcuts to Quickly Fix Mistyped Commands
macrozheng
macrozheng
May 19, 2020 · Operations

Master Automated SpringBoot Deployment with Jenkins and Docker

Learn how to automate the packaging, Docker image creation, and remote deployment of a SpringBoot application using a semi‑automatic script and Jenkins, covering Dockerfile setup, Bash deployment scripts, Jenkins Publish Over SSH configuration, and best practices for reliable production releases.

AutomationBashDeployment
0 likes · 8 min read
Master Automated SpringBoot Deployment with Jenkins and Docker
Liangxu Linux
Liangxu Linux
Apr 17, 2020 · Operations

Essential Bash Scripting Tips for Building Reliable Shell Scripts

This guide presents practical Bash scripting techniques—including strict mode, file locking, graceful termination, timeout handling, and pipeline debugging—to help developers write more robust, maintainable, and error‑resilient shell scripts for automation and system tasks.

BashDevOpsReliability
0 likes · 7 min read
Essential Bash Scripting Tips for Building Reliable Shell Scripts
Efficient Ops
Efficient Ops
Apr 14, 2020 · Operations

Master Shell Script Best Practices: Clean Code, Safety, and Efficiency

This guide consolidates essential shell scripting conventions—including shebang usage, comprehensive commenting, parameter validation, variable handling, indentation, naming, encoding, permission settings, logging, password safety, line continuation, code brevity, quoting, main‑function patterns, scope control, indirect references, heredocs, path resolution, parallel execution, and static analysis with ShellCheck—to help developers write readable, maintainable, and performant scripts.

BashShell scriptingShellCheck
0 likes · 22 min read
Master Shell Script Best Practices: Clean Code, Safety, and Efficiency
Java Backend Technology
Java Backend Technology
Apr 9, 2020 · Operations

11 Must‑Know Linux Terminal Tricks to Boost Your Productivity

This article presents eleven practical Linux terminal techniques—including essential keyboard shortcuts, sudo shortcuts, background job handling, nohup, at scheduling, man page tweaks, htop, ranger, shutdown cancellation, process killing, and YouTube video downloading—to help users work faster and manage their systems more efficiently.

BashSysadmincommand-line
0 likes · 11 min read
11 Must‑Know Linux Terminal Tricks to Boost Your Productivity
ITPUB
ITPUB
Mar 26, 2020 · Information Security

How to Quickly Identify Open Ports on Linux Using Nmap, Netcat, and Bash

This guide explains multiple practical methods for discovering which ports are open on a Linux system, covering Nmap scans, Netcat probing, and Bash pseudo‑device checks, complete with command examples, option details, and output interpretation.

Bashlinuxnetcat
0 likes · 8 min read
How to Quickly Identify Open Ports on Linux Using Nmap, Netcat, and Bash
MaGe Linux Operations
MaGe Linux Operations
Mar 17, 2020 · Backend Development

Master Clean Shell Scripts: Proven Practices for Readable, Efficient Bash Code

This article compiles essential shell‑script guidelines—shebang usage, commenting, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, security, line continuation, quoting, modular main functions, scope control, return values, indirect references, heredocs, path resolution, brevity, parallel execution, and search tricks—to help you write maintainable and performant Bash scripts.

Bashcode stylelinux
0 likes · 19 min read
Master Clean Shell Scripts: Proven Practices for Readable, Efficient Bash Code
Open Source Linux
Open Source Linux
Feb 24, 2020 · Databases

Automate MySQL Backups with Bash: Script, Rsync, and Cron Guide

This guide explains how to create a Bash script that daily backs up multiple MySQL databases, compresses them with gzip, transfers them via rsync to a remote server, retains backups for two months, and schedules the process with cron, including necessary commands and permissions.

Bashmysqlrsync
0 likes · 4 min read
Automate MySQL Backups with Bash: Script, Rsync, and Cron Guide
360 Tech Engineering
360 Tech Engineering
Feb 19, 2020 · Operations

Best Practices for Writing Reliable Bash Shell Scripts

This article presents a comprehensive guide to writing reliable Bash shell scripts, covering shebang selection, quoting variables, function encapsulation, readonly constants, variable scope, uninitialized variable protection, tracing, error handling, path management, argument parsing with shift, trap usage, and numerous practical tips for robust script development.

BashReliabilityShell scripting
0 likes · 9 min read
Best Practices for Writing Reliable Bash Shell Scripts
360 Quality & Efficiency
360 Quality & Efficiency
Feb 13, 2020 · Backend Development

Reliable Bash Shell Scripting Practices

This article presents a comprehensive set of best‑practice guidelines for writing reliable Bash shell scripts, covering shebang selection, quoting variables, function encapsulation, readonly constants, variable scope, error handling, debugging, path management, argument parsing with shift, signal trapping, and helpful tips to improve script robustness and maintainability.

BashError HandlingShell scripting
0 likes · 9 min read
Reliable Bash Shell Scripting Practices
MaGe Linux Operations
MaGe Linux Operations
Feb 2, 2020 · Fundamentals

Unlock Bash Mastery: Variables, Loops, Functions, and More Explained

This article provides a comprehensive guide to Bash programming, covering variable types and naming rules, assignment and quoting, environment and positional variables, arithmetic and logical operations, conditional statements, loops, functions, arrays, string manipulation, signal handling, and essential command‑line utilities for Linux system scripting.

BashLoopsShell scripting
0 likes · 24 min read
Unlock Bash Mastery: Variables, Loops, Functions, and More Explained
Liangxu Linux
Liangxu Linux
Jan 25, 2020 · Fundamentals

Creative (and Crazy) Ways to Force‑Exit Vim

This article collects a variety of unconventional commands and tricks—from killing the Vim process to using Docker, timeout aliases, and even a playful Bash one‑liner—to force Vim to quit, while warning readers about the risks of such approaches.

BashTutorialcommand-line
0 likes · 8 min read
Creative (and Crazy) Ways to Force‑Exit Vim
Programmer DD
Programmer DD
Dec 23, 2019 · Fundamentals

Mastering Essential Shell Tricks: Pipes, Redirection, and Find Commands

This article explains three crucial shell constructs—pipes, redirection operators, and backslash usage—showing how to combine commands, direct output to files, and pass command results as arguments, with practical examples and a script for archiving recently modified files.

BashPipeRedirection
0 likes · 3 min read
Mastering Essential Shell Tricks: Pipes, Redirection, and Find Commands
Liangxu Linux
Liangxu Linux
Oct 28, 2019 · Fundamentals

Unlock Bash Mastery with the Pure Bash Bible Cheat Sheet

This guide introduces the Pure Bash Bible—a popular GitHub repository that compiles essential built‑in Bash commands for string manipulation, arrays, loops, and file handling—providing concise examples and practical code snippets to boost your shell scripting efficiency.

AutomationBashShell scripting
0 likes · 6 min read
Unlock Bash Mastery with the Pure Bash Bible Cheat Sheet
Liangxu Linux
Liangxu Linux
Sep 17, 2019 · Fundamentals

Master the Linux Command Line: Essential Bash Tips and Tricks

This comprehensive guide presents essential Bash and command‑line techniques for Linux, macOS, and Windows, covering basic navigation, file manipulation, process management, networking, one‑liners, obscure utilities, and platform‑specific tips, along with practical code snippets and references to further resources.

BashDevOpsShell
0 likes · 32 min read
Master the Linux Command Line: Essential Bash Tips and Tricks
Liangxu Linux
Liangxu Linux
Sep 9, 2019 · Operations

Unlock Powerful Bash Scripting with the Free Pure Bash Bible

This article introduces the open‑source "Pure Bash Bible"—a comprehensive collection of Bash code snippets that streamline scripting tasks, reduce dependencies, and boost performance, featuring examples for trimming strings, regex matching, color validation, and array deduplication, along with the GitHub repository link.

AutomationBashShell scripting
0 likes · 4 min read
Unlock Powerful Bash Scripting with the Free Pure Bash Bible
Liangxu Linux
Liangxu Linux
Aug 21, 2019 · Operations

How to Move Multiple File Types at Once in Linux Using mv

This guide demonstrates two straightforward Linux command‑line techniques—brace expansion and wildcard patterns—to move several file extensions (e.g., .doc, .pdf, .txt) from one directory to another in a single step, complete with examples and verification commands.

BashShellmv command
0 likes · 4 min read
How to Move Multiple File Types at Once in Linux Using mv
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
Efficient Ops
Efficient Ops
Jul 21, 2019 · Operations

Essential Bash Scripts for System Monitoring, User Management, and Automation

This article provides a collection of practical Bash scripts for generating random strings, colorized output, batch user creation, package and service checks, host ping monitoring, CPU/memory/disk utilization alerts, website availability testing, and MySQL replication status verification, all useful for Linux system administration and interview preparation.

BashShell scriptingsystem-monitoring
0 likes · 14 min read
Essential Bash Scripts for System Monitoring, User Management, and Automation
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.

BashUnix toolscommand-line
0 likes · 33 min read
Master the Art of the Command Line: Essential Bash Tips and Tricks
21CTO
21CTO
Jul 13, 2019 · Operations

How to Set Up Automated Linux Memory & Swap Monitoring with Email Alerts

Learn step‑by‑step how to install the msmtp email client, configure mutt, use the free command to monitor Linux memory and swap usage, write Bash scripts that log and email the results, and schedule these checks with cron for continuous system health alerts.

BashEmailSystem Administration
0 likes · 7 min read
How to Set Up Automated Linux Memory & Swap Monitoring with Email Alerts
Liangxu Linux
Liangxu Linux
Jul 7, 2019 · Operations

Essential Bash Scripts for System Monitoring and Automation

This guide presents a collection of practical Bash snippets for Linux administrators, covering random string generation, colored output, batch user creation, package and service checks, host ping testing, CPU/memory/disk monitoring, remote disk usage, website availability, and MySQL replication status verification.

AutomationBashShell scripting
0 likes · 13 min read
Essential Bash Scripts for System Monitoring and Automation
Liangxu Linux
Liangxu Linux
Jul 3, 2019 · Fundamentals

Navigate Deep Directories Instantly with the up.sh Shell Script

This guide explains how to install and use the up.sh shell script on Linux to jump directly to any parent directory—by level count, full name, or prefix—supporting bash, zsh, and fish shells, with tab‑completion for faster navigation.

BashShelldirectory navigation
0 likes · 5 min read
Navigate Deep Directories Instantly with the up.sh Shell Script
MaGe Linux Operations
MaGe Linux Operations
Jun 14, 2019 · Operations

Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Code

This article compiles comprehensive shell scripting style guidelines—including shebang usage, commenting standards, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, security, line continuation, efficiency tricks, parallel execution, and integration with tools like shellcheck—to help developers write readable, maintainable, and performant scripts.

Bashbest practicescoding style
0 likes · 16 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Code
Liangxu Linux
Liangxu Linux
Jun 11, 2019 · Operations

Top 23 Shell Script Interview Questions and Answers Every Engineer Should Know

This article compiles the most common shell script interview questions, providing clear explanations of script basics, variable types, redirection, control structures, special variables, file testing, arithmetic, functions, and debugging techniques to help candidates master Linux automation.

AutomationBashShell scripting
0 likes · 11 min read
Top 23 Shell Script Interview Questions and Answers Every Engineer Should Know
Java Backend Technology
Java Backend Technology
Jun 7, 2019 · Fundamentals

Master the Command Line: Essential Tips and Tricks for Every Engineer

This comprehensive guide introduces the open‑source project "The Art of Command Line", explains why mastering the command line boosts productivity for engineers, and provides detailed Bash fundamentals, daily usage, file handling, system debugging, one‑liners, obscure but useful tricks, OS‑specific tips for macOS and Windows, plus a wealth of additional resources.

BashSysadmintools
0 likes · 47 min read
Master the Command Line: Essential Tips and Tricks for Every Engineer
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.

BashOperationsSafety
0 likes · 8 min read
How to Safely Prevent Accidental rm -rf Deletions in Linux Shell
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 25, 2019 · Operations

Useful Linux Command‑Line Tips to Boost Productivity

This article presents a collection of practical Linux command‑line shortcuts and techniques—including cursor navigation, history execution, disk and memory inspection, process management, multi‑command chaining, and file handling—that can significantly improve efficiency for developers and system administrators.

BashOperationsShell
0 likes · 12 min read
Useful Linux Command‑Line Tips to Boost Productivity
MaGe Linux Operations
MaGe Linux Operations
Mar 6, 2019 · Operations

Master Essential Linux Shell Scripts for System Monitoring and Automation

This guide presents practical Bash scripting techniques—including precautions, random string generation, color output functions, bulk user creation, package checks, service status verification, host liveness testing, resource monitoring, disk usage audits, and website availability checks—to help you automate Linux system administration tasks effectively.

AutomationBashOperations
0 likes · 5 min read
Master Essential Linux Shell Scripts for System Monitoring and Automation
MaGe Linux Operations
MaGe Linux Operations
Jan 17, 2019 · Operations

Master Bash Scripting: Essential Safety, Functions, and Debugging Tips

This guide presents practical Bash scripting techniques—including safety flags, function definitions, variable annotations, modern command substitution, double‑bracket tests, string manipulation, process substitution, built‑in variables, and debugging methods—to help you write robust, maintainable shell scripts.

BashDebuggingShell scripting
0 likes · 11 min read
Master Bash Scripting: Essential Safety, Functions, and Debugging Tips
MaGe Linux Operations
MaGe Linux Operations
Dec 12, 2018 · Fundamentals

Master Essential Linux Commands: From ls to xargs in 8 Minutes

This guide provides concise explanations and practical examples of core Linux commands—including ls, cd, pwd, mkdir, cp, mv, rm, du, df, cat, echo, more, less, clear, head, tail, wc, grep, man, logout, pipelines, xargs, basename, dirname, and set—helping readers quickly master command‑line navigation and file manipulation.

BashShellUnix utilities
0 likes · 14 min read
Master Essential Linux Commands: From ls to xargs in 8 Minutes
Liangxu Linux
Liangxu Linux
Nov 29, 2018 · Fundamentals

Three Simple Linux Commands to Batch Rename Files Efficiently

Learn how to quickly rename multiple files in Linux using the rename utility, a bash for‑loop with mv, and a sed‑based loop, each illustrated with clear command examples and explanations of the underlying string manipulation techniques.

BashBatch ProcessingFile Renaming
0 likes · 5 min read
Three Simple Linux Commands to Batch Rename Files Efficiently
MaGe Linux Operations
MaGe Linux Operations
Nov 24, 2018 · Operations

Automate MySQL Database Backups with Bash Scripts and Cron on Linux

This guide explains why database backups are essential, outlines storage media options, and provides step‑by‑step instructions—including creating a backup directory, writing a Bash script, setting executable permissions, and scheduling the job with crontab—to reliably automate MySQL backups on a Linux server.

BackupBashcron
0 likes · 8 min read
Automate MySQL Database Backups with Bash Scripts and Cron on Linux
21CTO
21CTO
Nov 17, 2018 · Operations

Master Shell Scripting: From Basics to Advanced Automation

This guide explains what Shell scripts are, their practical uses and limitations, the underlying interpreter mechanism, and provides step‑by‑step examples covering variables, arithmetic and relational operators, strings, arrays, input/output, conditionals, loops, functions, redirection, and automation scripts such as a Git commit helper.

BashLoopsShell
0 likes · 10 min read
Master Shell Scripting: From Basics to Advanced Automation
Liangxu Linux
Liangxu Linux
Nov 7, 2018 · Operations

Mastering the Linux date Command: Formats, Calculations & Timestamp Conversions

This guide explains why accurate date‑time handling matters for tasks like log naming, introduces the common date format specifiers, and provides step‑by‑step shell examples for retrieving the current time, custom‑formatted dates, relative dates such as yesterday or one hour ago, and converting between human‑readable dates and Unix timestamps.

Bashdate commandtime formatting
0 likes · 5 min read
Mastering the Linux date Command: Formats, Calculations & Timestamp Conversions
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.

Bashmonitoringshell-scripting
0 likes · 5 min read
Essential Bash Scripting Practices for Linux Operations and Monitoring
MaGe Linux Operations
MaGe Linux Operations
Oct 10, 2018 · Operations

Master Shell Scripting: From Basics to Powerful Automation

This guide introduces Shell scripting, explains its purpose and advantages, outlines scenarios where it excels and its limitations, describes its interpreter-based execution model, and walks through fundamental concepts such as variables, arithmetic, strings, arrays, control structures, functions, redirection, and practical automation examples.

BashShell scripting
0 likes · 7 min read
Master Shell Scripting: From Basics to Powerful Automation
MaGe Linux Operations
MaGe Linux Operations
Sep 18, 2018 · Operations

Essential Bash Scripting Tips & Practical Linux Monitoring Scripts

This guide presents essential Bash scripting best practices and a collection of practical Linux monitoring scripts, covering topics such as random string generation, colored output functions, batch user creation, package and service checks, host ping, CPU/memory/disk utilization monitoring, remote disk checks, and website availability testing.

BashLinux monitoringShell scripting
0 likes · 5 min read
Essential Bash Scripting Tips & Practical Linux Monitoring Scripts
ITPUB
ITPUB
Sep 13, 2018 · Fundamentals

8 Essential Shell Script Best Practices Every Developer Should Follow

This guide presents eight practical recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis with ShellCheck, variable expansion, proper use of local, signal trapping, thoughtful coding habits, and choosing the right tool for the job.

BashDebuggingShell scripting
0 likes · 10 min read
8 Essential Shell Script Best Practices Every Developer Should Follow
360 Tech Engineering
360 Tech Engineering
Sep 7, 2018 · Databases

Using Bash Shell Scripts for Automated Database Testing

This article explains how to leverage simple Bash shell scripts to automate database testing tasks such as creating, inserting, updating, and monitoring tables in MySQL, providing step‑by‑step guidance, code examples, and best practices for efficient test automation.

AutomationBashShell
0 likes · 8 min read
Using Bash Shell Scripts for Automated Database Testing
MaGe Linux Operations
MaGe Linux Operations
Jul 23, 2018 · Operations

Master Essential Linux Commands for File, Directory, and System Management

This guide provides a comprehensive overview of essential Linux commands for navigating directories, managing files, handling permissions, searching, compressing, and performing system operations such as shutdown and network testing, enabling users to efficiently control and maintain their Linux environments.

Bashcommand-linefile management
0 likes · 13 min read
Master Essential Linux Commands for File, Directory, and System Management
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2018 · Operations

Master Bash Scripting: Safety, Functions, and Best Practices

This article presents a comprehensive guide to writing robust Bash scripts, covering safety options, function definitions, variable annotations, modern syntax like $() and [[ ]], string manipulation techniques, built‑in variables, debugging methods, and recommendations on when to avoid Bash in favor of other languages.

BashDebuggingscript safety
0 likes · 10 min read
Master Bash Scripting: Safety, Functions, and Best Practices
ITPUB
ITPUB
Jul 11, 2018 · Operations

Parallelizing Bash Loops Without Extra Tools: Practical Shell Techniques

This article explains how Linux administrators can replace slow serial shell loops with concurrent executions using background processes, simulated queues, and FIFO pipes, providing step‑by‑step scripts, performance comparisons, and practical guidelines to control process counts safely.

BashOperationsParallel
0 likes · 10 min read
Parallelizing Bash Loops Without Extra Tools: Practical Shell Techniques
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
DevOps Cloud Academy
DevOps Cloud Academy
Jun 12, 2018 · Fundamentals

Shell Positional and Predefined Variables

The article introduces common shell positional and predefined variables, explains their purposes, and demonstrates their usage through two example scripts that illustrate arithmetic operations and parameter handling with echo statements and special variable references.

Bashpositional-parameters
0 likes · 3 min read
Shell Positional and Predefined Variables
DevOps Cloud Academy
DevOps Cloud Academy
Jun 12, 2018 · Fundamentals

Understanding Shell Global and Local Variables

This article explains how to display and set environment variables in a Unix shell using commands like env and export, and demonstrates the behavior of global and local variables across parent and child shells with practical bash examples.

BashGlobal VariableUnix
0 likes · 2 min read
Understanding Shell Global and Local Variables
DevOps Cloud Academy
DevOps Cloud Academy
Jun 12, 2018 · Fundamentals

Shell Environment Variables and Common System Variables

This article introduces Linux shell environment variables, demonstrates how to display common built‑in variables such as PWD, HOME, HOSTNAME, BASH_VERSION, BASH_VERSINFO, GROUPS, SHELL, and UID using echo commands, and explains the use of env to view all variables and export to set them.

Bash
0 likes · 2 min read
Shell Environment Variables and Common System Variables
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.

BashScriptingbash-tips
0 likes · 10 min read
10 Hidden Bash Tricks Every Linux User Should Master
MaGe Linux Operations
MaGe Linux Operations
May 28, 2018 · Operations

13 Fun Linux Commands to Play With (And 7 Dangerous Ones to Avoid)

This article showcases thirteen entertaining Linux commands—like sl, fortune, cowsay, and cmatrix—while also warning about powerful and risky commands such as rm -rf /, fork bombs, and disk‑wiping techniques, offering both amusement and crucial safety advice for beginners and sysadmins alike.

BashFun CommandsSystem Administration
0 likes · 11 min read
13 Fun Linux Commands to Play With (And 7 Dangerous Ones to Avoid)
ITPUB
ITPUB
May 15, 2018 · Fundamentals

Boost Bash Script Reliability: Essential Safety Practices and Advanced Tips

This guide presents practical Bash scripting techniques—including safety flags, function design, variable annotations, modern command substitution, double‑bracket tests, string manipulation, process substitution, debugging tools, and when to avoid Bash—to help you write more robust and maintainable shell scripts.

BashDebuggingScripting
0 likes · 9 min read
Boost Bash Script Reliability: Essential Safety Practices and Advanced Tips
MaGe Linux Operations
MaGe Linux Operations
Apr 19, 2018 · Operations

Master Bash Scripting: Safety, Functions, and Advanced Tricks

This guide presents essential Bash scripting practices—including safety flags, function definitions, variable annotations, modern command substitution, double‑bracket tests, powerful string manipulation, process substitution, here‑documents, debugging techniques, and advice on when to avoid Bash—in a concise, example‑driven format for reliable shell scripts.

BashDebuggingShell scripting
0 likes · 8 min read
Master Bash Scripting: Safety, Functions, and Advanced Tricks
ITPUB
ITPUB
Apr 16, 2018 · Operations

Top 24 Shell Scripting Interview Questions Every Linux Engineer Should Know

This article compiles the most common shell scripting interview questions, covering fundamentals such as script basics, variables, redirection, control structures, special parameters, file tests, debugging techniques, and practical code examples to help Linux engineers prepare effectively.

BashShell scriptingSysadmin
0 likes · 10 min read
Top 24 Shell Scripting Interview Questions Every Linux Engineer Should Know
MaGe Linux Operations
MaGe Linux Operations
Apr 10, 2018 · Fundamentals

Master Shell Scripting: From Variables to Advanced Sed Editing

This comprehensive guide walks you through the essentials of Bash shell scripting, covering variable definitions, printing, arithmetic, control structures, loops, arrays, functions, file I/O, sed stream editing, modular scripts, and interactive menus, all illustrated with clear code examples.

BashLoopsShell scripting
0 likes · 24 min read
Master Shell Scripting: From Variables to Advanced Sed Editing
MaGe Linux Operations
MaGe Linux Operations
Mar 21, 2018 · Operations

Top 20 Shell Script Interview Questions and Answers Every Linux Engineer Should Know

This article compiles the most common shell script interview questions, covering fundamentals such as script purpose, default login shells, variable types, redirection, control structures, debugging, file testing, and special Bash variables, providing concise answers and practical code examples for each topic.

BashShell scriptinginterview-questions
0 likes · 11 min read
Top 20 Shell Script Interview Questions and Answers Every Linux Engineer Should Know
MaGe Linux Operations
MaGe Linux Operations
Mar 10, 2018 · Operations

Essential Linux Command‑Line Tricks to Boost Your Productivity

This guide compiles essential Linux command‑line shortcuts and utilities—from basic bash navigation and SSH key management to powerful tools like xargs, parallel, awk, and system monitors—offering practical examples and code snippets that help users streamline workflows and boost productivity.

Bashlinuxproductivity
0 likes · 11 min read
Essential Linux Command‑Line Tricks to Boost Your Productivity
ITPUB
ITPUB
Feb 12, 2018 · Operations

Master Practical Bash Scripts for System Monitoring and Automation

Discover a collection of practical Bash script snippets covering random string generation, colored output functions, batch user creation, package and service checks, host reachability, CPU/memory/disk monitoring, remote disk usage collection, and website availability testing, with essential scripting best‑practice tips.

AutomationBashShell scripting
0 likes · 6 min read
Master Practical Bash Scripts for System Monitoring and Automation
ITPUB
ITPUB
Feb 10, 2018 · Operations

How to Parallelize Shell Loops on Linux Without External Tools

This guide explains why serial shell loops become a bottleneck for large‑scale tasks, then demonstrates three pure‑bash techniques—background execution, a simulated queue using arrays, and a FIFO‑based token system—to run multiple loop iterations concurrently while controlling the number of active processes.

BashFIFOParallel Execution
0 likes · 12 min read
How to Parallelize Shell Loops on Linux Without External Tools
ITPUB
ITPUB
Jan 23, 2018 · Operations

Validate IP Addresses in Bash: Two Reliable Shell Scripts

This article explains why validating IP addresses is essential in shell scripting, then presents two Bash methods—using awk/grep and regular‑expression matching—followed by a looped version that repeatedly prompts for input until a correct IP is entered, complete with example commands.

BashIP validationSysadmin
0 likes · 6 min read
Validate IP Addresses in Bash: Two Reliable Shell Scripts
ITPUB
ITPUB
Jan 7, 2018 · Fundamentals

10 Fun Linux Commands to Liven Up Your Terminal

This guide introduces ten entertaining Linux command‑line tools—such as sl, fortune, cowsay, cmatrix, figlet, toilet, oneko, xeyes, yes, and shred—showing how to install them on Ubuntu, use their options, and combine them for playful terminal tricks.

BashUbuntucommand-line
0 likes · 7 min read
10 Fun Linux Commands to Liven Up Your Terminal
ITPUB
ITPUB
Nov 26, 2017 · Operations

How to Prevent Accidental Deletion in Linux Shell Scripts

This article explains common scenarios where Bash variables, spaces, or special characters cause unintended rm -rf deletions and provides practical safeguards such as parameter expansion checks, quoting, set options, logical short‑circuiting, and friendly prompts to avoid catastrophic data loss.

BashError HandlingShell scripting
0 likes · 5 min read
How to Prevent Accidental Deletion in Linux Shell Scripts
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.

AutomationBashSysadmin
0 likes · 5 min read
Master Bash Scripting: Tips and Ready‑to‑Use Monitoring Scripts
MaGe Linux Operations
MaGe Linux Operations
Nov 17, 2017 · Operations

Essential Linux Command Cheat Sheet for System Administrators

This comprehensive guide lists essential Linux commands—covering help utilities, file and directory operations, content viewing, compression, system information, networking, user management, process control, and system administration—providing concise descriptions to help users quickly understand each command's purpose and usage.

Bashcommand-linelinux
0 likes · 16 min read
Essential Linux Command Cheat Sheet for System Administrators
ITPUB
ITPUB
Nov 9, 2017 · Operations

11 Little‑Known Linux Commands That Supercharge Your Workflow

This article introduces a collection of lesser‑known Linux commands—such as sudo !!, python -m SimpleHTTPServer, mtr, Ctrl+x+e, nl, shuf, ss, last, curl ifconfig.me, tree, and pstree—explaining their purpose, typical use‑cases, and providing concrete examples to help both desktop users and system administrators work more efficiently.

BashSysadminutilities
0 likes · 8 min read
11 Little‑Known Linux Commands That Supercharge Your Workflow
ITPUB
ITPUB
Oct 6, 2017 · Fundamentals

Customize Your Bash Prompt: Colors, Variables, and Multi‑Line Layouts

Learn how to personalize the Bash command‑line prompt by setting the PS1 variable, using special escape sequences for user, host, directory, date, and colors, and creating multi‑line prompts, all with clear examples and safe configuration steps.

BashPromptcustomization
0 likes · 6 min read
Customize Your Bash Prompt: Colors, Variables, and Multi‑Line Layouts