shell · v1.0 · 2026-07-20 · sha256 f5e5f2ba7dd0a95f
shell v1.0A
Immutable. This exact content never changes and is served at /api/v1/blob/f5e5f2ba7dd0a95f.
--- name: shell description: Command line. license: MIT metadata: author: vant version: "1.0" --- # 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.