[BUG] Shell commands not executing in Claude Code
Resolved 💬 8 comments Opened Jul 15, 2025 by ChristophRauch Closed Jul 17, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- Claude CLI version: 1.0.52 (Claude Code)
- Operating System: Fedora 42
- Terminal: /usr/libexec/gnome-terminal-server
Bug Description
● Bash(rm -rf /home/xxx/Projects/xxx)
⎿ Error: /bin/bash: Zeile 1: /home/xxx/.claude/shell-snapshots/snapshot-bash-8bc8c0f6.sh: Datei oder
Verzeichnis nicht gefunden
Steps to Reproduce
- Run Claude Code 1.0.51
- Claude Code gets auto updated to 1.0.52
- Ask it to run a shell command
Expected Behavior
Shell command gets executed
Actual Behavior
Above error message gets displayed. Claude sees the error and thinks it made a mistake.
Additional Context
Restarting the program does actually fix the issue.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗