Tag

file-rename

0 views collected around this technical thread.

Practical DevOps Architecture
Practical DevOps Architecture
Nov 3, 2024 · Operations

Shell Scripts for Batch Renaming .sh Files and Monitoring Port 80 Requests

This article provides two Bash scripts: one that recursively renames all ".sh" files to ".shell" and deletes their second line, and another that repeatedly checks the top‑20 IPs on port 80, reports activity when the smallest request count exceeds 500, or retries after 600 seconds.

LinuxOperationsbash
0 likes · 3 min read
Shell Scripts for Batch Renaming .sh Files and Monitoring Port 80 Requests