HomeTutorials › Tools: File & Shell
Tools: File & Shell

Running Bash

#051 0:12 Part of the Rysh video series

Ask in plain English, and the agent runs the shell for you -- dangerous patterns ask first.

Running Bash — 0:12 walkthrough

What you'll see

  1. Launch rysh; double-Esc to prompt mode.
  2. Prompt: "what's my disk usage in this directory."
  3. Agent calls the bash tool to run a real shell command and reads the output back.
  4. Narrate: safe commands run; commands matching dangerous patterns require approval before executing.

Commands shown

rysh
what is my disk usage in this directory

Keys used

EnterEscape

Transcript

0:00Ask in plain English, and the agent runs the shell for you -- dangerous patterns ask first.

0:03Start rysh and switch over to the agent.

0:08Double-press Escape for prompt mode.

0:13Ask what's using your disk. The agent calls the bash tool to run a real shell command and reads the output back to you. Safe, read-only commands just run -- but anything matching a dangerous pattern needs your approval first.

0:30That approval gate is what makes the bash tool safe: deletes, force-pushes, and other risky commands stop and wait for a yes before they ever execute.

0:37Natural language in, real shell commands out -- with a safety net.

Key takeaway
The bash tool turns natural language into real shell commands, with an approval gate on dangerous patterns.