system

rfswift system

Housekeeping for RF Swift itself. Every subcommand is also available at the top level (rfswift doctor, rfswift cleanup, …). Alias: rfswift admin.

Synopsis

rfswift system doctor
rfswift system cleanup all|containers|images [--older-than 7d] [--dry-run] [--force] [...]
rfswift system update
rfswift system upgrade -c NAME [-i IMAGE] [-r DIRS]
rfswift system log start|stop|list|replay [...]
rfswift system report generate -c NAME [-f markdown|html|pdf] [-o FILE] [-t TITLE]
Subcommand Purpose Page
doctor Check the host: engines and their services, Docker access, host udev rules, Nix engine and its WSL 2 backend on Windows, the Nix jail, Lima VM, images, X11 and xhost, audio system and server, USB, config file, kernel modules, usbipd on Windows doctor
cleanup Remove old or unused containers and images by age, with a dry run cleanup
update Update the RF Swift binary from the official releases. On a deb, rpm, pacman or Homebrew install it explains how to upgrade through the package instead of overwriting the packaged binary update
upgrade Re-create a container from a newer image, preserving listed directories (same as container upgrade) upgrade
log Record and replay terminal sessions (asciinema, or script with --use-script) log
report Assessment report from a container and its workspace report

Examples

rfswift system doctor
rfswift system cleanup containers --stopped --older-than 30d --dry-run
rfswift system log replay -i session.cast -s 2.0
rfswift system report generate -c pentest_wifi -f html
Last updated on