Skip to content
Back to skills

Linux Shell Scripting

ASecurity

Robust shell scripts: strict mode, quoting, traps, idempotency and shellcheck.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsshelldevops

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill linux-shell-scripting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Linux Shell Scripting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Linux Shell Scripting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-linux-shell-scripting/badge)](https://www.skillsdirectory.com/skills/karthikrshet-linux-shell-scripting)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: linux-shell-scripting
description: "Robust shell scripts: strict mode, quoting, traps, idempotency and shellcheck."
tags: [devops]
---

# Linux Shell Scripting

## When to use

- Automation scripts

## Procedure

1. Start with set -euo pipefail
2. Quote variables
3. Use trap for cleanup
4. Make scripts idempotent
5. Run shellcheck

## Checklist

- [ ] shellcheck clean

## Anti-patterns

- Parsing ls output
- Unquoted variables

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.