You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AmmOS is an experimental modular shell-driven system for fun, learning, and low-level control.
License: MIT License
Purpose: Educational and experimental
Supported platforms: Linux (Debian, Ubuntu, WSL2, etc.)
Compile: Run ./make.sh in the project root
Run: Execute ./run in the project root
Dependencies:
nasm
gcc
💻 CLI Commands
All commands are implemented in AmmSH_execute(). Arguments are space-separated.
Flags and preprocessing are handled by parseFlags() and preprocessor().
⚙️ System
Command
Description
c
Clear screen using ANSI escape codes
ex
Exit AmmOS and return to the host shell
sleep [seconds ...]
Pause execution (supports multiple arguments)
getlogin
Print the current username
neofetch
Display AmmOS system information
reboot
Restart AmmOS using execl()
chg -un <username>
Change current username (requires reboot to take effect)
memreg
Print memory usage, RAM, HDD, and amm_malloc statistics
📂 File & Directory
Command
Description
ls
List current directory contents
mkdir [dirname ...]
Create directory(ies)
go [dirname]
Change current directory
touch [filename ...]
Create an empty file
nano [filename]
Open a file using /bin/nano
r [filename ...]
Print file contents (like cat)
rf [filename ...]
Remove file(s)
rm [dirname ...]
Remove a directory and all its contents recursively
🔍 Search
Command
Description
agrep -r-file <filename> [& start_dir]
Recursively search for a file starting from a directory