Console Commands

Complete command reference

💡 Getting Help:

Type help in the console to see all available commands!

Basic Commands

help

Display list of all available commands.

help

clear

Clear the console screen.

clear

exit

Close the console window.

exit

File Operations

pwd

Print working directory (show current path).

pwd
Output: /apps/

ls [path]

List files and directories in the current or specified path.

ls /
ls apps

ll [path]

Long listing with file details (type, name, size).

ll /apps
Output:
- notepad.gxm 4096
- paint.gxm 8192
d apps/ 0

cd <path>

Change directory. Supports partial name matching.

cd apps
cd /docs
cd .. # Go up one level
cd back # Same as cd ..

cat <file>

Display file contents (text files only).

cat readme.txt
cat /boot/config.txt

echo <text> [> file]

Print text to console or write to file.

echo Hello World
echo "Test content" > test.txt

Network Commands

netinit

Initialize network stack and run DHCP to get IP address.

netinit
Output:
[NET] Initializing stack
[NET] RTL8111 found
[NET] DHCP successful
[NET] IP: 10.0.2.15
⚠ Note:

DHCP may take 5-10 seconds and will freeze the UI. Only run once after boot.

ipconfig [/release | /renew]

Show or manage IP configuration (Windows-style).

ipconfig # Show current config
ipconfig /release # Release IP address
Output:
IP: 10.0.2.15
Mask: 255.255.255.0
Gateway: 10.0.2.2
MAC: 52:54:00:12:34:56

ifconfig

Show network interface configuration (Unix-style, same as ipconfig).

ifconfig

ping <ip_address>

Send ICMP echo request to an IP address (IPv4 only).

ping 8.8.8.8
Output:
Pinging 8.8.8.8 with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 ttl=64 time=15ms
💡 Tip:

Use dns <hostname> first to resolve hostnames to IP addresses, then ping the IP.

dns <hostname>

Resolve hostname to IP address using DNS.

dns google.com
Output:
Resolved: 142.250.185.46

arp

Display ARP table (IP to MAC address mappings).

arp
Output:
10.0.2.2 -> 52:55:0a:00:02:02

System Commands

apps

List all available applications.

apps
Output:
Available Applications:
Notepad
Paint
Calculator

launch <appname>

Launch an application. Supports partial name matching.

launch notepad
launch note # Partial match
launch paint

shutdown

Shut down the operating system.

shutdown

reboot

Restart the operating system.

reboot

workspaces

Open virtual workspace switcher overlay.

workspaces

Application Commands

notepad <file>

Open file in Notepad text editor.

notepad readme.txt
notepad /docs/manual.txt

vi <file>

Open file in vi-like text editor (minimal implementation).

vi config.txt

Keys: i insert mode, Esc command mode, s save, q quit

setbg <image>

Set desktop background wallpaper (PNG images).

setbg wallpaper.png
setbg /images/background # Auto-adds .png

gxminfo <file.gxm>

Display metadata for GXM executable file.

gxminfo app.gxm
Output:
Signature: GXM\0
Version:1 EntryRVA:0x00001000 DeclaredSize:8192

Quick Reference

File Operations
  • pwd - Show current dir
  • ls - List files
  • cd - Change dir
  • cat - View file
  • echo - Write file
Network
  • netinit - Setup network
  • ipconfig - Show IP
  • ping - Test connectivity
  • dns - Resolve hostname
  • arp - Show ARP table

Learn More