Best of ShellJuly 2025

  1. 1
    Video
    Avatar of techworldwithnanaTechWorld with Nana·45w

    Bash Scripting Tutorial for Beginners

    A comprehensive beginner's guide to bash scripting that transforms manual command execution into automated scripts. Covers fundamental concepts like variables, arrays, loops, and conditionals through a practical log analysis example. Shows how to create a script that automatically scans log files for errors, generates reports, and provides intelligent alerts when issues exceed thresholds. Demonstrates the progression from basic command execution to advanced automation techniques that save time and ensure consistency in DevOps workflows.

  2. 2
    Article
    Avatar of hnHacker News·47w

    Anthropic

    Claude Code hooks allow developers to customize and extend Claude's behavior by registering shell commands that execute at specific points in the lifecycle. These hooks provide deterministic control for tasks like automatic code formatting, logging, notifications, and custom permissions. The system supports various hook events (PreToolUse, PostToolUse, Notification, Stop) with configurable matchers and JSON-based input/output. Hooks can integrate with MCP tools and offer both simple exit code and advanced JSON output formats for sophisticated control flow.

  3. 3
    Article
    Avatar of communityCommunity Picks·46w

    getsentry/self-hosted: Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept

    Sentry offers a self-hosted version that provides the complete feature set of their error monitoring platform, specifically designed for low-volume deployments and proof-of-concept projects. This allows teams to run Sentry on their own infrastructure rather than using the cloud service.