Skip to content

CLI Machines Files Preview

pukbot[bot] edited this page Aug 25, 2026 · 1 revision

ed machines files preview

Prints the first 400 KiB of a remote text file.

ed machines files preview <machine> <path> [--json]

The plain form writes the text to stdout. If the file is larger, a truncation notice goes to stderr. --json returns machine, path, text and truncated, so redirected output remains one valid document.

ed machines files preview tuf /etc/os-release
ed machines files preview tuf '/srv/app/config file' --json

The command uses the same byte limit and shell quoting as the Files preview pane. A missing or unreadable path exits 1, and an unreachable machine exits 4.

Where to go next

CLI reference

Getting Started
Config
App
Extensions
Permissions
Usage
System
Music
Calendar
Clipboard
Color
Download
Apps
Tools
Shelf
Cleaner
Machines
Machines Remote
Machines Docker
Machines Files
Machines Power
Machines Workspace
Attention
Companion
Herdr
Lid Awake
Machines Terminal
Machines Thermal

Guides

Clone this wiki locally