# oldratlee/useful-scripts

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/oldratlee-useful-scripts).**

7,525 stars · 2,804 forks · Shell · Apache-2.0

## Links

- GitHub: https://github.com/oldratlee/useful-scripts
- Homepage: https://github.com/oldratlee/useful-scripts
- awesome-repositories: https://awesome-repositories.com/repository/oldratlee-useful-scripts.md

## Topics

`bash` `developers-everyday-life` `java` `option-parser` `python` `script` `shell` `show-busy-java-threads` `show-duplicate-java-classes` `terminal` `useful-scripts`

## Description

This project is a collection of specialized toolkits designed for container interaction, Java library auditing, Linux system diagnostics, and shell task automation. It provides a suite of utilities to streamline developer workflows and system troubleshooting.

The toolkit includes a Docker container helper for executing local binaries within running containers and a Java dependency analyzer to detect duplicate classes and resolve library conflicts. It also features Linux system diagnostic tools for analyzing network connection states and identifying CPU-intensive threads.

The project covers broader capabilities in shell script development, including utilities for debugging script parameters, parsing command line options, and performing text and path processing. Additional utilities manage command output by interfacing with the system clipboard and file browser.

## Tags

### DevOps & Infrastructure

- [Local Binary Execution](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/docker-container-execution/local-binary-execution.md) — Enables copying local executable files into running Docker containers for immediate execution and troubleshooting. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))
- [Container Interaction Helpers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/docker-container-execution/container-interaction-helpers.md) — Provides a utility for copying local executable files into running Docker containers for immediate execution.
- [Container Runtime Debugging](https://awesome-repositories.com/f/devops-infrastructure/containerization/image-inspection/container-debugging-utilities/container-runtime-debugging.md) — Provides capabilities to execute local binaries inside running Docker containers to troubleshoot services without rebuilding images.

### Data & Databases

- [Java Class Deduplication](https://awesome-repositories.com/f/data-databases/duplicate-detection-tools/java-class-deduplication.md) — Identifies duplicate Java classes within archive files and class directories to resolve library dependency conflicts. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))
- [Shell Command Pipelines](https://awesome-repositories.com/f/data-databases/shell-command-pipelines.md) — Chains Unix shell utilities and pipes to process text and system data for rapid tool creation.

### Development Tools & Productivity

- [Shell Scripting Utilities](https://awesome-repositories.com/f/development-tools-productivity/shell-scripting-utilities.md) — Provides a collection of helper utilities for automating common developer tasks such as text processing and command-line debugging.
- [Development Workflow Automation](https://awesome-repositories.com/f/development-tools-productivity/development-workflow-automation.md) — Automates repetitive daily tasks such as copying command output to the clipboard or converting file path formats.
- [Archive Content Search](https://awesome-repositories.com/f/development-tools-productivity/file-search-utilities/archive-content-search.md) — Includes a search utility for locating specific classes or resource files across all archive files in a directory. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))

### Operating Systems & Systems Programming

- [Binary Injection](https://awesome-repositories.com/f/operating-systems-systems-programming/system-administration-maintenance/file-system-management/file-system-integration/host-to-guest-file-sharing/container-volume-bindings/binary-injection.md) — Allows local binary files to be transferred into active Docker environments for diagnostics without rebuilding images.

### Security & Cryptography

- [Conflict Analyzers](https://awesome-repositories.com/f/security-cryptography/security-auditing/dependency-vulnerability-scanning/java-dependency-scanners/conflict-analyzers.md) — Provides a set of tools for scanning archive files to detect duplicate classes and resolve library conflicts in Java projects.

### Software Engineering & Architecture

- [Java Bytecode Analysis](https://awesome-repositories.com/f/software-engineering-architecture/java-bytecode-analysis.md) — Analyzes compiled Java class files and archive headers to identify duplicate entries and resolve dependency conflicts.

### System Administration & Monitoring

- [Performance Troubleshooting](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/infrastructure-diagnostic-tools/performance-troubleshooting.md) — Analyzes network connection states and identifies CPU-intensive threads to diagnose system bottlenecks.
- [System Diagnostic Tools](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/infrastructure-diagnostic-tools/system-diagnostic-tools.md) — Provides scripts for analyzing network connection states and identifying CPU-intensive threads to assist in infrastructure diagnostics.
- [Network Introspection](https://awesome-repositories.com/f/system-administration-monitoring/network-introspection.md) — Queries operating system networking and thread metrics to identify resource bottlenecks and connection anomalies.
- [Clipboard and Browser Integration](https://awesome-repositories.com/f/system-administration-monitoring/command-output-stream-management/clipboard-and-browser-integration.md) — Provides utilities to copy command output to the system clipboard and open related files in the file browser. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))
- [Thread Performance Analyzers](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors/virtual-thread-monitors/thread-performance-analyzers.md) — Ships a profiling utility that identifies CPU-intensive threads and prints stacks to pinpoint performance bottlenecks. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))
- [Text Formatting and Sorting Utilities](https://awesome-repositories.com/f/system-administration-monitoring/text-formatting-and-sorting-utilities.md) — Provides utilities for removing duplicate lines without sorting and converting file paths between absolute and relative formats. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))

### Part of an Awesome List

- [CLI and Argument Parsing](https://awesome-repositories.com/f/awesome-lists/devtools/cli-and-argument-parsing.md) — Provides logic to parse command-line arguments and options into structured arrays for script configuration.
- [Command Line Parsing](https://awesome-repositories.com/f/awesome-lists/devtools/command-line-parsing.md) — Implements a mechanism to process command-line arguments into structured options with multi-value support. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))
- [Shell Script Development](https://awesome-repositories.com/f/awesome-lists/devtools/shell-script-development.md) — Includes a utility that displays script arguments with color-coded delimiters for input verification during development. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))

### Networking & Communication

- [Connection States](https://awesome-repositories.com/f/networking-communication/network-connection-detectors/connection-states.md) — Includes a diagnostic utility that counts network connections by state to analyze system load and connectivity issues. ([source](https://cdn.jsdelivr.net/gh/oldratlee/useful-scripts@dev-3.x/README.md))
