Commands

From
Revision as of 04:31, 14 August 2021 by Matthyno (talk | contribs) (Initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Utility commands[edit]

hlt

Halts the computer.

reboot

Restarts the computer.

panic

Causes a kernel panic, with the error code 0x4 and the reason "Kernel panic created by `panic` command".

unknownerror

Runs the unknown_command error function, to pretend like there is an unknown command error.

sec

Gets the amount of seconds elapsed since the last poweron.

ram

Gets the amount of ram (in kilobytes) installed in the computer.

\/

Simple comment command. Anything after this comment is ignored, but it must be the first token/word of the input.

man

Simple manpage command. Prints the manual/description of a module.

I/O commands[edit]

ls

Lists all the files and directories in the initial ramdisk.

cat <filename>

Prints the contents of the file <filename>.

clear

Clears the screen, and then prints the cursor.

help

Lists the available commands.

echo <text...>

Prints <text>. Standard echo function.