Tagged articles
105 articles
Page 1 of 2
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 15, 2025 · Backend Development

Automate i18n Management with a One‑Command Node Script

This article describes how the author streamlined multilingual resource handling for a ticketing and hotel project by replacing manual Excel‑based workflows with a Node.js script that generates JSON locales, enforces key naming conventions, and runs with a single command, dramatically improving efficiency.

AutomationJSONi18n
0 likes · 9 min read
Automate i18n Management with a One‑Command Node Script
Open Source Linux
Open Source Linux
Oct 9, 2025 · Information Security

Essential Incident Response & Forensics Guide for Server Intrusions

This article provides a comprehensive step‑by‑step process for detecting server compromises, collecting system, memory, and network evidence, analyzing logs, isolating the affected host, removing malicious artifacts, and hardening the environment to prevent future attacks.

ForensicsServer Securityincident response
0 likes · 15 min read
Essential Incident Response & Forensics Guide for Server Intrusions
Liangxu Linux
Liangxu Linux
Oct 4, 2025 · Fundamentals

Why Is Code Called a “Script”? Uncovering the Origins and Myths

This article investigates why programmers refer to code as “scripts,” examining humorous misconceptions, historical translation quirks, the word’s original meaning, scripting language characteristics, and web‑page placement to provide a comprehensive understanding of the term’s evolution.

JavaScriptLanguageScripting
0 likes · 4 min read
Why Is Code Called a “Script”? Uncovering the Origins and Myths
IT Services Circle
IT Services Circle
Aug 30, 2025 · Fundamentals

Why Is Code Called a ‘Script’? Uncovering the Terminology Mystery

This article explores the quirky origins of the term “script” in programming, examining humorous user comments, historical translation quirks, etymological roots, language characteristics, and web‑page placement theories to explain why developers refer to code as scripts.

etymologylanguage translationprogramming terminology
0 likes · 4 min read
Why Is Code Called a ‘Script’? Uncovering the Terminology Mystery
Practical DevOps Architecture
Practical DevOps Architecture
Jul 16, 2025 · Operations

How to Build a Simple Python Service Health Check Script

This guide shows how to write a Python script that constructs a service health URL from command‑line arguments, sends an HTTP request using the requests library, parses the JSON response, and raises an error if the service status is not "UP", providing clear success or failure feedback.

Backendhealth-checkrequests
0 likes · 2 min read
How to Build a Simple Python Service Health Check Script
Open Source Linux
Open Source Linux
Jul 16, 2025 · Operations

Master Shell Basics: From What a Shell Is to Advanced Variable Tricks

This comprehensive guide explains what a shell and shell script are, compares common shells, shows how to write and run scripts, explores variable types, special and environment variables, and demonstrates powerful string manipulation and batch‑renaming techniques for Linux users.

BashEnvironmentLinux
0 likes · 16 min read
Master Shell Basics: From What a Shell Is to Advanced Variable Tricks
MaGe Linux Operations
MaGe Linux Operations
May 28, 2025 · Operations

Master Shell Scripting: From Basics to Advanced Tricks

This comprehensive guide walks you through the fundamentals of shell and shell scripting, covering common shells, script creation, shebang usage, variable handling, environment variables, string manipulation, and practical examples to boost your Linux automation skills.

AutomationBashEnvironment
0 likes · 19 min read
Master Shell Scripting: From Basics to Advanced Tricks
IT Xianyu
IT Xianyu
May 21, 2025 · Operations

Learn Shell Scripting: From Hello World to Practical Tools

This tutorial walks beginners through creating and executing Bash scripts on Linux, covering basics like the shebang, variables, conditionals, loops, functions, and debugging, and provides practical examples such as file checks, service monitoring, and user interaction to build useful automation tools.

BashSysadminscript
0 likes · 7 min read
Learn Shell Scripting: From Hello World to Practical Tools
Liangxu Linux
Liangxu Linux
Mar 8, 2025 · Fundamentals

Master Shell Scripting: From Basics to Advanced Control Structures

This guide explains what a shell script file is, how to write Bash scripts with proper syntax, manage variables, use redirection, pipes, quoting, grep, operators, arrays, control flow statements, functions, and even automate interactions with an Expect script, providing clear examples for each concept.

AutomationBashControl structures
0 likes · 11 min read
Master Shell Scripting: From Basics to Advanced Control Structures
ITPUB
ITPUB
Mar 4, 2025 · Fundamentals

What Does #!/bin/bash Do? Uncovering the Shebang Mystery

This article demystifies the #!/bin/bash shebang line, explaining its origin, how it tells the kernel which interpreter to use, common variations, practical examples, and even quirky uses like invoking non‑shell commands, providing a clear guide for anyone writing Unix scripts.

Shebangscript
0 likes · 6 min read
What Does #!/bin/bash Do? Uncovering the Shebang Mystery
Efficient Ops
Efficient Ops
Dec 24, 2024 · Fundamentals

Create an ASCII Christmas Tree with Shell and Python Scripts

This article shares a festive greeting and demonstrates how to generate an ASCII Christmas tree using both a Bash shell script and a Python program, followed by details about the upcoming GOPS Global Operations Conference in Shenzhen, encouraging operations professionals to celebrate the holiday season.

ASCII artPythonShell
0 likes · 4 min read
Create an ASCII Christmas Tree with Shell and Python Scripts
Liangxu Linux
Liangxu Linux
Dec 8, 2024 · Backend Development

Master Bash: From Basic Scripts to Advanced Automation with Expect

This guide explains what script files are and walks through writing Bash scripts, covering naming conventions, variables, special and environment variables, redirection, pipes, quoting, grep options, operators, arrays, control structures, functions, and automating interactions with Expect, providing practical code examples for each concept.

AutomationBashShell
0 likes · 11 min read
Master Bash: From Basic Scripts to Advanced Automation with Expect
Practical DevOps Architecture
Practical DevOps Architecture
Nov 26, 2024 · Databases

Bash Script for Installing MongoDB on Linux

This article provides a complete Bash script that automates downloading, extracting, configuring, and starting MongoDB on Linux systems, handling OS detection, prerequisite installation, file preparation, and color‑coded status messages for success, failure, and warnings.

BashLinuxMongoDB
0 likes · 4 min read
Bash Script for Installing MongoDB on Linux
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 11, 2024 · Backend Development

Step-by-Step Guide to Deploying a Small Web Application to Alibaba Cloud with Frontend Packaging and Backend Setup

This article provides a comprehensive tutorial on configuring front‑end resource bundling, adjusting server settings, building and uploading SpringBoot back‑end modules, creating deployment scripts, managing environment‑specific properties, and implementing a Baidu Tieba hot‑search crawler, enabling a complete end‑to‑end cloud deployment.

CrawlerSpringBootcloud
0 likes · 16 min read
Step-by-Step Guide to Deploying a Small Web Application to Alibaba Cloud with Frontend Packaging and Backend Setup
Liangxu Linux
Liangxu Linux
Nov 6, 2024 · Operations

A Handy Shell Script Toolbox for Linux Server Management

The YujuToolBox is a shell script collection that provides system‑administration utilities for Debian and Ubuntu servers, offering simple installation via curl or wget, step‑by‑step usage commands, and links to related GitHub projects for easy server optimization.

AutomationDebianLinux
0 likes · 3 min read
A Handy Shell Script Toolbox for Linux Server Management
Python Programming Learning Circle
Python Programming Learning Circle
Nov 5, 2024 · Fundamentals

Why Python Does Not Need a Traditional Main Function

The article explains that unlike compiled languages, Python as an interpreted scripting language does not require a mandatory main function, clarifies the purpose of the __name__ == '__main__' guard, and advises using a simple entry script such as main.py for clean, idiomatic code.

Pythonbest-practicesmain function
0 likes · 6 min read
Why Python Does Not Need a Traditional Main Function
MaGe Linux Operations
MaGe Linux Operations
Oct 20, 2024 · Fundamentals

Master Bash Built‑In Variables: From $0 to $PATH Explained with Real Examples

This guide explains Bash’s built‑in variables—$0, positional parameters $1…$9, special parameters like $#, $*, "$*", $@, "$@", $!, $_, $$, $PPID, $?, $BASH, $BASH_VERSION, $EUID, $UID, $GROUPS, $HOME, $HOSTNAME, $IFS, $PATH, $OLDPWD, $PWD, $PS1, $PS2, $PS4—detailing their meanings, typical use cases, and providing runnable code snippets and output illustrations.

BashVariablescommand-line
0 likes · 15 min read
Master Bash Built‑In Variables: From $0 to $PATH Explained with Real Examples
ITPUB
ITPUB
Sep 29, 2024 · Databases

Quick Oracle SQL Monitoring Script – Copy‑Paste Ready

This article shares a ready‑to‑run Oracle SQL*Plus script that lists active sessions with details such as instance ID, username, execution time, SQL text snippet, current event, and wait seconds, plus an example output for immediate performance troubleshooting.

OracleSQLmonitoring
0 likes · 4 min read
Quick Oracle SQL Monitoring Script – Copy‑Paste Ready
Open Source Linux
Open Source Linux
Jun 24, 2024 · Operations

Self‑Terminating Bash Scripts with trap, kill, and pkill

This article explains why background loops in Bash scripts can become orphaned under init/systemd, demonstrates how to reliably terminate such scripts by using trap handlers with kill, killall, pkill, and signal 0, and provides robust examples for various execution scenarios.

Bashprocess-managementscript
0 likes · 11 min read
Self‑Terminating Bash Scripts with trap, kill, and pkill
ITPUB
ITPUB
Jun 8, 2024 · Operations

How to Prevent Catastrophic Data Loss with Automated MySQL and File Backups

This guide explains why accidental database deletion is a serious risk, outlines essential permission and logging measures, and provides step‑by‑step scripts and cron jobs to automatically back up MySQL databases and critical files using Docker, OpenSSL, rsync, and expect.

AutomationDockerLinux
0 likes · 10 min read
How to Prevent Catastrophic Data Loss with Automated MySQL and File Backups
IT Services Circle
IT Services Circle
May 29, 2024 · Fundamentals

Understanding the __name__ Variable in Python Scripts

This article explains how the __name__ variable is set when running Python scripts directly or importing them, demonstrates its behavior with multiple .py files, shows how unintended code can be executed, and introduces the if __name__ == '__main__' guard to control execution.

ConditionalImport__name__
0 likes · 6 min read
Understanding the __name__ Variable in Python Scripts
Ops Development & AI Practice
Ops Development & AI Practice
Mar 30, 2024 · Operations

How to Automate Git Commit Messages with Scripts and Tools

This article explains why descriptive Git commit messages matter and shows how to automate their generation using existing tools, custom scripts, and IDE plugins, including a practical Python example and a recommendation for the GitLens extension to boost development efficiency.

GitToolingcommit message
0 likes · 5 min read
How to Automate Git Commit Messages with Scripts and Tools
Sohu Tech Products
Sohu Tech Products
Feb 21, 2024 · Backend Development

Sorting Image Filenames with Numbers in Elasticsearch: Script and Ingest‑Pipeline Solutions

The article explains how to sort image filenames containing numbers in Elasticsearch by either using a painless _script to extract the numeric part at query time or, more efficiently, by preprocessing filenames with an ingest pipeline that creates a numeric field for fast sorting, recommending the pipeline for performance‑critical use cases.

BackendElasticsearchIngest Pipeline
0 likes · 8 min read
Sorting Image Filenames with Numbers in Elasticsearch: Script and Ingest‑Pipeline Solutions
Open Source Linux
Open Source Linux
May 18, 2023 · Cloud Computing

Step-by-Step Guide to Deploy OpenStack and OpenNebula with One-Click Scripts

This article provides a comprehensive overview of OpenStack and OpenNebula, detailing their purposes, architectures, core components, and key concepts, followed by a complete one‑click shell script that automates the installation and configuration of an OpenStack Pike environment on CentOS 7.

AutomationLinuxOpenNebula
0 likes · 24 min read
Step-by-Step Guide to Deploy OpenStack and OpenNebula with One-Click Scripts
Liangxu Linux
Liangxu Linux
Aug 17, 2022 · Information Security

How to Hide Linux File Timestamps with a Bash Script

This guide explains how attackers can conceal their activities on a Linux system by manipulating file timestamps using the touch, stat, and ls commands and by automating the process with a Bash script that saves, restores, and reapplies timestamps to hide evidence of compromise.

Forensicsscripttimestamp
0 likes · 8 min read
How to Hide Linux File Timestamps with a Bash Script
360 Quality & Efficiency
360 Quality & Efficiency
Jul 8, 2022 · Cloud Native

Using a Remote Docker Service Without Adding the -H Parameter

This tutorial explains how to configure Docker on a Kubernetes node to transparently use a remote Docker daemon by modifying the systemd service, creating a custom Docker image with helper scripts, and committing it, so users can run Docker commands without explicitly specifying the remote host.

ContainerImageremote-docker
0 likes · 6 min read
Using a Remote Docker Service Without Adding the -H Parameter
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 18, 2022 · Frontend Development

When Do Scripts and Stylesheets Delay DOMContentLoaded?

This article explains how script and stylesheet elements influence the timing of the DOMContentLoaded event, detailing the effects of async, defer, and external CSS on HTML parsing, supported by HTML5 specifications and performance analysis, to help developers optimize page load speed.

DOMContentLoadedHTML5Web Performance
0 likes · 8 min read
When Do Scripts and Stylesheets Delay DOMContentLoaded?
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.

Bashbest practicescoding standards
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.

BashShellcoding-standards
0 likes · 22 min read
Master Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
php Courses
php Courses
Nov 10, 2020 · Backend Development

Shell Script Conditional Structures: Using if and case Statements

This article introduces shell script conditional structures, explains the syntax of if (single, double, and multi-branch) and case statements, and provides step‑by‑step examples including a grading script and a start/stop/restart command script with full Bash code.

CaseConditionalIf
0 likes · 5 min read
Shell Script Conditional Structures: Using if and case Statements
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.

Bashbest practicescoding standards
0 likes · 20 min read
Shell Script Coding Standards and Best Practices
Programmer DD
Programmer DD
Sep 24, 2020 · Databases

Build a One-Day Survey & Lottery System with SeaTable Scripts

Learn how to quickly create a questionnaire using SeaTable, automatically collect responses, and run a custom script to randomly select winners, providing a fast, low‑code solution for urgent business needs without a full development cycle.

AutomationLotterySeaTable
0 likes · 7 min read
Build a One-Day Survey & Lottery System with SeaTable Scripts
Liangxu Linux
Liangxu Linux
Jun 14, 2020 · Fundamentals

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

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

BashConfigurationLinux
0 likes · 9 min read
Master Linux Shell: Types, Variables, Config Files, and Conditional Tests
Liangxu Linux
Liangxu Linux
Nov 7, 2019 · Operations

Monitor Linux Processes with a Simple Shell Script

This guide shows how to create a reusable shell function that retrieves a process ID for a given user and program, demonstrates its usage, and explains each command involved so you can reliably detect when a service stops running.

AutomationOperationsShell
0 likes · 5 min read
Monitor Linux Processes with a Simple Shell Script
Liangxu Linux
Liangxu Linux
Oct 5, 2019 · Operations

Record and Replay Linux Terminal Sessions with script & scriptreplay

Learn how to capture every command and its output in a Linux terminal using the script command, store it as a text session file, and later replay the exact sequence with scriptreplay, including useful options for teaching, auditing, and demonstrations.

Tutorialcommand-linescript
0 likes · 4 min read
Record and Replay Linux Terminal Sessions with script & scriptreplay
MaGe Linux Operations
MaGe Linux Operations
Jun 14, 2019 · Operations

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

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

Bashbest practicescoding style
0 likes · 16 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Code
MaGe Linux Operations
MaGe Linux Operations
Jan 26, 2019 · Backend Development

Hijack Windows Login Passwords with a Python Socket Script

This tutorial shows how to create a Python client‑server pair that randomly generates a new Windows login password on a target machine, sends it over a socket to your server, and demonstrates how to revert the change using built‑in commands.

NetworkingSocketWindows
0 likes · 5 min read
Hijack Windows Login Passwords with a Python Socket Script
Liangxu Linux
Liangxu Linux
Jan 22, 2019 · Fundamentals

How to Record and Replay Terminal Sessions with the Linux script Command

This guide explains how to use the Linux script command to capture terminal output, customize log file names, collaborate by sharing recordings, and automatically record remote assistance sessions, providing step‑by‑step examples and useful options for low‑memory environments.

CollaborationShelllogging
0 likes · 7 min read
How to Record and Replay Terminal Sessions with the Linux script Command
360 Tech Engineering
360 Tech Engineering
Sep 7, 2018 · Databases

Using Bash Shell Scripts for Automated Database Testing

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

AutomationBashShell
0 likes · 8 min read
Using Bash Shell Scripts for Automated Database Testing
DevOps Cloud Academy
DevOps Cloud Academy
Jun 12, 2018 · Operations

Multiple Ways to Execute Shell Scripts and Manage Permissions

This article explains five methods to run a shell script—interpreter, relative and absolute path execution, dot sourcing, and the source command—demonstrates required permission settings, and provides a concise overview of Linux permission concepts and chmod usage for script execution.

chmodexecutionscript
0 likes · 4 min read
Multiple Ways to Execute Shell Scripts and Manage Permissions
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2017 · Operations

Mastering Shell Script Timeouts with the Linux timeout Command

This article explains how to use the Linux timeout command to reliably enforce execution limits on shell scripts, demonstrates its advantages over simple watchdog loops, shows practical examples with ping and MQ scripts, discusses return codes, and highlights common pitfalls such as background processes and function usage.

BashShellTimeout
0 likes · 4 min read
Mastering Shell Script Timeouts with the Linux timeout Command
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2017 · Backend Development

How to Build a Reliable Python Script for Memcached Testing and Error Handling

This article walks through the step‑by‑step process of creating a Python script to test Memcached servers, covering installation of python‑memcached and umemcached, retrieving server stats, handling connection errors with try‑except, logging failures, and refining the script into a reliable monitoring tool.

Error Handlingscriptumemcached
0 likes · 5 min read
How to Build a Reliable Python Script for Memcached Testing and Error Handling