# Write a file

Collection: cli
Human docs: https://zei.sh/docs/cli

Write text to a sandbox file.

Command: zeishctl sandboxes files SANDBOX_ID write /workspace/input.txt hello
Parent directories are created by the CLI.

Example:

```
zeishctl sandboxes files SANDBOX_ID write /workspace/input.txt hello
```
