Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Essential Bash and Linux patterns v1.0.0

Use this resource to write robust Bash scripts for Linux and macOS

New

  • 525 downloads
  • 201 likes
  • 209 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install bash-linux-terminal-patterns

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes or fixes Bash scripts using common patterns: command chaining, default values, line-by-line reading, file loops, safety options and cleanup with trap. You get a more reliable script, with the commands explained.

Mostly picked by

Updated November 2, 2026

Card for the “Essential Bash and Linux patterns” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: operators and essential commands
  • sub-skills/trap-for-cleanup.md: cleanup with trap
  • sub-skills/set-options.md: shell safety options

Good fit for

  • You are writing a backup script that must clean up temporary files
  • You want to check a command exists before calling it

Not for

    Tags

    • bash
    • linux
    • script
    • shell
    • trap

    About

    You say

    “Write a Bash script that backs up a folder and cleans up temporary files even on error.”

    Card for the “Essential Bash and Linux patterns” skill

    Skill published by dokhacgiakhoa under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write robust Bash scripts for Linux and macOS
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE2.4 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md0.8 KB
    • sub-skills/chaining-commands.md0.3 KB
    • sub-skills/check-if-command-exists.md0.1 KB
    • sub-skills/core-tools.md1.5 KB
    • sub-skills/default-variable-value.md0.1 KB
    • sub-skills/essential-commands.md0.7 KB
    • sub-skills/loop-over-files.md0.5 KB
    • sub-skills/read-file-line-by-line.md0.1 KB
    • sub-skills/set-options.md0.2 KB
    • sub-skills/trap-for-cleanup.md0.2 KB

    Origin and licence

    Listed unmodified

    Author
    dokhacgiakhoa
    Source
    github.com/dokhacgiakhoa/agent-skills-4-vibe-coding-cli/tree/c4a059bbf7a8d6b2162071f0fbfe74053faa6d20/.agent/skills/bash-linux
    Licence
    MIT

    Notice

    « bash-linux » (dokhacgiakhoa, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.