Tagged articles

shell scripting

319 articles · Page 3 of 4
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.

bashset -eshell scripting
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.

Code stylebashshell scripting
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.

CronLinuxcommand line
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.

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

LinuxPerformance Monitoringenvironment setup
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.

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

bashfind commandrun-parts
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.

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

ShellCheckbashcoding standards
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.

LinuxPassword Managementautomation
0 likes · 5 min read
Automate Bulk Linux Root Password Changes with Expect Scripts
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.

File Handlingbig datalog-analysis
0 likes · 8 min read
How to Efficiently Split and Merge Large Log Files on Linux
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.

Best Practicesbasherror handling
0 likes · 9 min read
Reliable Bash Shell Scripting Practices
Liangxu Linux
Liangxu Linux
Feb 10, 2020 · Operations

Mastering xargs: Powerful Techniques for Linux Command-Line Automation

This guide explains how the xargs utility transforms piped or stdin data into command arguments, covering its syntax, options for limiting arguments, running multiple commands, custom delimiters, reading from files, and combining with find for efficient batch operations on Linux systems.

shell scriptingsysadminxargs
0 likes · 7 min read
Mastering xargs: Powerful Techniques for Linux Command-Line Automation
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.

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

Master awk: From Basics to Advanced Text Processing with Real Examples

This article provides a comprehensive guide to awk, covering its origins, syntax, options, keywords, operators, built‑in variables, regular‑expression meta‑characters, functions, control flow, system interaction, and practical examples that help readers efficiently process and analyze text data on the command line.

awkregexshell scripting
0 likes · 13 min read
Master awk: From Basics to Advanced Text Processing with Real Examples
ITPUB
ITPUB
Jan 7, 2020 · Fundamentals

Mastering the Linux ‘seq’ Command: Quick Ways to Generate Number Lists

This guide explains how to use the Linux seq command to create numeric sequences, customize start, end, and step values, apply separators, pipe results to calculators like bc, and highlights performance tips and limitations for effective shell scripting.

Linuxcommand linenumber sequence
0 likes · 4 min read
Mastering the Linux ‘seq’ Command: Quick Ways to Generate Number Lists
Liangxu Linux
Liangxu Linux
Jan 2, 2020 · Operations

Master Linux File Searches: Powerful find Command Techniques

This guide walks you through the Linux find command, covering essential options for locating directories, hidden files, size‑based matches, recent modifications, permission‑restricted items, and more, while also comparing find with locate and showing how to limit CPU and I/O impact.

find commandshell scriptingsystem administration
0 likes · 14 min read
Master Linux File Searches: Powerful find Command Techniques
MaGe Linux Operations
MaGe Linux Operations
Dec 15, 2019 · Fundamentals

Master AWK: A Quick Guide to Text Processing and Scripting

This comprehensive AWK tutorial, translated and refined from an original English guide, walks readers through the language’s history, variants, typical uses, workflow, program structure, syntax, command‑line options, built‑in variables, operators, regular expressions, arrays, control flow, functions, I/O redirection, and output formatting, providing practical examples and code snippets for rapid mastery.

awkgawkshell scripting
0 likes · 13 min read
Master AWK: A Quick Guide to Text Processing and Scripting
MaGe Linux Operations
MaGe Linux Operations
Nov 20, 2019 · Operations

Essential Shell Script Best Practices for Reliable Automation

This article outlines the evolution from manual to automated operations, then presents a comprehensive set of shell‑script guidelines—including header conventions, formatting, safety checks, variable handling, loop pitfalls, logging, concurrency locks, and risk‑avoidance techniques—to help engineers write robust, maintainable automation scripts.

Best Practicesoperationsshell scripting
0 likes · 10 min read
Essential Shell Script Best Practices for Reliable Automation
Efficient Ops
Efficient Ops
Nov 17, 2019 · Operations

Mastering Shell Script Best Practices for Reliable Automation

This article outlines how to transform manual and scripted operations into automated and intelligent processes by applying comprehensive shell scripting standards, avoiding common pitfalls, and implementing risk‑mitigation techniques such as proper headers, quoting, logging, concurrency locks, and safe file handling.

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

Linuxautomationbash
0 likes · 6 min read
Unlock Bash Mastery with the Pure Bash Bible Cheat Sheet
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.

automationbashcode snippets
0 likes · 4 min read
Unlock Powerful Bash Scripting with the Free Pure Bash Bible
ITPUB
ITPUB
Sep 9, 2019 · Operations

Master Linux Basics: Essential Commands and Learning Path for Beginners

This guide outlines a practical roadmap for Linux newcomers, covering the purpose of learning, essential command‑line tools, recommended resources, habits for working in the shell, Unix‑style thinking, and key skills like Shell scripting, Python, DevOps, and cloud automation.

Learning GuideLinuxcommand line
0 likes · 9 min read
Master Linux Basics: Essential Commands and Learning Path for Beginners
MaGe Linux Operations
MaGe Linux Operations
Aug 5, 2019 · Fundamentals

Master Linux ‘time’: Measure Script Execution Like a Pro

This guide explains how to use the Linux time command to accurately measure script or command execution duration, covering basic usage, output redirection, detailed statistics, and custom formatting for precise performance testing in time‑critical environments.

Performance Measurementshell scriptingtime command
0 likes · 8 min read
Master Linux ‘time’: Measure Script Execution Like a Pro
Liangxu Linux
Liangxu Linux
Aug 1, 2019 · Operations

Mastering the tee Command: Capture and Redirect Linux Output Efficiently

This guide explains how to use the Linux tee command to capture command output, append to files, write to multiple destinations, ignore interrupts, pipe results to other commands, and integrate tee into shell scripts, providing practical examples and syntax details.

TEEcommand-lineoutput redirection
0 likes · 8 min read
Mastering the tee Command: Capture and Redirect Linux Output Efficiently
Liangxu Linux
Liangxu Linux
Jul 24, 2019 · Operations

Mastering Linux ‘time’: Measure, Log, and Customize Command Execution

This guide explains how to use the Linux time command to benchmark scripts, capture real, user, and system durations, redirect results to files, obtain detailed statistics with the -v option, and create custom output formats using format specifiers and escape sequences.

Performance Measurementcommand-lineshell scripting
0 likes · 9 min read
Mastering Linux ‘time’: Measure, Log, and Customize Command Execution
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
Liangxu Linux
Liangxu Linux
Jul 16, 2019 · Fundamentals

Mastering sed: Powerful Text Editing Commands for Linux

This guide explains how the stream editor sed works, covering its basic workflow, command‑line options, core commands for substitution, deletion, insertion, appending, changing, transliteration, and file I/O, as well as line‑addressing techniques with practical examples.

command lineshell scriptingstream editor
0 likes · 16 min read
Mastering sed: Powerful Text Editing Commands for Linux
Efficient Ops
Efficient Ops
Jul 10, 2019 · Fundamentals

Mastering sed: Powerful Text Editing and Stream Processing in Linux

This article provides a comprehensive guide to the Linux stream editor sed, covering its batch processing workflow, core options (-e, -f, -n), common commands for substitution, deletion, insertion, line addressing, pattern filtering, transliteration, and file I/O with clear examples and code snippets.

LinuxText ReplacementUnix
0 likes · 12 min read
Mastering sed: Powerful Text Editing and Stream Processing in Linux
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.

Linuxautomationbash
0 likes · 13 min read
Essential Bash Scripts for System Monitoring and Automation
MaGe Linux Operations
MaGe Linux Operations
Jun 21, 2019 · Fundamentals

Master awk: From Simple Column Extraction to Powerful Data Aggregation

This tutorial explains how awk works, demonstrates printing specific columns, changing field separators, applying conditional filters, using BEGIN/END blocks for headers and footers, performing calculations, and leveraging built‑in variables and functions for advanced text processing on Linux.

shell scriptingtext-processing
0 likes · 7 min read
Master awk: From Simple Column Extraction to Powerful Data Aggregation
360 Quality & Efficiency
360 Quality & Efficiency
Jun 18, 2019 · Operations

Introduction to the curl Command: Syntax, Options, and Examples

This article provides a comprehensive overview of the curl command-line tool, detailing its purpose, basic syntax, frequently used options, and practical examples for file downloading, uploading, and HTTP request testing, helping readers effectively leverage curl for network and data transfer tasks.

FTPHTTPcommand-line
0 likes · 6 min read
Introduction to the curl Command: Syntax, Options, and Examples
21CTO
21CTO
Jun 14, 2019 · Operations

Essential Shell Script Coding Standards for Clean, Efficient Automation

This guide consolidates best‑practice conventions for writing readable, maintainable, and efficient shell scripts, covering shebang usage, commenting, parameter validation, variable naming, indentation, quoting, function structuring, scope handling, heredocs, path resolution, performance tricks, parallel execution, and static analysis with ShellCheck.

ShellCheckautomationcoding standards
0 likes · 16 min read
Essential Shell Script Coding Standards for Clean, Efficient Automation
Liangxu Linux
Liangxu Linux
Jun 13, 2019 · Information Security

Generate Strong Random Passwords on Linux with pwgen, OpenSSL, and GPG

Learn how to create high‑entropy, hard‑to‑guess passwords on Linux using three command‑line tools—pwgen, OpenSSL, and GPG—covering installation, usage options, batch generation scripts, and additional utilities for secure credential management.

GPGopensslpassword generation
0 likes · 6 min read
Generate Strong Random Passwords on Linux with pwgen, OpenSSL, and GPG
MaGe Linux Operations
MaGe Linux Operations
Mar 17, 2019 · Fundamentals

Master Linux Regular Expressions: Essential Metacharacters and Practical Examples

This article introduces Linux regular expressions, explains the two types of metacharacters—shell and regex—shows how to enable colored output with grep, provides a sample test file, and demonstrates numerous practical pattern-matching examples ranging from simple word searches to complex character class and repetition constructs.

Linuxgrepregular expressions
0 likes · 5 min read
Master Linux Regular Expressions: Essential Metacharacters and Practical Examples
MaGe Linux Operations
MaGe Linux Operations
Mar 11, 2019 · Operations

Mastering AWK: Powerful Text Processing Techniques for Linux

This article provides a comprehensive introduction to AWK, covering its origins, basic syntax, command‑line usage, built‑in variables, printing functions, programming constructs such as conditionals, loops, and arrays, and includes numerous practical examples for extracting and formatting data on Linux systems.

Pattern Matchingawkcommand line
0 likes · 13 min read
Mastering AWK: Powerful Text Processing Techniques for Linux
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
Feb 21, 2019 · Operations

35 Essential Linux ‘find’ Command Tricks You Must Master

This guide walks you through 35 practical examples of the Linux find command, covering name searches, permission filters, owner/group queries, date‑based queries, and size‑based searches, each illustrated with clear explanations and screenshots to help sysadmins and developers locate files efficiently.

Linuxfile-searchfind command
0 likes · 9 min read
35 Essential Linux ‘find’ Command Tricks You Must Master
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.

bashdebuggingscript safety
0 likes · 11 min read
Master Bash Scripting: Essential Safety, Functions, and Debugging Tips
MaGe Linux Operations
MaGe Linux Operations
Dec 21, 2018 · Fundamentals

How Linux Pipes Achieve Real‑Time Data Flow: Buffering, SIGPIPE & Tips

Linux pipes transmit data between commands concurrently, not after one finishes, and their behavior depends on kernel buffering, I/O modes, and signals like SIGPIPE; this article explains pipe internals, real‑time data flow, buffering strategies, read/write rules, and practical tips with illustrative experiments.

BufferingLinuxSIGPIPE
0 likes · 8 min read
How Linux Pipes Achieve Real‑Time Data Flow: Buffering, SIGPIPE & Tips
MaGe Linux Operations
MaGe Linux Operations
Dec 6, 2018 · Fundamentals

Mastering AWK: Powerful Text Processing and Reporting Techniques

AWK is a versatile text-processing language that reads files line by line, splits fields by default spaces, and applies pattern-action rules to analyze data, generate reports, and perform complex tasks such as extracting columns, counting records, and scripting with built-in variables, loops, and conditional statements.

Data AnalysisLinuxawk
0 likes · 14 min read
Mastering AWK: Powerful Text Processing and Reporting Techniques
MaGe Linux Operations
MaGe Linux Operations
Nov 8, 2018 · Operations

Essential Linux Commands and Scripts for System Administration

A comprehensive collection of Linux commands and shell scripts covering mounting Windows shares, monitoring HTTP concurrency, network sniffing, log analysis, file system checks, boot sequence, link types, partition handling, FTP modes, and various automation tasks for effective system administration.

networkingshell scripting
0 likes · 16 min read
Essential Linux Commands and Scripts for System Administration
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.

Linux monitoringbashshell 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.

ShellCheckbashdebugging
0 likes · 10 min read
8 Essential Shell Script Best Practices Every Developer Should Follow
360 Quality & Efficiency
360 Quality & Efficiency
Aug 10, 2018 · Databases

Automating MySQL Database Testing with Shell Scripts

This article explains how to use Bash shell scripts on Linux to automate MySQL database testing tasks such as creating tables, inserting, updating, and monitoring dynamic database states, providing step‑by‑step code examples and execution instructions for efficient test automation.

Database TestingLinuxMySQL
0 likes · 7 min read
Automating MySQL Database Testing with Shell Scripts
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.

FunctionsString Manipulationbash
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.

Linuxbashinterview-questions
0 likes · 10 min read
Top 24 Shell Scripting Interview Questions Every Linux Engineer Should Know
MaGe Linux Operations
MaGe Linux Operations
Apr 12, 2018 · Operations

Master Awk: Unlock Powerful Text Processing on the Command Line

This comprehensive guide explains Awk’s role as a versatile, stream‑oriented editor and pattern‑matching language, covering its command‑line syntax, records and fields, scripts, patterns, regular expressions, operators, statements, built‑in variables, functions, I/O handling, and practical code examples for Linux users.

Linuxawkdata-extraction
0 likes · 28 min read
Master Awk: Unlock Powerful Text Processing on the Command Line
ITPUB
ITPUB
Apr 10, 2018 · Fundamentals

Mastering Awk: Powerful Text‑Processing Techniques for Linux

This guide introduces the AWK text‑processing language, explains its syntax, shows three ways to invoke it, and provides practical examples—from extracting fields in /etc/passwd to counting users, computing file sizes, and using built‑in variables, conditionals, loops, and arrays for advanced scripting.

Linuxawkshell scripting
0 likes · 13 min read
Mastering Awk: Powerful Text‑Processing Techniques for Linux
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.

File HandlingFunctionsLoops
0 likes · 24 min read
Master Shell Scripting: From Variables to Advanced Sed Editing
ITPUB
ITPUB
Apr 2, 2018 · Operations

Mastering Linux ‘find’: Powerful File Search Techniques and Examples

This guide explains the essential syntax of the Linux find command and demonstrates how to locate files by name, pattern, path, type, depth, size, timestamps, permissions, ownership, and how to execute actions on matched files, with clear examples for each use case.

Linuxfile-searchfind command
0 likes · 7 min read
Mastering Linux ‘find’: Powerful File Search Techniques and Examples
MaGe Linux Operations
MaGe Linux Operations
Mar 5, 2018 · Fundamentals

Master AWK: Powerful Text Processing Techniques and Real-World Examples

This article introduces AWK—a versatile text‑analysis language—explaining its origins, core concepts, command‑line usage, built‑in variables, printing functions, programming constructs, conditionals, loops, and associative arrays, and provides practical Linux examples for extracting and summarizing data.

awkdata-extractiongawk
0 likes · 12 min read
Master AWK: Powerful Text Processing Techniques and Real-World Examples
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
MaGe Linux Operations
MaGe Linux Operations
Dec 9, 2017 · Fundamentals

Mastering Awk: From Basics to Advanced Text Processing

This comprehensive guide introduces Awk, explains its command‑line syntax, script structure, patterns, built‑in variables, arrays, functions, operators, statements, I/O handling, and practical examples, enabling readers to harness Awk for powerful text processing tasks on Unix-like systems.

Unixawkregular expressions
0 likes · 31 min read
Mastering Awk: From Basics to Advanced Text Processing
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 handlingrm -rf
0 likes · 5 min read
How to Prevent Accidental Deletion in Linux Shell Scripts
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2017 · Operations

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

This article compiles comprehensive shell scripting best‑practice guidelines—including shebang usage, commenting, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, password safety, line continuation, efficiency tricks, quoting, function structuring, scope control, indirect references, heredocs, path resolution, parallel execution, modern syntax, and static analysis with ShellCheck—to help developers write readable, maintainable, and performant Bash scripts.

Best PracticesCode stylebash
0 likes · 18 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
ITPUB
ITPUB
Aug 23, 2017 · Operations

Master Bash: Essential Variables, Operators, and Conditional Statements

This guide introduces Bash scripting fundamentals, covering predefined variables, declaration operators, and practical examples of single‑, double‑, and multi‑branch if statements for tasks such as checking user privileges, disk usage, and service status on Linux systems.

If StatementsLinuxautomation
0 likes · 5 min read
Master Bash: Essential Variables, Operators, and Conditional Statements
ITPUB
ITPUB
Aug 9, 2017 · Backend Development

8 Essential Shell Scripting Practices Every Developer Should Follow

This article shares eight hard‑earned recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis, variable expansion, proper scoping, signal trapping, defensive coding, and knowing when to switch to a more suitable language.

Best PracticesShellCheckVariable Expansion
0 likes · 10 min read
8 Essential Shell Scripting Practices Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Jul 8, 2017 · Operations

Master Shell Scripting: From Basics to Advanced Automation

This article introduces shell scripting fundamentals, explores practical use cases, explains how the shell works, demonstrates variables, operators, control structures, functions, redirection, and provides example scripts for automating tasks on Windows, Unix, and Linux systems.

FunctionsLoopsbash
0 likes · 6 min read
Master Shell Scripting: From Basics to Advanced Automation
MaGe Linux Operations
MaGe Linux Operations
Jul 3, 2017 · Operations

Essential Linux Skills Every Beginner Should Master

This guide outlines why learning a single Linux distribution like CentOS or RHEL provides a solid foundation, recommends a practical beginner's book, lists core knowledge areas and essential tools, and highlights the importance of hardware basics and automation for aspiring Linux operations engineers.

DevOpsLinuxshell scripting
0 likes · 5 min read
Essential Linux Skills Every Beginner Should Master
MaGe Linux Operations
MaGe Linux Operations
Jun 24, 2017 · Operations

Essential Bash Scripting Tips and Practical Monitoring Scripts

This guide provides concise Bash scripting best practices, code snippets for generating random strings, color output functions, bulk user creation, package and service checks, host liveness verification, resource utilization monitoring, and website availability testing, all useful for system administration and interview preparation.

Linux monitoringbashshell scripting
0 likes · 5 min read
Essential Bash Scripting Tips and Practical Monitoring Scripts
ITPUB
ITPUB
Jun 20, 2017 · Fundamentals

10 Essential Bash Scripting Tips for Reliable Linux Automation

Learn ten practical Bash scripting techniques—including adding comments, exiting on errors, proper variable quoting, using functions, correct string comparisons, modern command substitution, readonly variables, naming conventions, and debugging—to write more efficient, reliable, and maintainable scripts for Linux automation tasks.

Best PracticesLinuxautomation
0 likes · 6 min read
10 Essential Bash Scripting Tips for Reliable Linux Automation
dbaplus Community
dbaplus Community
May 24, 2017 · Databases

Automate Oracle RMAN Backup Validation and Restore with Shell Scripts

This article presents two comprehensive Shell scripts—one to validate Oracle RMAN backup sets and another to perform a full backup‑restore experiment—detailing SSH trust configuration, source information collection, log transfer, directory preparation, and step‑by‑step RMAN restore commands, all illustrated with practical screenshots and a GitHub repository link.

Database AdministrationOracleRMAN
0 likes · 15 min read
Automate Oracle RMAN Backup Validation and Restore with Shell Scripts
ITPUB
ITPUB
May 20, 2017 · Fundamentals

Boost Your Bash Scripts: Safety, Functions, and Advanced Tips

This article presents practical Bash scripting techniques—including safety flags, function definitions, variable annotations, modern command substitution, double‑bracket tests, powerful string manipulation, process substitution, here‑documents, built‑in variables, and debugging methods—to write more reliable and maintainable shell scripts.

FunctionsString Manipulationbash
0 likes · 9 min read
Boost Your Bash Scripts: Safety, Functions, and Advanced Tips
MaGe Linux Operations
MaGe Linux Operations
Apr 15, 2017 · Fundamentals

Master Bash Scripting: Essential Basics, Quirks, and Safety Tips

This article walks through Bash scripting fundamentals—including variable assignment, quoting, loops, conditionals, functions, return codes, and background jobs—while highlighting common pitfalls and safety practices such as always quoting variables and using the shellcheck linter.

If StatementsShellCheckbash
0 likes · 10 min read
Master Bash Scripting: Essential Basics, Quirks, and Safety Tips
ZhiKe AI
ZhiKe AI
Feb 21, 2017 · Fundamentals

Mastering awk: Powerful Text Analysis and Reporting Beyond grep and sed

This article introduces awk as a versatile text‑processing language, explains its origins and variants, details command‑line syntax and three invocation methods, and walks through practical examples—from extracting fields in system files to using built‑in variables, conditionals, loops, arrays, and formatted output with print and printf.

Unixawkgawk
0 likes · 11 min read
Mastering awk: Powerful Text Analysis and Reporting Beyond grep and sed
ZhiKe AI
ZhiKe AI
Feb 14, 2017 · Fundamentals

Mastering Linux Shell: Basics, Scripts, Variables, and Control Structures

This article introduces the Linux shell as an interface and scripting language, explains how to execute scripts, manage system and user variables, use special variables, operators, conditional statements, loops, case constructs, and define functions, providing concrete syntax examples for each feature.

Control structuresLinuxShell
0 likes · 9 min read
Mastering Linux Shell: Basics, Scripts, Variables, and Control Structures
ZhiKe AI
ZhiKe AI
Feb 10, 2017 · Fundamentals

Understanding Linux Shell: Basics, Scripts, and Common Commands

This article introduces the Linux shell as the user‑kernel interface, explains why Bash is the most popular shell, and covers script execution methods, variable handling, operators, control structures, and custom functions with concrete command examples.

LinuxShellbash
0 likes · 9 min read
Understanding Linux Shell: Basics, Scripts, and Common Commands
Architects Research Society
Architects Research Society
Nov 13, 2016 · Fundamentals

70 Common Shell Script Interview Questions and Answers

This article compiles 70 typical Linux shell scripting interview questions covering script arguments, parameter handling, condition checks, loops, string manipulation, array operations, file I/O, and common command usages, each accompanied by concise Bash code examples to help candidates prepare effectively.

Linuxbashcommand line
0 likes · 9 min read
70 Common Shell Script Interview Questions and Answers
MaGe Linux Operations
MaGe Linux Operations
Oct 28, 2016 · Operations

Master Linux Boot Process: From BIOS to Init with Practical Commands

This guide walks through Linux system startup fundamentals, covering nohup usage, nice value adjustments, runlevel inspection, initramfs handling, detailed boot sequence steps, chkconfig and GRUB configuration, and hands‑on exercises for creating services and building a custom Linux system.

Custom LinuxGRUBLinux
0 likes · 18 min read
Master Linux Boot Process: From BIOS to Init with Practical Commands
ITPUB
ITPUB
Sep 26, 2016 · Operations

8 Essential Tips for Writing Robust Bash Shell Scripts

This article shares eight hard‑earned recommendations for crafting reliable Bash scripts, covering interpreter selection, debugging flags, static analysis tools, variable expansion, proper scoping, signal trapping, thoughtful design, and recognizing when to switch to more suitable languages.

Best PracticesDevOpsbash
0 likes · 10 min read
8 Essential Tips for Writing Robust Bash Shell Scripts
Qunar Tech Salon
Qunar Tech Salon
Sep 18, 2016 · Operations

Analyzing Nginx Access Logs for Traffic, Performance, and Optimization

This article explains how to extract valuable performance and traffic insights from Nginx access logs using shell commands and awk, covering request volume, peak rates, bandwidth usage, slow‑query detection, URL normalization, and practical optimization recommendations for web operations.

Performance Monitoringawklog-analysis
0 likes · 13 min read
Analyzing Nginx Access Logs for Traffic, Performance, and Optimization