-
Notifications
You must be signed in to change notification settings - Fork 0
Shell Commands
ModuOS includes a built-in shell (Zenith4) with various commands and utilities.
List directory contents
Syntax: dir [path] or ls [path]
Example:
Z:\> dir
Z:\> dir /ModuOS/System64
Change current directory
Syntax: cd <directory>
Example:
Z:\> cd /ModuOS
Z:\ModuOS> cd System64
Display file contents
Syntax: cat <file>
Example:
Z:\> cat /ModuOS/System64/pcname.txt
Print text to console
Syntax: echo <text>
Example:
Z:\> echo Hello, ModuOS!
Clear the screen
Syntax: cls or clear
Mount a drive to a letter
Syntax: mount <drive> <letter>
Example:
Z:\> mount 0 A
Unmount a drive letter
Syntax: umount <letter>
Example:
Z:\> umount A
List all available drives
Syntax: drives
Run memory tests
Syntax: memtest
Display system information
Syntax: zsfetch
Output:
- OS name and version
- CPU information
- Total/used/free memory
- Uptime
- Storage devices
Launch game menu
Syntax: game
Available Games:
- Raycaster FPS
- Eat Fruit (Snake)
- Stack Blocks
- Vertical Ping Pong
- Mine Sweeper
Execute an ELF program
Syntax: exec <path> or run <path>
Example:
Z:\> exec /Apps/sh.sqr
List running processes
Syntax: ps
Terminate a process
Syntax: kill <pid>
Display help information
Syntax: help
Display file contents (standalone version)
Usage: cat <file>
Print text (standalone version)
Usage: echo <text>
Simple shell (alternative shell)
Usage: sh
Memory testing utility
Usage: memtest
System information utility
Usage: zsfetch
- Applications - Detailed app documentation
- Games - Game controls and features