Skip to content

Commands

Jspa2 edited this page Jan 25, 2024 · 14 revisions

Commands

This is a complete list of SphereOS commands. You must enter console mode to run them, which you can do by choosing 'Console' when prompted during startup.

Commands can be chained together in the shell with the && operator.

Example:

echo Hello && echo world

The second command will run after the first. Note that if any command in the chain fails, all following commands will be cancelled.

General

about - Show information about SphereOS.

asyscfg - Apply SysCfg changes.

clear - Clear the screen.

crash - Forcefully trigger a crash.

echo [text] - Print to the console.

gui - Start the GUI.

help - Show a list of commands.

hist - View your command history.

histc - Clear the shell's command history.

license - View software licences.

logs - Show recent log messages. (Admin only)

lsproc - List all processes.

name [name] - View or set the system name.

pci - Show a list of installed PCI devices.

rs [file] - Run a script or the RiverScript REPL.

sysinfo - Show system information.

wd - Print the working directory.

Files

al <file> <text> - Append a line to a file

audit <path> - List who can access a path.

cat <file> - Read a file.

cd <dir> - Change the working directory. (Tip: Run cd - to go to the previous directory.)

cp <src> <dest> - Copy a file.

del <file> - Delete a file.

edit <file> - Edit a file.

ff <file> <query> - Find lines in a file.

fsinfo - Show volume information.

ls - List files and directories.

mkdir <name> - Create a directory.

mkhome <username> - Create a home directory for a user. (Admin only)

mv <src> <dest> - Move a file.

rmdir <name> - Delete a directory.

touch <file> <dest> - Create a file.

Games

hangman - The classic guessing game.

Network

cloudchat - Start CloudChat. (Not available in v0.1.9 Preview)

ip - Get the PC's private IP address.

ping <ip> - Ping an IP address.

resolve <domain> - Find the IP of a domain.

Power

reboot - Reboot your PC.

shutdown - Shut down your PC.

Time

clock - Show a live clock.

date - Show the current date and time.

Users

adduser <username> - Add a new user. (Admin only)

admin <true/false> <username> - Set or remove a user as an admin. (Admin only)

broadcast <message> - Broadcast a message to all users. (Admin only)

deluser <username> - Delete a user. (Admin only)

lock - Lock your PC.

logout - Log out of SphereOS.

lsuser - List all users on the system.

pass - Change your password.

send <user> <message> - Send a message to another user on the PC.

su <user> - Switch to a specific user.

Clone this wiki locally