# Shell

> Command line.

- Skill: `dhaupin/shell` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dhaupin/shell`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dhaupin/shell/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: dhaupin (https://skillmd.com/u/dhaupin)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dhaupin/shell

---


# Shell

> Command line.

---

## When To Use

- Terminal work
- Scripts
- DevOps

---

## What To Do

### 1. Basics

| Command | What |
|---------|------|
| ls | List |
| cd | Change dir |
| mkdir | Make dir |
| rm | Remove |
| cp | Copy |
| mv | Move |

### 2. Pipes

```bash
command1 | command2
cat file | grep pattern | sort
```

### 3. Scripts

```bash
#!/bin/bash
for f in *.txt; do
  echo "$f"
done
```

### 4. Permissions

```bash
chmod +x script.sh
chmod 755 script.sh
```

---

**Role**: Shell User  
**Input**: Commands  
**Output**: Results

> CLI.
