mk90.commands
Command reference
All 33 registered shell commands in MK90/Unix 0.6.
Command summary
| Command | Synopsis | Description |
|---|---|---|
| beep | beep | Emit a short tone through the internal buzzer. |
| cat | cat file | Write file bytes to standard output. |
| cd | cd [directory] | Change the shell’s current directory. |
| clear | clear | Clear the text console and reset its cursor. |
| cp | cp source destination | Copy one regular file, including between volumes. |
| date | date | Read the RTC date as YY-MM-DD. |
| devices | devices | List configured block-device slots and access flags. |
| echo | echo [word [word [word]]] | Write up to three argument tokens to standard output. |
| edit | edit [file] | Open the text editor, with BASIC macros for .bas files. |
| exec | exec program.mbx | Execute a compiled MBX1 BASIC program. |
| help | help [command] | List command names or display the compact guide for one command. |
| kill | kill pid | Mark background slot 1 or 2 as finished. |
| less | less file | View text one eight-row page at a time. |
| ls | ls [path] | List a directory or describe one regular file. |
| mbc | mbc source.bas | Compile an MBC-16 BASIC source file on the MK90. |
| mem | mem | Display the configured RAM, ROM and editor limits. |
| mkdir | mkdir path | Create one directory on a mounted writable MKS2 volume. |
| mkfs | mkfs device capacity | Initialize one supported-size writable cartridge as MKS2. |
| mount | mount [device mountpoint] | List mounted volumes or mount an MKS2 volume. |
| mv | mv source destination | Move or rename one regular file. |
| pipe | pipe | Display the compact pipeline usage guide. |
| ps | ps | Display task slots, states, names and application counters. |
| pwd | pwd | Print the normalized absolute current directory. |
| rm | rm file | Delete one regular file. |
| rmdir | rmdir path | Remove an empty directory. |
| romtest | romtest | Check the full boot ROM and repeated cartridge switching. |
| run | run count|pulse [count] | Start one of the two built-in background worker types. |
| sleep | sleep seconds | Suspend the foreground command while other tasks continue. |
| time | time | Read the RTC time as HH:MM:SS. |
| uart | uart | Display the UART configuration placeholder. |
| umount | umount mountpoint | Clear a volume’s mounted state. |
| uname | uname | Display the operating-system name and version. |
| wait | wait pid | Wait 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.