mk90.commands

Command reference

All 33 registered shell commands in MK90/Unix 0.6.

Command summary

CommandSynopsisDescription
beepbeepEmit a short tone through the internal buzzer.
catcat fileWrite file bytes to standard output.
cdcd [directory]Change the shell’s current directory.
clearclearClear the text console and reset its cursor.
cpcp source destinationCopy one regular file, including between volumes.
datedateRead the RTC date as YY-MM-DD.
devicesdevicesList configured block-device slots and access flags.
echoecho [word [word [word]]]Write up to three argument tokens to standard output.
editedit [file]Open the text editor, with BASIC macros for .bas files.
execexec program.mbxExecute a compiled MBX1 BASIC program.
helphelp [command]List command names or display the compact guide for one command.
killkill pidMark background slot 1 or 2 as finished.
lessless fileView text one eight-row page at a time.
lsls [path]List a directory or describe one regular file.
mbcmbc source.basCompile an MBC-16 BASIC source file on the MK90.
memmemDisplay the configured RAM, ROM and editor limits.
mkdirmkdir pathCreate one directory on a mounted writable MKS2 volume.
mkfsmkfs device capacityInitialize one supported-size writable cartridge as MKS2.
mountmount [device mountpoint]List mounted volumes or mount an MKS2 volume.
mvmv source destinationMove or rename one regular file.
pipepipeDisplay the compact pipeline usage guide.
pspsDisplay task slots, states, names and application counters.
pwdpwdPrint the normalized absolute current directory.
rmrm fileDelete one regular file.
rmdirrmdir pathRemove an empty directory.
romtestromtestCheck the full boot ROM and repeated cartridge switching.
runrun count|pulse [count]Start one of the two built-in background worker types.
sleepsleep secondsSuspend the foreground command while other tasks continue.
timetimeRead the RTC time as HH:MM:SS.
uartuartDisplay the UART configuration placeholder.
umountumount mountpointClear a volume’s mounted state.
unameunameDisplay the operating-system name and version.
waitwait pidWait for one allocated background slot to finish.

Conventions

Square brackets mark optional arguments; they are not typed. Alternatives in a synopsis are choices, not a literal pipe character. In an actual command line, | creates a pipeline. Commands are case-insensitive; paths are case-sensitive. Read the shell grammar.