-
Notifications
You must be signed in to change notification settings - Fork 1
Interactive Mode
hypersdk edited this page Aug 7, 2026
·
1 revision
REPL for exploring a disk without relaunching NBD/loop for every command. Aliases: guestkit interactive · guestkit repl · related guestkit shell.
Deep docs: interactive-mode.md.
# Slow: each CLI call mounts again
guestkit list disk.qcow2 /etc
guestkit cat disk.qcow2 /etc/hostname
# Fast: one session
guestkit interactive disk.qcow2
guestkit> ls /etc
guestkit> cat /etc/hostnameguestkit interactive disk.qcow2
guestkit repl disk.qcow2
# Often needs sudo/root for NBD/loopStartup inspects the image once (OS / distro / version in the banner). Type help or ?.
| Area | Commands |
|---|---|
| System | info |
| Filesystems |
filesystems/fs, mount, umount/unmount, mounts
|
| Files |
ls, cat, head, find, stat, download, explore/ex
|
| Inspect |
packages/pkg, services/svc, users, network/net
|
| Session |
clear/cls, help/?, exit/quit/q
|
guestkit> info
guestkit> ls /etc
guestkit> cat /etc/hostname
guestkit> packages nginx
guestkit> services
guestkit> network
guestkit> explore /var/log
guestkit> exit| Key | Action |
|---|---|
| ↑ / ↓ | Command history |
| Ctrl+C | Cancel line (stay in REPL) |
| Ctrl+D | Exit |
| Tool | Best for |
|---|---|
| Interactive / shell | Many file reads on one image |
| Explore | Visual browse + preview |
| TUI | Assurance, packages, issues dashboard |
| One-shot CLI | Scripts / CI (-o json) — CLI Commands
|