Tagged articles

bash

469 articles · Page 3 of 5
Open Source Linux
Open Source Linux
Apr 22, 2022 · Operations

Essential Bash Scripts for Linux Engineers: From Games to System Monitoring

This article compiles a collection of practical Bash scripts for Linux engineers, covering interactive games, network connection checks, process management, system monitoring, file operations, user account handling, and automated backups, each presented with clear explanations and ready-to-use code examples.

BackupShell scriptingbash
0 likes · 23 min read
Essential Bash Scripts for Linux Engineers: From Games to System Monitoring
IT Services Circle
IT Services Circle
Apr 18, 2022 · Operations

Collection of Useful Bash Scripts for Linux Engineers

This article compiles a variety of practical Bash scripts for Linux engineers, covering tasks such as number guessing games, network monitoring, process management, user account handling, file operations, system resource checks, and automated service deployments, providing ready-to-use code snippets for everyday sysadmin automation.

bashexamplessysadmin
0 likes · 21 min read
Collection of Useful Bash Scripts for Linux Engineers
Efficient Ops
Efficient Ops
Apr 14, 2022 · Operations

30 Essential Bash Scripts Every Linux Engineer Should Master

This article compiles a comprehensive collection of practical Bash scripts—from a number‑guessing game and remote IP counting to system monitoring, user management, and one‑click LNMP deployment—providing Linux engineers with ready‑to‑use tools that boost productivity and automate routine tasks.

Linuxbashscripts
0 likes · 21 min read
30 Essential Bash Scripts Every Linux Engineer Should Master
Open Source Linux
Open Source Linux
Mar 28, 2022 · Operations

10 Essential Linux Commands Every Developer Should Master

This guide introduces ten fundamental Linux commands—pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purposes, typical use‑cases, and providing clear code examples to help developers and sysadmins work more efficiently on Linux systems.

Unixbashcommand-line
0 likes · 11 min read
10 Essential Linux Commands Every Developer Should Master
Liangxu Linux
Liangxu Linux
Mar 21, 2022 · Fundamentals

Master the Classic Shell Interview Questions: 13 Essential Concepts Explained

This article presents the classic "Shell Thirteen Questions" covering the definition of a shell, prompt mechanics, echo behavior, quoting rules, variable export, exec versus source, command grouping, substitution, wildcard handling, logical operators, I/O redirection, conditional statements, and loop constructs, each with clear explanations and examples.

LinuxScriptingbash
0 likes · 12 min read
Master the Classic Shell Interview Questions: 13 Essential Concepts Explained
Programmer DD
Programmer DD
Mar 9, 2022 · Operations

9 Essential Shell Scripts Every Sysadmin Should Keep Handy

This article presents nine practical Bash scripts covering DOS attack mitigation, email alerts, MySQL backups, Nginx log rotation and analysis, network traffic monitoring, server initialization, and disk usage checks across multiple hosts, each with ready-to-use code examples.

AutomationLinuxShell scripting
0 likes · 11 min read
9 Essential Shell Scripts Every Sysadmin Should Keep Handy
Liangxu Linux
Liangxu Linux
Mar 5, 2022 · Fundamentals

Master Bash Shell: Core Concepts, Commands, and Scripting Tricks

This guide explains why the command‑line interface is called a Shell, clarifies prompts and carriage returns, and walks through essential Bash features such as echo options, quoting rules, variable export, exec vs source, grouping, parameter expansion, arrays, arithmetic, redirection, conditional statements, loops, and control flow operators.

Command LineControl structuresLinux
0 likes · 12 min read
Master Bash Shell: Core Concepts, Commands, and Scripting Tricks
Architect's Guide
Architect's Guide
Mar 2, 2022 · Databases

How to Perform Scheduled MySQL Backups Using mysqldump and Cron

This article explains various methods for scheduled MySQL backups, covering mysqldump command usage, example backup commands for whole or specific databases, a Bash script to retain a fixed number of backups, and configuring cron jobs to automate the backup and restoration processes.

BackupCronDatabase Administration
0 likes · 11 min read
How to Perform Scheduled MySQL Backups Using mysqldump and Cron
Efficient Ops
Efficient Ops
Feb 21, 2022 · Operations

Mastering Linux Shell: Key Concepts, Commands, and Scripting Tricks

This article explains the fundamentals of Linux shells, covering why they’re called shells, prompt behavior, echo usage, quoting differences, variable handling, export, command grouping, arithmetic expansion, special parameters, redirection, conditional statements, loops, and provides practical Bash code examples for each concept.

ScriptingUnixbash
0 likes · 12 min read
Mastering Linux Shell: Key Concepts, Commands, and Scripting Tricks
Efficient Ops
Efficient Ops
Feb 13, 2022 · Operations

Essential Bash Scripts for Linux Ops: From DDoS Blocking to MySQL Backups

This article compiles a collection of practical Bash scripts for Linux system administrators, covering automatic DDoS IP blocking, email alert setup, single‑ and multi‑database MySQL backups, Nginx log rotation and analysis, real‑time network traffic monitoring, server initialization, and bulk disk‑usage checks across many hosts.

AutomationMySQLNginx
0 likes · 10 min read
Essential Bash Scripts for Linux Ops: From DDoS Blocking to MySQL Backups
Open Source Linux
Open Source Linux
Feb 8, 2022 · Operations

Essential Linux Bash Scripts for Security, Backup, and Server Management

This article provides a collection of ready‑to‑use Bash scripts that automate DoS attack blocking, email alerts, MySQL single‑ and multi‑database backups, Nginx log rotation and analysis, network traffic monitoring, system initialization, and disk usage checks across many servers.

AutomationBackupServer Management
0 likes · 10 min read
Essential Linux Bash Scripts for Security, Backup, and Server Management
MaGe Linux Operations
MaGe Linux Operations
Feb 5, 2022 · Operations

Essential Linux Bash Scripts for Server Operations and Automation

This article presents a collection of practical Bash scripts for Linux servers, covering DOS attack IP blocking, alert emailing, MySQL backup (single and multi‑loop), Nginx log rotation and analysis, real‑time network traffic monitoring, system initialization, and disk usage checks across multiple hosts.

AutomationLinuxMonitoring
0 likes · 10 min read
Essential Linux Bash Scripts for Server Operations and Automation
Open Source Linux
Open Source Linux
Jan 26, 2022 · Operations

Essential Linux Command Cheat Sheet for System Administration

This article compiles a comprehensive set of Linux command‑line shortcuts covering system shutdown, hardware inspection, user management, networking, file handling, compression, performance monitoring, and many other routine administration tasks, providing a handy reference for developers and sysadmins alike.

bashcommand-linenetwork
0 likes · 23 min read
Essential Linux Command Cheat Sheet for System Administration
MaGe Linux Operations
MaGe Linux Operations
Jan 13, 2022 · Fundamentals

Why Consistent Shell Coding Standards Matter: A Practical Guide

This guide explains the importance of shell coding standards, outlines core principles such as correctness, readability and maintainability, defines mandatory and optional rules for file naming, indentation, comments, variable handling, control structures, error handling, and provides concrete examples and best‑practice recommendations for Bash scripts.

Scriptbashbest practices
0 likes · 25 min read
Why Consistent Shell Coding Standards Matter: A Practical Guide
Efficient Ops
Efficient Ops
Dec 29, 2021 · Operations

Master Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code

This article consolidates practical shell scripting standards—covering shebang usage, commenting, parameter validation, naming conventions, encoding, indentation, function structuring, variable scope, efficient command patterns, parallel execution, and static analysis with ShellCheck—to help developers write readable, maintainable, and performant Bash scripts.

Scriptbashcoding-standards
0 likes · 22 min read
Master Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
Efficient Ops
Efficient Ops
Dec 16, 2021 · Operations

Essential Shell Script Coding Standards for Reliable Maintenance

This guide outlines comprehensive shell scripting standards—including why they matter, core principles, file naming, encoding, line length, indentation, naming conventions, comment rules, error handling, and best‑practice patterns—to improve readability, maintainability, and consistency across Bash scripts in production environments.

Shell scriptingbashcode quality
0 likes · 25 min read
Essential Shell Script Coding Standards for Reliable Maintenance
ITPUB
ITPUB
Dec 8, 2021 · Operations

Master Linux Command History: Reduce Repetition and Boost Efficiency

This guide explains how the Linux shell stores command history, how to view, search, repeat, and manage entries, and how to configure environment variables for timestamps, size limits, custom files, and security, helping administrators streamline their workflow.

Linuxbashhistory
0 likes · 11 min read
Master Linux Command History: Reduce Repetition and Boost Efficiency
Top Architect
Top Architect
Nov 8, 2021 · Databases

MySQL Scheduled Backup and Restoration Using mysqldump and Crontab

This article explains how to use the mysqldump command to back up MySQL databases, provides various command examples for full or partial backups, demonstrates a Bash script for automated daily backups with log management, and shows how to schedule these tasks using crontab.

AutomationBackupDatabase
0 likes · 11 min read
MySQL Scheduled Backup and Restoration Using mysqldump and Crontab
MaGe Linux Operations
MaGe Linux Operations
Nov 5, 2021 · Operations

Master Shell Scripting: Free 70‑Page Handbook & 100 Ready‑to‑Use Scripts

This article introduces the role of shell scripts in automating system operations, presents a free 70‑page practical handbook covering fundamentals to advanced topics, and offers 100 ready‑to‑run script examples ranging from basic hello‑world to complex monitoring and deployment tasks, helping readers quickly boost their scripting skills.

AutomationShell scriptingbash
0 likes · 5 min read
Master Shell Scripting: Free 70‑Page Handbook & 100 Ready‑to‑Use Scripts
macrozheng
macrozheng
Nov 4, 2021 · Fundamentals

Master Shell Scripting: From Basics to Advanced Control Structures

This tutorial walks Java developers through the fundamentals of Linux shell scripting, covering how to create and run scripts, check and set the default shell, manage permissions, define and manipulate variables, and implement flow‑control constructs such as if/else, case, for, and while loops with practical code examples.

AutomationControl FlowShell scripting
0 likes · 11 min read
Master Shell Scripting: From Basics to Advanced Control Structures
Liangxu Linux
Liangxu Linux
Oct 30, 2021 · Operations

Comprehensive Linux Daily Inspection Bash Script for System Health Monitoring

This article provides a complete Bash script that performs daily health checks on a Linux host, gathering information on disk usage, memory, CPU, processes, services, network configuration, user accounts, password policies, firewall, SELinux, NTP, SNMP, JDK, and more, then formats the results into a report and emails it.

bashdaily-checkshell-script
0 likes · 18 min read
Comprehensive Linux Daily Inspection Bash Script for System Health Monitoring
Programmer DD
Programmer DD
Oct 10, 2021 · Databases

Master MySQL Backups with mysqldump, Bash Scripts, and Cron

This guide details how to protect MySQL databases from errors and crashes by using mysqldump for manual dumps, creating Bash scripts for automated daily backups, and scheduling them with Linux cron, including command examples, restoration methods, and crontab syntax for reliable periodic backups.

BackupMySQLbash
0 likes · 10 min read
Master MySQL Backups with mysqldump, Bash Scripts, and Cron
Open Source Linux
Open Source Linux
Sep 27, 2021 · Fundamentals

Mastering the unalias Command: How to Remove Shell Aliases Quickly

This guide explains how to use the built‑in unalias command in Bash to delete individual or all command aliases, shows the syntax and common options, provides practical examples, and highlights important considerations when running scripts that modify alias settings.

aliasbashcommand-line
0 likes · 2 min read
Mastering the unalias Command: How to Remove Shell Aliases Quickly
Open Source Linux
Open Source Linux
Sep 8, 2021 · Fundamentals

Master Essential Linux Shell Tools for Text Processing and Automation

This guide introduces the most commonly used Linux shell utilities—find, grep, xargs, sort, uniq, tr, cut, paste, wc, sed, and awk—explaining their core options and providing practical examples to help you efficiently manipulate and process text files from the command line.

Unix toolsbashtext processing
0 likes · 15 min read
Master Essential Linux Shell Tools for Text Processing and Automation
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2021 · Operations

Batch Rename Files Using sed and Bash Substring Techniques

This guide demonstrates three practical methods for bulk renaming files on Linux: using sed for in‑place text replacement, applying Bash variable substring manipulation, and changing file extensions with parameter expansion, each illustrated with complete command‑line examples.

File RenamingLinuxShell scripting
0 likes · 8 min read
Batch Rename Files Using sed and Bash Substring Techniques
Practical DevOps Architecture
Practical DevOps Architecture
Aug 9, 2021 · Operations

MySQL Installation and Configuration Bash Script

This article provides a step‑by‑step Bash script for installing, configuring, and starting MySQL 8.0 on a Linux system, including user creation, directory setup, permission handling, initialization checks, and service management, and ensures proper environment variables.

DatabaseInstallationLinux
0 likes · 4 min read
MySQL Installation and Configuration Bash Script
dbaplus Community
dbaplus Community
Aug 2, 2021 · Fundamentals

Master Linux History Command: Practical Tips to Boost Shell Efficiency

This guide explains how the Linux history mechanism works, shows essential commands for viewing, filtering, and replaying past commands, demonstrates timestamping, adjusting record limits, changing the history file, disabling logging, and shares a hidden trick for keeping sensitive commands out of the log.

Command LineLinuxaudit
0 likes · 10 min read
Master Linux History Command: Practical Tips to Boost Shell Efficiency
Liangxu Linux
Liangxu Linux
Jul 22, 2021 · Fundamentals

Master Linux Shell: Variables, Strings, and Script Essentials

This guide explains how to use and name shell variables, manipulate strings, create and run Bash scripts, manage environment variables, perform arithmetic and relational operations, read user input, and handle common file‑system tasks, providing clear examples and command‑line snippets for each topic.

Shell scriptingString Manipulationbash
0 likes · 21 min read
Master Linux Shell: Variables, Strings, and Script Essentials
Open Source Linux
Open Source Linux
Jul 21, 2021 · Fundamentals

Essential Linux Command Cheat Sheet: 50 Must‑Know Commands for System Operations

This article provides a concise reference of 50 essential Linux commands covering file management, user administration, system monitoring, networking, permission handling, and editor shortcuts, offering clear examples and explanations for each command to help both beginners and seasoned administrators work efficiently.

bashcommandssystem administration
0 likes · 9 min read
Essential Linux Command Cheat Sheet: 50 Must‑Know Commands for System Operations
Liangxu Linux
Liangxu Linux
Jul 19, 2021 · Fundamentals

Understanding Shell Exit Codes: How $? Reveals Command Success or Failure

This article explains how a command’s exit status indicates success or failure in Unix shells, describes the meaning of common return codes, introduces the special $? variable, and provides a comprehensive Bash script example demonstrating various exit scenarios and custom status handling.

Scriptingbashexit status
0 likes · 4 min read
Understanding Shell Exit Codes: How $? Reveals Command Success or Failure
Liangxu Linux
Liangxu Linux
Jul 18, 2021 · Fundamentals

Master Linux Aliases: Simplify Commands and Boost Productivity

This guide explains how Linux aliases work, shows how to create temporary and permanent shortcuts for long commands like rsync, demonstrates listing and removing aliases, and provides step‑by‑step instructions for storing aliases in ~/.bashrc or a separate file.

Linuxbashshell
0 likes · 5 min read
Master Linux Aliases: Simplify Commands and Boost Productivity
Liangxu Linux
Liangxu Linux
Jul 1, 2021 · Fundamentals

Essential Linux Commands Every Developer Should Master

This guide walks through a collection of frequently used Linux shell commands—grep, custom alias shortcuts, pwd, find, history, od, and for loops—explaining their common scenarios, key options, example usages, and handy tricks to boost productivity in everyday development and scripting tasks.

Command LineLinuxScripting
0 likes · 11 min read
Essential Linux Commands Every Developer Should Master
Efficient Ops
Efficient Ops
Jun 30, 2021 · Operations

27 Essential Linux Command-Line Tricks to Boost Your Productivity

This guide presents 27 practical Linux command-line techniques—from safe file deletion and alias management to process monitoring, log handling, and advanced shell shortcuts—designed to help heavy users work more efficiently and avoid common pitfalls.

Command LineLinuxShell Tips
0 likes · 16 min read
27 Essential Linux Command-Line Tricks to Boost Your Productivity
Liangxu Linux
Liangxu Linux
Jun 29, 2021 · Fundamentals

Why Bash Returns Zero When Summing a Column and How to Fix It

This article explains why a simple Bash loop may output zero when trying to sum the second column of a text file, demonstrates three different line‑by‑line approaches, shows common pitfalls such as pipeline subshells and whitespace handling, and provides correct solutions with shellcheck recommendations.

Shell scriptingShellCheckawk alternative
0 likes · 6 min read
Why Bash Returns Zero When Summing a Column and How to Fix It
Liangxu Linux
Liangxu Linux
Jun 27, 2021 · Fundamentals

Master Linux Aliases: Turn Long Commands into Simple Shortcuts

Learn how to create temporary and permanent Linux aliases to replace lengthy commands, streamline file synchronization with rsync, manage aliases via the alias and unalias commands, and store them in dedicated files for persistent shell customization.

Linuxbashshell
0 likes · 5 min read
Master Linux Aliases: Turn Long Commands into Simple Shortcuts
Liangxu Linux
Liangxu Linux
Jun 6, 2021 · Operations

Master Bash Conditionals, Loops, and Signal Traps with Real‑World Examples

This article provides a comprehensive guide to Bash scripting, covering if/elif/else conditionals, case statements, four types of loops (for, while, until, select), signal trapping with trap, useful one‑liners for randomness and colored output, and several fun scripts such as a multiplication table, colored triangle, and chessboard.

ConditionalsLoopsShell scripting
0 likes · 14 min read
Master Bash Conditionals, Loops, and Signal Traps with Real‑World Examples
Liangxu Linux
Liangxu Linux
May 30, 2021 · Fundamentals

Mastering Shell Special Parameters: $*, $@, $#, $$, $! with Real Examples

This article explains the purpose and behavior of key shell special parameters—$*, $@, $#, $$, and $!—through three practical scripts that demonstrate expanding positional arguments, counting arguments, and accessing process IDs, complete with code snippets and expected output.

Scriptingbashcommand-line
0 likes · 4 min read
Mastering Shell Special Parameters: $*, $@, $#, $$, $! with Real Examples
Open Source Linux
Open Source Linux
May 14, 2021 · Operations

Master Bash Conditionals, Loops, and Signal Traps: Practical Scripts Explained

This article provides a comprehensive guide to Bash scripting, covering conditional statements (if/elif/else), case selections, various loop constructs (for, while, until, select), loop control commands, parameter shifting, signal trapping with trap, and includes numerous practical code examples with detailed analysis.

ConditionalsLoopsShell scripting
0 likes · 17 min read
Master Bash Conditionals, Loops, and Signal Traps: Practical Scripts Explained
Efficient Ops
Efficient Ops
Apr 25, 2021 · Operations

Master Linux Command History: 10 Powerful Tips to Boost Efficiency

This article explains how Linux shells store command history in .bash_history, shows basic and advanced usage of the history command—including listing, searching, repeating, timestamping, and configuring history size—and provides practical tricks for auditing, backup, and even disabling history for security purposes.

Command LineLinuxbash
0 likes · 11 min read
Master Linux Command History: 10 Powerful Tips to Boost Efficiency
MaGe Linux Operations
MaGe Linux Operations
Apr 23, 2021 · Operations

Essential Bash Scripts for Linux Server Automation and Monitoring

This article compiles a comprehensive set of Bash scripts that automate common Linux server tasks such as file consistency checks, log cleanup, network traffic monitoring, port scanning, user management, firewall rules, and service health checks, providing sysadmins with ready‑to‑use solutions for efficient operations.

Automationbashsysadmin
0 likes · 23 min read
Essential Bash Scripts for Linux Server Automation and Monitoring
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 20, 2021 · Operations

Practical Tips for Using the Linux History Command to Manage Command History

This article explains how to efficiently use the Linux history command, covering its underlying mechanism, basic usage, repeat execution, searching, interactive search, timestamp display, history size control, file name changes, disabling history, and a useful security tip, helping administrators improve productivity and auditability.

Linuxauditbash
0 likes · 11 min read
Practical Tips for Using the Linux History Command to Manage Command History
Liangxu Linux
Liangxu Linux
Apr 18, 2021 · Fundamentals

Mastering Bash Brackets: Parentheses, Brackets, and Brace Expansions Explained

This guide provides a comprehensive overview of Bash’s various bracket types—including parentheses, double parentheses, square brackets, double square brackets, and curly braces—detailing their syntax, typical use‑cases, parameter‑expansion forms, pattern‑matching capabilities, and practical code examples for effective shell scripting.

Scriptingbashbrackets
0 likes · 13 min read
Mastering Bash Brackets: Parentheses, Brackets, and Brace Expansions Explained
Liangxu Linux
Liangxu Linux
Apr 14, 2021 · Operations

7 Practical Bash Scripts to Boost Linux Sysadmin Efficiency

This article presents seven hands‑on Bash script examples that cover concurrent hostname collection, process state counting, bulk file renaming, automated jstack logging, GC log analysis, high‑traffic IP detection with conditional reporting, and moving large files while sorting them by size, each with complete code snippets.

Scriptingbashshell
0 likes · 8 min read
7 Practical Bash Scripts to Boost Linux Sysadmin Efficiency
Sohu Tech Products
Sohu Tech Products
Apr 14, 2021 · Operations

Comprehensive Bash Scripting Guide: Conditionals, Loops, and Signal Traps

This article provides a detailed Bash scripting tutorial covering conditional statements (if/elif/else, case), various loop constructs (for, while, until, select), control commands (break, continue, shift), signal handling with trap, and several practical example scripts such as a multiplication table, colored triangle, and chessboard pattern.

ConditionalsLoopsShell scripting
0 likes · 16 min read
Comprehensive Bash Scripting Guide: Conditionals, Loops, and Signal Traps
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Operations

Shell Basics: Introduction, Commands, Variables, and Scripting

This article provides a comprehensive introduction to the Bash shell, covering its purpose, user prompts, shebang syntax, execution methods, basic commands like echo and printf, variable handling, environment variables, arithmetic operations, and conditional statements for writing effective shell scripts.

Command LineLinuxScripting
0 likes · 14 min read
Shell Basics: Introduction, Commands, Variables, and Scripting
Liangxu Linux
Liangxu Linux
Mar 25, 2021 · Fundamentals

Master Bash: Essential Shell Commands, Variables, and Scripting Basics

This guide introduces Bash shell fundamentals, covering script shebangs, execution methods, echo and printf usage, color output, variable handling, PATH manipulation, arithmetic operations, and conditional expressions, providing practical examples for Linux command‑line users.

Command LineShell scriptingbash
0 likes · 10 min read
Master Bash: Essential Shell Commands, Variables, and Scripting Basics
Liangxu Linux
Liangxu Linux
Mar 21, 2021 · Operations

How to Monitor Linux CPU, Memory, and Disk I/O with a Bash Script

This article provides a step‑by‑step Bash script that gathers Linux server IP, CPU core count, utilization percentages, context switches, load averages, memory statistics, swap usage, and disk I/O metrics, explaining each command and its output for effective system monitoring.

Memorybashdisk
0 likes · 18 min read
How to Monitor Linux CPU, Memory, and Disk I/O with a Bash Script
Liangxu Linux
Liangxu Linux
Mar 14, 2021 · Fundamentals

Master Linux File Color Codes: Customize LS_COLORS for Clearer Directory Listings

This guide explains how Linux uses the LS_COLORS environment variable to assign distinct colors to file types in terminal listings, shows where the default definitions reside, details attribute, text, and background codes, and provides step‑by‑step instructions for creating custom color schemes via your bash configuration.

LS_COLORSLinuxShell customization
0 likes · 7 min read
Master Linux File Color Codes: Customize LS_COLORS for Clearer Directory Listings
Liangxu Linux
Liangxu Linux
Mar 8, 2021 · Fundamentals

18 Fun Linux Commands to Wow Your Terminal

This guide introduces eighteen entertaining Linux command‑line tools—ranging from the train‑displaying sl to the matrix‑style cmatrix—detailing their installation, usage options, and playful effects, while also offering tips for creative combinations and safety warnings.

bashcommand-linefun
0 likes · 8 min read
18 Fun Linux Commands to Wow Your Terminal
php Courses
php Courses
Mar 5, 2021 · Operations

Managing Linux Command History: View, Search, Modify, and Clear

This article explains how to use the Linux history command to view past commands, search with Ctrl +r, repeat previous entries, adjust the number of stored records, and clear the history, providing practical examples and configuration tips for effective shell management.

Linuxbashcommand history
0 likes · 5 min read
Managing Linux Command History: View, Search, Modify, and Clear
Liangxu Linux
Liangxu Linux
Mar 1, 2021 · Operations

Customize Your Linux Prompt with Starship: A Step‑by‑Step Guide

This guide explains how to install the Rust‑based Starship prompt, add it to Bash, create a basic TOML configuration, and customize its appearance across Linux, macOS, and Windows shells, providing practical commands and examples for a sleek, fast terminal experience.

LinuxStarshipbash
0 likes · 6 min read
Customize Your Linux Prompt with Starship: A Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Feb 10, 2021 · Operations

Master Server Log Analysis with Powerful Bash One‑Liners

This guide presents a comprehensive set of Bash and AWK one‑liners for analyzing web server logs, counting unique IPs, tracking page visits, sorting traffic by time, identifying heavy‑weight requests, monitoring Apache processes, and examining network connection states, helping you detect anomalies and optimize performance.

Server Administrationapacheawk
0 likes · 13 min read
Master Server Log Analysis with Powerful Bash One‑Liners
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.

Operationsbashflock
0 likes · 8 min read
How to Make a Bash Script Run Only Once: Lock Files and flock Explained
Open Source Linux
Open Source Linux
Jan 26, 2021 · Information Security

10 Linux Commands That Can Wipe Your System – How to Stay Safe

This article lists ten dangerous Linux commands—including variations of rm, fork bombs, raw device writes, and hidden hex‑encoded scripts—explains how each can cause irreversible data loss or system crashes, and offers practical safeguards such as using aliases and testing only in virtual environments.

Command LineData lossSystem Security
0 likes · 7 min read
10 Linux Commands That Can Wipe Your System – How to Stay Safe
Liangxu Linux
Liangxu Linux
Jan 20, 2021 · Operations

Master Essential Linux Shell Commands and Scripts for System Ops

This guide compiles practical Linux shell commands and scripts—including file searching, batch extraction, sed editing, directory checks, disk‑space monitoring, log analysis, firewall rules, and network capture—to help system administrators automate routine tasks efficiently.

Scriptingbashcommands
0 likes · 9 min read
Master Essential Linux Shell Commands and Scripts for System Ops
Liangxu Linux
Liangxu Linux
Jan 11, 2021 · Operations

How to Create and Run Executable Bash Scripts on Linux

This guide walks you through creating a .sh Bash script, adding a simple “Hello World” program, granting execute permission with chmod, and running it directly or via sh/bash, plus a practical backup script example that archives /var/log using tar.

Backup ScriptShell scriptingbash
0 likes · 4 min read
How to Create and Run Executable Bash Scripts on Linux
Liangxu Linux
Liangxu Linux
Jan 3, 2021 · Fundamentals

How to Declare and Use Boolean Variables in Bash Scripts

This guide explains how to create, test, and apply boolean-like variables in Bash, covering numeric (0/1) and string (true/false) representations, conditional checks, and practical examples for cron jobs and backup scripts on Linux/Unix systems.

Backup ScriptCronShell scripting
0 likes · 7 min read
How to Declare and Use Boolean Variables in Bash Scripts
Nullbody Notes
Nullbody Notes
Dec 30, 2020 · Fundamentals

Essential Shell Commands and Scripting Techniques You Must Know

This article provides a comprehensive guide to Shell scripting, covering variable definition, arithmetic, string manipulation, arrays, quoting rules, control structures, functions, command‑line parsing, debugging, common text‑processing tools, file attribute changes, file management, user and group administration, disk utilities, and includes practical code examples for each topic.

Command LineLinuxScripting
0 likes · 37 min read
Essential Shell Commands and Scripting Techniques You Must Know
Liangxu Linux
Liangxu Linux
Dec 20, 2020 · Operations

Master Linux Directory Navigation with pushd, popd, and dirs

Learn how to efficiently switch between directories in Linux using the built‑in bash commands pushd, popd, and dirs, covering basic usage, stack manipulation, and advanced options to eliminate repetitive typing and streamline your workflow.

Directory StackLinuxbash
0 likes · 10 min read
Master Linux Directory Navigation with pushd, popd, and dirs
ITPUB
ITPUB
Dec 10, 2020 · Fundamentals

Master Linux Environment Variables: Quick Config & Loading Order Explained

This guide explains how to configure Linux environment variables—especially PATH for MySQL—using various methods such as export commands, editing ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and /etc/environment, and details the exact order Linux reads these files during login and shell startup.

Linuxbashenvironment variables
0 likes · 11 min read
Master Linux Environment Variables: Quick Config & Loading Order Explained
Liangxu Linux
Liangxu Linux
Dec 1, 2020 · Fundamentals

Master Bash Brackets: Parentheses, Brackets, and Brace Expansions Explained

This guide explains Bash’s various bracket types—single and double parentheses, single and double square brackets, and curly braces—including their syntax, common use cases, command and arithmetic expansions, pattern removal, and practical examples for reliable shell scripting.

Scriptingbashbrace expansion
0 likes · 14 min read
Master Bash Brackets: Parentheses, Brackets, and Brace Expansions Explained
Liangxu Linux
Liangxu Linux
Nov 22, 2020 · Operations

Master Linux Environment Variables: Six Ways to Set and Load PATH

This guide explains multiple methods for configuring Linux environment variables—especially PATH—on Ubuntu, covering user‑level files like ~/.bashrc and system‑wide files such as /etc/profile, and details the exact loading order Linux follows when initializing shells.

Linuxbashenvironment variables
0 likes · 11 min read
Master Linux Environment Variables: Six Ways to Set and Load PATH
Programmer DD
Programmer DD
Nov 2, 2020 · Operations

10 Lesser-Known Linux Commands Every Sysadmin Should Master

This article introduces ten useful but often overlooked Linux commands—pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purpose, typical use cases, and providing concrete examples to help system administrators work more efficiently.

LinuxUnixbash
0 likes · 9 min read
10 Lesser-Known Linux Commands Every Sysadmin Should Master
Laravel Tech Community
Laravel Tech Community
Nov 1, 2020 · Operations

Shell Script Coding Standards and Best Practices

This article presents a comprehensive set of guidelines for writing clean, maintainable, and efficient Bash/Shell scripts, covering shebang usage, comments, parameter validation, variable handling, indentation, naming, encoding, permissions, logging, security, parallel execution, and tooling such as ShellCheck.

ScriptStatic Analysisbash
0 likes · 20 min read
Shell Script Coding Standards and Best Practices
Liangxu Linux
Liangxu Linux
Oct 20, 2020 · Fundamentals

Essential Shell Script Style Guide: Best Practices and Tips

This guide consolidates practical conventions for writing clean, maintainable shell scripts, covering shebang usage, commenting, parameter validation, variable handling, indentation, naming, encoding, efficiency tricks, and static analysis with ShellCheck.

Code styleShell scriptingShellCheck
0 likes · 19 min read
Essential Shell Script Style Guide: Best Practices and Tips
Liangxu Linux
Liangxu Linux
Sep 23, 2020 · Operations

Speed Up File Path Verification with Bash: Split & Parallel Execution

This guide shows how to efficiently verify whether millions of file paths exist on remote servers by splitting a large list into smaller chunks and processing each chunk concurrently with a Bash script, dramatically reducing runtime compared to a single‑threaded approach.

Linux scriptingbashfile verification
0 likes · 4 min read
Speed Up File Path Verification with Bash: Split & Parallel Execution
Liangxu Linux
Liangxu Linux
Sep 6, 2020 · Fundamentals

Top 10 Linux Shell Interview Questions and Practical Answers

This article presents ten common Linux shell interview questions, providing clear explanations, command-line solutions, code examples, and step‑by‑step guidance on script termination, file header removal, line length checking, non‑printable character display, directory permissions, process states, cut, cmp vs diff, echo vs ls, and inode basics.

Scriptingbashcommand-line
0 likes · 8 min read
Top 10 Linux Shell Interview Questions and Practical Answers
Programmer DD
Programmer DD
Sep 5, 2020 · Operations

Discover bashtop: The Bash‑Powered Linux Resource Monitor You Need

bashtop is a Bash‑written Linux resource monitor that visualizes CPU, memory, disk, network and process usage, offers a game‑inspired UI with fast navigation, configurable settings, and real‑time graphs, and is available on GitHub with detailed configuration examples and usage instructions.

BashtopCLILinux
0 likes · 4 min read
Discover bashtop: The Bash‑Powered Linux Resource Monitor You Need
Efficient Ops
Efficient Ops
Sep 2, 2020 · Operations

Why Consistent Shell Script Standards Matter: A Practical Guide

This guide explains the importance of shell script coding standards, outlines core principles such as correctness, readability, maintainability, and consistency, and provides detailed recommendations on file naming, encoding, line length, indentation, comments, testing, and safe use of commands to improve script quality and reduce maintenance costs.

Operationsbashcoding standards
0 likes · 26 min read
Why Consistent Shell Script Standards Matter: A Practical Guide