Skip to content

Terminal Commands

CommandDescriptionExample
helpReturns all available commandshelp
ramReturns available memory in bytesram
versionReturns version numberversion
settingsReturns list of settingssettings
set -n/ame <value> -v/alue <value>Sets value of a specific settingset ssid "why fight duck"
resetResets all settings to their default valuesreset
statusReturns status of i2c connection with Atmega32u4status
run <...>Starts executing a Ducky scriptrun example.txt
stop <...>Stops executing a Ducky scriptstop example.txt
CommandDescriptionExample
memReturns available, used and free memory of SPIFFS in bytesmem
formatFormats SPIFFSformat
ls <...>Returns list of filesls /
create <...>Creates filecreate example.duck
remove <...>Deletes fileremove example.duck
cat <...>Returns content of filecat example.duck
rename -fileA,a &lt;value> -fileB,b &lt;value>Renames filerename example.duck example.txt
write -f/ile &lt;value> -c/ontent &lt;value>Writes (appends) data to filewrite example.txt "Hello World!"
stream <...>Opens file streamstream example.txt
closeCloses file streamclose
readRead and return the result from file streamread

If a stream is open, everything you type (except messages containing exactly close or read) will be written to the file until you type close!