Tagged articles
301 articles
Page 2 of 4
Liangxu Linux
Liangxu Linux
Feb 25, 2024 · Fundamentals

Master the Linux ‘tr’ Command: Practical Text‑Manipulation Examples

This guide explains how to use the powerful Linux tr command for character replacement, deletion, case conversion, whitespace compression, special‑character escaping, and reading character sets from files, providing clear examples and step‑by‑step code snippets for each use case.

LinuxShell scriptingUnix utilities
0 likes · 6 min read
Master the Linux ‘tr’ Command: Practical Text‑Manipulation Examples
Liangxu Linux
Liangxu Linux
Feb 6, 2024 · Operations

Master Linux Process Management with the ps Command: Tips & Examples

This guide explains the Linux ps command’s syntax, common options, and advanced usage—showing how to list processes, filter by state, view resource usage, display process trees, sort by CPU or memory, monitor in real time, and combine with kill or pkill to manage processes effectively.

LinuxShell scriptingSystem Administration
0 likes · 8 min read
Master Linux Process Management with the ps Command: Tips & Examples
Liangxu Linux
Liangxu Linux
Jan 20, 2024 · Operations

Master Linux’s watch Command: Real‑Time Monitoring and Advanced Tips

This guide explains how to install and use the Linux watch command for periodic command execution, system‑load monitoring, live log viewing, custom script scheduling, and several advanced options such as custom intervals, output redirection, screen clearing, timestamps, and display formatting.

LinuxShell scriptingcommand-line
0 likes · 5 min read
Master Linux’s watch Command: Real‑Time Monitoring and Advanced Tips
Liangxu Linux
Liangxu Linux
Nov 1, 2023 · Operations

Mastering Rsync: From Basics to Real‑Time Sync with Inotify

This guide explains rsync's fundamentals, usage in ssh and daemon modes, detailed configuration options, and how to combine it with inotify‑tools for real‑time, bidirectional file synchronization on Linux systems, including practical command examples and scripting tips.

LinuxShell scriptingdaemon
0 likes · 18 min read
Mastering Rsync: From Basics to Real‑Time Sync with Inotify
Open Source Linux
Open Source Linux
Sep 18, 2023 · Operations

Master 18 Essential Bash Scripts for Linux System Automation

This article presents a curated collection of eighteen practical Bash scripts that automate common Linux system tasks such as file consistency checks, scheduled log cleaning, network traffic monitoring, user management, firewall rules, and service health checks, providing ready‑to‑run examples for sysadmins.

AutomationBashShell scripting
0 likes · 23 min read
Master 18 Essential Bash Scripts for Linux System Automation
Java Backend Technology
Java Backend Technology
Aug 29, 2023 · Operations

18 Must‑Know Bash Scripts to Automate Linux System Administration

This article presents a curated collection of eighteen Bash scripts that demonstrate how to automate common Linux system administration tasks such as file consistency checks, scheduled log cleaning, network traffic monitoring, numeric analysis, FTP operations, user management, firewall rules, and IP blocking, providing clear explanations and ready‑to‑run code examples.

BashShell scriptingSysadmin
0 likes · 24 min read
18 Must‑Know Bash Scripts to Automate Linux System Administration
Liangxu Linux
Liangxu Linux
Aug 24, 2023 · Fundamentals

Master Bash File Redirection: From /dev/null to TCP Streams

This guide demonstrates how to use Bash to redirect standard input, output, and error streams to files, /dev/null, and even a TCP server, illustrating each technique with clear examples and step‑by‑step commands.

BashShell scriptingfile redirection
0 likes · 7 min read
Master Bash File Redirection: From /dev/null to TCP Streams
Liangxu Linux
Liangxu Linux
Aug 20, 2023 · Fundamentals

What Does exec Do in Bash Scripts? A Hands‑On Exploration

This article explains the purpose of the Bash built‑in exec command, demonstrates its effect on process trees through step‑by‑step experiments, and highlights important cautions when using exec in shell scripts.

BashShell scriptingexec
0 likes · 4 min read
What Does exec Do in Bash Scripts? A Hands‑On Exploration
Liangxu Linux
Liangxu Linux
Jun 4, 2023 · Operations

Master Shell Scripting: From Basics to Real‑World Automation

This comprehensive guide introduces shell fundamentals, explains common shells, scripting conventions, variables, control structures, loops, functions, arrays, and provides practical scripts for tasks like backups, system monitoring, and LNMP deployment, all illustrated with clear Bash examples.

BashShell scriptingbackup scripts
0 likes · 23 min read
Master Shell Scripting: From Basics to Real‑World Automation
MaGe Linux Operations
MaGe Linux Operations
Apr 29, 2023 · Operations

34 Essential Linux Bash Scripts Every Sysadmin Should Know

This article compiles a curated collection of 34 practical Bash scripts for Linux engineers, covering tasks such as number guessing games, network monitoring, user management, service control, log backup, and system health checks, providing ready‑to‑run code snippets to boost productivity and automate routine operations.

AutomationBashShell scripting
0 likes · 20 min read
34 Essential Linux Bash Scripts Every Sysadmin Should Know
MaGe Linux Operations
MaGe Linux Operations
Apr 17, 2023 · Backend Development

Master Bash: 40 Essential Shell Script Techniques for Linux

This comprehensive guide walks you through 40 practical Bash shell scripting examples—from a simple Hello World program to advanced file handling, conditionals, loops, functions, and system maintenance—showing how to write, execute, and debug scripts that automate everyday Linux tasks.

AutomationBashShell scripting
0 likes · 21 min read
Master Bash: 40 Essential Shell Script Techniques for Linux
MaGe Linux Operations
MaGe Linux Operations
Apr 12, 2023 · Fundamentals

Master Bash: 40 Essential Shell Scripts Every Linux User Should Know

This comprehensive guide walks you through the fundamentals of Bash scripting on Linux, covering everything from a simple Hello World program and echo usage to loops, conditionals, functions, file manipulation, directory handling, and system maintenance, complete with clear code examples for each concept.

AutomationBashShell scripting
0 likes · 22 min read
Master Bash: 40 Essential Shell Scripts Every Linux User Should Know
MaGe Linux Operations
MaGe Linux Operations
Feb 14, 2023 · Operations

Master Linux Environment Variables: 6 Proven Configuration Methods

This guide explains how to read and configure Linux environment variables, covering six methods—including export, editing ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and /etc/environment—while detailing the loading order, user vs system scopes, and practical tips for managing PATH and custom variables.

BashEnvironment VariablesShell scripting
0 likes · 13 min read
Master Linux Environment Variables: 6 Proven Configuration Methods
Architecture Digest
Architecture Digest
Feb 2, 2023 · Cloud Native

Implementing a Minimal Docker with Shell: Namespaces, Cgroups, and OverlayFS

This tutorial demonstrates how to build a lightweight Docker‑like container runtime using Bash by exploring Linux namespaces, cgroups, and overlayfs, providing step‑by‑step commands, code examples, and a full script that mimics core Docker functionalities for deeper operational understanding.

NamespacesShell scriptingcgroups
0 likes · 29 min read
Implementing a Minimal Docker with Shell: Namespaces, Cgroups, and OverlayFS
Liangxu Linux
Liangxu Linux
Jan 4, 2023 · Fundamentals

Unlock Hidden Linux Terminal Tricks: Send Output, Reload .bashrc, and More

This guide explores advanced Linux terminal techniques—including sending command output between terminal windows, efficiently reloading .bashrc, using alert aliases for long‑running tasks, leveraging the terminal as a calculator, and mastering subshells, command chaining, and brace expansion—to boost developer productivity.

LinuxShell scriptingUnix
0 likes · 9 min read
Unlock Hidden Linux Terminal Tricks: Send Output, Reload .bashrc, and More
MaGe Linux Operations
MaGe Linux Operations
Dec 27, 2022 · Operations

Master Essential Linux Commands for Efficient System Operations

This article shares practical Linux command techniques—including xargs, background execution, process monitoring, multitail, continuous ping logging, TCP state inspection, and SSH port forwarding—to help system administrators streamline tasks, improve script efficiency, and troubleshoot performance issues.

LinuxNetworkingOperations
0 likes · 10 min read
Master Essential Linux Commands for Efficient System Operations
Open Source Linux
Open Source Linux
Oct 17, 2022 · Operations

Mastering the Linux find Command: 7 Powerful Use Cases for Devs

This article explains why the Linux find command is essential for backend developers and interviewees, demonstrates how to delete log files older than a year, and walks through seven practical find usages—including name patterns, file types, timestamps, size, permissions, ownership, and executing actions on matched files.

LinuxShell scriptingSystem Administration
0 likes · 9 min read
Mastering the Linux find Command: 7 Powerful Use Cases for Devs
Liangxu Linux
Liangxu Linux
Sep 26, 2022 · Fundamentals

Master Bash Scripting: Variables, Loops, Functions, and More

This guide introduces Bash scripting fundamentals, covering variable declaration, printing with echo and printf, comments, user input, arrays, conditional statements, loops, functions, and tips for extending scripts with other languages, enabling readers to automate tasks on Unix-like systems.

AutomationLoopsShell scripting
0 likes · 8 min read
Master Bash Scripting: Variables, Loops, Functions, and More
Liangxu Linux
Liangxu Linux
Jul 26, 2022 · Fundamentals

7 Practical Shell Script Examples to Boost Your Linux Automation Skills

This article presents seven ready‑to‑use Bash scripts that demonstrate parallel host querying, process statistics gathering, file renaming, directory management, log analysis, network request monitoring, and file size sorting, each with complete code and step‑by‑step explanations.

AutomationShell scriptingSysadmin
0 likes · 8 min read
7 Practical Shell Script Examples to Boost Your Linux Automation Skills
Laravel Tech Community
Laravel Tech Community
Jul 18, 2022 · Operations

Common Linux Commands for Analyzing Web Server Logs and Network Connections

This article presents a collection of practical Linux shell commands—primarily using awk, grep, sort, uniq, netstat, and tcpdump—to count unique IPs, identify most‑visited pages, filter logs by time or URL, monitor connection states, and calculate traffic statistics for Apache or other web servers.

Network MonitoringShell scriptingawk
0 likes · 10 min read
Common Linux Commands for Analyzing Web Server Logs and Network Connections
Efficient Ops
Efficient Ops
Jul 4, 2022 · Operations

Master Essential Linux Commands: Find, Sed, Disk Monitoring, and More

This guide presents a collection of practical Linux command‑line techniques—including file searching, batch extraction, text manipulation with sed, directory checks, disk usage monitoring, log analysis, firewall rules, and SNMP queries—to help system administrators automate routine tasks efficiently.

AutomationShell scriptingSystem Administration
0 likes · 9 min read
Master Essential Linux Commands: Find, Sed, Disk Monitoring, and More
Open Source Linux
Open Source Linux
Jun 27, 2022 · Fundamentals

Avoid 40 Common Bash Pitfalls: Essential Tips for Safer Shell Scripts

This article compiles over forty everyday Bash programming mistakes that both beginners and seasoned users often overlook, explains why each pattern is problematic, and provides safe, portable alternatives with clear examples to improve script reliability and maintainability.

BashShell scriptingbash pitfalls
0 likes · 32 min read
Avoid 40 Common Bash Pitfalls: Essential Tips for Safer Shell Scripts
Open Source Linux
Open Source Linux
Jun 22, 2022 · Operations

Master the Linux tee Command: Real‑World Examples and Tips

This guide explains what the Linux tee command does, how it’s installed, its basic syntax and options, and provides practical examples—including writing output to files, appending data, handling multiple files, piping to other commands, ignoring interrupts, hiding output, and using sudo—so readers can efficiently capture and process command‑line output.

LinuxShell scriptingoutput redirection
0 likes · 8 min read
Master the Linux tee Command: Real‑World Examples and Tips
Open Source Linux
Open Source Linux
Jun 13, 2022 · Operations

Master the Linux ‘find’ Command: 7 Real‑World Uses & Interview Solution

This article explains why the Linux find command is essential for backend and operations engineers, walks through a common interview question about deleting year‑old log files, and then details seven practical find usages—including searching by name, type, timestamps, size, permissions, ownership, and executing commands on matches.

LinuxShell scriptingfile management
0 likes · 7 min read
Master the Linux ‘find’ Command: 7 Real‑World Uses & Interview Solution
Liangxu Linux
Liangxu Linux
Jun 8, 2022 · Fundamentals

Master the Linux tee Command: Write, Append, and Redirect Output Efficiently

This guide explains the Linux tee utility, covering its purpose, installation verification, basic syntax, useful options, and seven practical examples that demonstrate writing to files, appending data, handling multiple outputs, ignoring interrupts, and combining tee with sudo for privileged writes.

Shell scriptingTEEUnix
0 likes · 7 min read
Master the Linux tee Command: Write, Append, and Redirect Output Efficiently
Python Programming Learning Circle
Python Programming Learning Circle
May 29, 2022 · Fundamentals

Using Python to Enhance Unix Shell Command Pipelines

This article explains how Python can replace or augment traditional Unix shell scripts for tasks like counting unique users, demonstrating the advantages of Python's readability, modularity, and extensive libraries while showing how to integrate Python scripts seamlessly into command‑line pipelines with tools such as sort, head, and tail.

AutomationPipelinesScripting
0 likes · 8 min read
Using Python to Enhance Unix Shell Command Pipelines
ITPUB
ITPUB
May 26, 2022 · Operations

Master Shell Scripting: From Basics to Advanced Techniques

This comprehensive guide introduces shell programming fundamentals, demonstrates how to write, execute, and manage scripts, explains variables, strings, parameters, arithmetic, control structures, functions, arrays, and file inclusion, and provides practical code examples for Linux environments.

ArraysBashControl Flow
0 likes · 23 min read
Master Shell Scripting: From Basics to Advanced Techniques
MaGe Linux Operations
MaGe Linux Operations
May 18, 2022 · Fundamentals

Avoid 40 Common Bash Pitfalls: Best Practices for Safe Shell Scripting

This article compiles more than 40 everyday Bash programming mistakes that both beginners and veterans often overlook, explains why each example is wrong, and provides clear, corrected alternatives along with references to deeper resources, helping readers write more reliable shell scripts.

BashDebuggingShell scripting
0 likes · 32 min read
Avoid 40 Common Bash Pitfalls: Best Practices for Safe Shell Scripting
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.

BackupBashShell scripting
0 likes · 23 min read
Essential Bash Scripts for Linux Engineers: From Games to System Monitoring
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.

AutomationBashLinux
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.

BashControl structuresLinux
0 likes · 12 min read
Master Bash Shell: Core Concepts, Commands, and Scripting Tricks
Laravel Tech Community
Laravel Tech Community
Feb 7, 2022 · Operations

Linux Basic Operations and Command Reference

This article provides a comprehensive reference of essential Linux commands and procedures, covering system shutdown and reboot, hardware and environment inspection, file and directory management, user and permission handling, networking utilities, performance monitoring tools, and common text processing techniques for administrators and developers.

LinuxNetworkingPerformance Monitoring
0 likes · 18 min read
Linux Basic Operations and Command Reference
IT Services Circle
IT Services Circle
Feb 2, 2022 · Backend Development

An Introduction to zx: Simplifying Script Writing with Node

The article introduces the zx tool—a Node‑based scripting utility that streamlines command‑line automation by wrapping child_process, compares it with Bash and plain Node scripts, and demonstrates its advantages through practical code examples for tasks like batch media compression.

Node.jsShell scriptingcommand-line
0 likes · 8 min read
An Introduction to zx: Simplifying Script Writing with Node
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.

BashShell scriptingcode quality
0 likes · 25 min read
Essential Shell Script Coding Standards for Reliable Maintenance
Open Source Linux
Open Source Linux
Dec 8, 2021 · Operations

Essential Linux Command-Line Tricks for System Administration

This guide presents a collection of practical Linux command-line snippets—including file searching, batch extraction, text processing with sed, directory checks, disk usage monitoring, log analysis, firewall rules, and SNMP configuration—to help system administrators automate routine tasks efficiently.

LinuxShell scripting
0 likes · 10 min read
Essential Linux Command-Line Tricks for System Administration
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.

AutomationBashShell scripting
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.

AutomationBashControl Flow
0 likes · 11 min read
Master Shell Scripting: From Basics to Advanced Control Structures
Open Source Linux
Open Source Linux
Sep 12, 2021 · Operations

Master Fast, Secure File Sharing with transfer.sh: Command-Line Guide

This article explains why traditional cloud storage can be slow or limited, introduces the free command‑line tool transfer.sh, lists its key features, and provides step‑by‑step examples for uploading, downloading, encrypting, and automating file transfers across platforms.

Shell scriptingfile sharingtransfer.sh
0 likes · 8 min read
Master Fast, Secure File Sharing with transfer.sh: Command-Line Guide
Open Source Linux
Open Source Linux
Sep 10, 2021 · Information Security

How a 13‑Character Fork Bomb Crashes Linux and How to Stop It

Jaromil’s 13‑character Linux fork bomb demonstrates how a tiny Bash function can recursively spawn processes, exhausting system resources and causing a denial‑of‑service crash, while the article explains its mechanics, shows a live cloud‑VM demo, and provides practical mitigation using ulimit and security limits.

DoSLinuxShell scripting
0 likes · 5 min read
How a 13‑Character Fork Bomb Crashes Linux and How to Stop It
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.

BashFile RenamingLinux
0 likes · 8 min read
Batch Rename Files Using sed and Bash Substring Techniques
Java Backend Technology
Java Backend Technology
Aug 5, 2021 · Operations

Boost Your Workflow: Essential Command-Line Tools Every Developer Needs

This article curates a collection of powerful command-line utilities—including ag, tig, mycli, jq, shellcheck, fzf, PathPicker, htop, glances, axel, sz/rz, cloc, tmux, script, and multitail—explaining their core features and how they can replace or enhance traditional tools for developers and system operators.

DevOpsShell scriptingSystem Utilities
0 likes · 5 min read
Boost Your Workflow: Essential Command-Line Tools Every Developer Needs
Liangxu Linux
Liangxu Linux
Jul 26, 2021 · Fundamentals

Master the Linux date Command: Display, Format, and Set Dates

This tutorial explains how to use the Linux date command to show the current time, format dates in various ways, query past or future dates, customize output with format specifiers, set the system clock, and incorporate date values into shell scripts.

Date FormattingLinuxShell scripting
0 likes · 7 min read
Master the Linux date Command: Display, Format, and Set Dates
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.

BashShell scriptingString Manipulation
0 likes · 21 min read
Master Linux Shell: Variables, Strings, and Script Essentials
Open Source Linux
Open Source Linux
Jul 11, 2021 · Operations

Mastering Shell Script Best Practices for Reliable Automation

This article outlines practical shell‑script guidelines for automating system and application operations, covering script header conventions, formatting, error handling, safe use of commands, variable handling, file packaging, pipeline restrictions, concurrency locks, logging, and risk‑mitigation strategies to make automation both efficient and secure.

AutomationDevOpsLinux
0 likes · 10 min read
Mastering Shell Script Best Practices for Reliable Automation
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.

BashShell scriptingShellCheck
0 likes · 6 min read
Why Bash Returns Zero When Summing a Column and How to Fix It
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.

BashConditionalsLoops
0 likes · 14 min read
Master Bash Conditionals, Loops, and Signal Traps with Real‑World 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.

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

30 Essential Bash Scripts for Linux Operations and Automation

This article compiles a comprehensive set of Bash scripts that demonstrate how to verify file consistency across servers, schedule log cleaning, monitor network traffic, count numeric characters in files, manage users and passwords, automate firewall rules, and perform various other Linux system administration tasks, providing ready-to-use code snippets for each scenario.

AutomationShell scripting
0 likes · 24 min read
30 Essential Bash Scripts for Linux Operations and Automation
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.

BashConditionalsLoops
0 likes · 16 min read
Comprehensive Bash Scripting Guide: Conditionals, Loops, and Signal Traps
Liangxu Linux
Liangxu Linux
Apr 13, 2021 · Fundamentals

Master awk: From Basics to Advanced Text Processing on Linux

This comprehensive guide introduces awk as a powerful Linux text‑analysis tool, explains its underlying record‑field model, demonstrates practical one‑liners and scripts for reporting, filtering, formatting, file splitting, and shows advanced features like built‑in variables, conditionals, arrays, and string functions.

LinuxShell scriptingUnix
0 likes · 11 min read
Master awk: From Basics to Advanced Text Processing on Linux
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.

BashShell scriptingVariables
0 likes · 10 min read
Master Bash: Essential Shell Commands, Variables, and Scripting Basics
Liangxu Linux
Liangxu Linux
Jan 20, 2021 · Fundamentals

Master the Linux export Command: Beginner’s Guide to Environment Variables

This article explains how to use the Linux export command to set and view environment variables, demonstrates common options such as listing all exports, exporting specific variables, exporting functions, and shows how to persist settings in shell configuration files, providing practical examples for beginners.

Environment VariablesExportLinux
0 likes · 6 min read
Master the Linux export Command: Beginner’s Guide to Environment Variables
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 ScriptBashShell scripting
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 ScriptBashShell scripting
0 likes · 7 min read
How to Declare and Use Boolean Variables in Bash Scripts
Programmer DD
Programmer DD
Dec 26, 2020 · Fundamentals

Create Safer Bash Scripts with a Minimal, Portable Template

This guide introduces a minimal, safe Bash script template, explains why Bash is still essential for backend tasks, and walks through best‑practice features such as strict error handling, portable shebang, colorized messaging, parameter parsing, cleanup traps, and portability across macOS and various Linux distributions.

Shell scriptingbest practicesscript template
0 likes · 15 min read
Create Safer Bash Scripts with a Minimal, Portable Template
Laravel Tech Community
Laravel Tech Community
Nov 25, 2020 · Operations

Comprehensive Guide to Logrotate: Configuration, Usage, and Custom Scripts for Linux Log Management

This article provides an in‑depth tutorial on using the Linux logrotate utility, covering default configuration files, command‑line options, example configurations for services like Nginx, PHP‑FPM, Tomcat, custom Bash and Python rotation scripts, troubleshooting tips, and how to adjust cron scheduling for automated log rotation.

LinuxLog ManagementShell scripting
0 likes · 21 min read
Comprehensive Guide to Logrotate: Configuration, Usage, and Custom Scripts for Linux Log Management
Liangxu Linux
Liangxu Linux
Nov 14, 2020 · Fundamentals

Mastering Shell Script Reuse: Calling External Scripts and Functions in Linux

This guide explains how to execute external shell scripts, import their functions and variables using source, dot, or sh commands, compares their behaviors, and provides practical patterns—including case dispatch and a generic function‑call template—to enable reliable script reuse in Linux environments.

LinuxShell scriptingbash functions
0 likes · 12 min read
Mastering Shell Script Reuse: Calling External Scripts and Functions in Linux
Liangxu Linux
Liangxu Linux
Nov 4, 2020 · Fundamentals

Mastering the tee Command: 7 Practical Linux Examples

This guide explains how the Linux tee command reads from standard input and simultaneously writes to both a file and the screen, providing seven detailed examples that cover basic usage, writing to multiple files, silent output, appending, sudo integration, piping between commands, and using tee within vim.

LinuxShell scriptingTEE
0 likes · 6 min read
Mastering the tee Command: 7 Practical Linux Examples
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.

BashShell scriptingShellCheck
0 likes · 19 min read
Essential Shell Script Style Guide: Best Practices and Tips
Liangxu Linux
Liangxu Linux
Oct 20, 2020 · Operations

Mastering AWK: Quick Commands to Clean, Filter, and Analyze Text Files

This guide demonstrates how to use AWK’s sub, gsub, and pattern‑matching features to delete blank lines, trim whitespace, reverse file order, add line numbers, count or filter specific strings, replace text, and combine AWK with other Linux utilities for everyday text‑processing tasks.

Shell scriptingawkdata cleaning
0 likes · 7 min read
Mastering AWK: Quick Commands to Clean, Filter, and Analyze Text Files
Liangxu Linux
Liangxu Linux
Oct 13, 2020 · Fundamentals

Master Linux Case Conversion with tr, awk, sed, and Python

This guide walks you through Linux command‑line tools—tr, awk, sed, and even Python—to efficiently convert text case, handle whole‑file transformations, capitalize only first letters, and ensure proper title‑case formatting for scripts and shell pipelines.

LinuxShell scriptingawk
0 likes · 6 min read
Master Linux Case Conversion with tr, awk, sed, and Python
ITPUB
ITPUB
Sep 28, 2020 · Operations

Essential Linux Regex Commands for Quick System Queries

A concise collection of Linux command-line one‑liners demonstrates how to extract IPv4 addresses, disk usage, user information, permissions, and pattern matches using regular expressions and tools like ifconfig, df, cat, cut, sort, and egrep.

LinuxShell scriptingSystem Administration
0 likes · 5 min read
Essential Linux Regex Commands for Quick System Queries
Liangxu Linux
Liangxu Linux
Aug 15, 2020 · Operations

How to Write Robust Shell Scripts: Essential Tips and Best Practices

This guide presents practical techniques for creating reliable Bash scripts, covering syntax checking, automatic exit on errors, execution tracing, undefined‑variable detection, pipe‑fail handling, readonly variables, default values, command chaining, and function usage, with concrete code examples and tool recommendations.

BashShell scriptingset -e
0 likes · 7 min read
How to Write Robust Shell Scripts: Essential Tips and Best Practices
Open Source Linux
Open Source Linux
Jul 30, 2020 · Operations

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

This article compiles practical shell‑script coding standards—covering shebang usage, commenting, parameter validation, variable handling, indentation, naming, encoding, logging, security, modular design, parallel execution, and static analysis with shellcheck—to help developers write readable, maintainable, and performant Bash scripts.

BashShell scriptingcode style
0 likes · 19 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
21CTO
21CTO
Jul 17, 2020 · Fundamentals

Master Essential Linux Commands and System Administration Basics

This comprehensive guide covers fundamental Linux commands such as ls and cat, user and group management, package handling with RPM and yum, process monitoring tools, file searching utilities, scheduled task creation with at and crontab, and automating interactions using Expect, providing clear examples and code snippets for each topic.

LinuxShell scriptingSystem Administration
0 likes · 38 min read
Master Essential Linux Commands and System Administration Basics
Efficient Ops
Efficient Ops
Jun 29, 2020 · Fundamentals

Mastering sed: Essential Commands for Fast Text Processing

This guide introduces the core concepts of the Unix sed command, covering its basic syntax, common options, address ranges, editing commands, substitution patterns, useful flags, and practical one‑liners for text manipulation and system administration tasks.

Shell scriptingUnixsed
0 likes · 10 min read
Mastering sed: Essential Commands for Fast Text Processing
FunTester
FunTester
Jun 26, 2020 · Operations

How Testers Can Master Linux for Environment Setup and Debugging

This guide explains why Linux is essential for software testers, outlines how to build test environments, use key commands like tail, grep, top, and vmstat for log analysis and performance monitoring, and offers tips for deeper Linux learning and interview preparation.

Environment setupLinuxPerformance Monitoring
0 likes · 6 min read
How Testers Can Master Linux for Environment Setup and Debugging
DevOps Engineer
DevOps Engineer
Jun 14, 2020 · Operations

Automating Periodic SSH Login Checks with Jenkins and Expect

This guide explains how to use a Jenkins‑triggered shell script with Expect to regularly log into multiple remote VMs, record results, allow users to add hostnames, and commit changes to a Git repository for automated DevOps operations.

AutomationDevOpsJenkins
0 likes · 4 min read
Automating Periodic SSH Login Checks with Jenkins and Expect
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
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.

BashDevOpsLinux
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
Open Source Linux
Open Source Linux
Mar 29, 2020 · Operations

Automate Bulk Linux Root Password Changes with Expect Scripts

Learn how to efficiently update root passwords across dozens or hundreds of Linux servers by creating Expect scripts that automate SSH logins, parse IP and password lists, and execute batch password changes, complete with step-by-step instructions, required environment setup, and script explanations.

AutomationLinuxPassword Management
0 likes · 5 min read
Automate Bulk Linux Root Password Changes with Expect Scripts
Liangxu Linux
Liangxu Linux
Mar 28, 2020 · Fundamentals

Master Linux File Renaming with mv and rename: Simple and Complex Techniques

This guide explains how to rename files on Linux using the mv and rename commands, covering basic single‑file renaming, batch renaming with patterns, handling different OS syntaxes, and advanced strategies for generating name mappings from custom files or filename patterns.

Batch ProcessingShell scriptingawk
0 likes · 11 min read
Master Linux File Renaming with mv and rename: Simple and Complex Techniques
MaGe Linux Operations
MaGe Linux Operations
Mar 26, 2020 · Operations

Top Linux Ops Interview Questions with Ready‑to‑Use Scripts

Explore essential Linux operations interview topics—including key Nginx modules, load‑balancing architectures, network connection checks, file‑descriptor tuning, traffic analysis with tcpdump, IP discovery scripts, log‑retention strategies, system hardening tips, SecureCRT shortcuts, and a nightly backup cron job—all with ready‑to‑run command examples.

Shell scripting
0 likes · 9 min read
Top Linux Ops Interview Questions with Ready‑to‑Use Scripts
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
MaGe Linux Operations
MaGe Linux Operations
Feb 17, 2020 · Operations

How to Efficiently Split and Merge Large Log Files on Linux

When log files grow massive, traditional tools like vim, cat, grep, and awk become slow and memory‑hungry, but Linux’s split command lets you divide a huge file by line count or size, process the pieces individually, and later recombine them, dramatically improving analysis efficiency.

Big DataShell scriptingfile-handling
0 likes · 8 min read
How to Efficiently Split and Merge Large Log Files on Linux