Programs
The programs in mcos’s /bin. Each page is the program’s man page: the same text man <name> shows in the game. See the shell for how to run them.
| Program | What it does |
|---|---|
| aplay | play WAV files on a sound card |
| cat | concatenate files and print them |
| clear | clear the terminal screen |
| cp | copy files and directories |
| curl | make an HTTP request |
| date | print the date and time |
| df | report file system space usage |
| dmesg | print the kernel’s log |
| du | estimate file space usage |
| echo | display a line of text |
| edit | a simple text editor, after nano |
| false | do nothing, unsuccessfully |
| find | search for files in a directory tree |
| free | display the amount of memory in use and free |
| grep | print lines that match a pattern |
| halt | stop the computer |
| head | output the first part of files |
| hostname | show or set the host’s name |
| kill | send a signal to a process |
| label | show or set a device’s label |
| less | show text a screen at a time |
| ln | make links between files |
| ls | list directory contents |
| lsdev | list the devices on the bus |
| lua | Lua interpreter |
| man | show a manual page |
| mkdir | make directories |
| mktemp | make a file or directory with a unique name |
| mount | list or mount filesystems |
| mv | move or rename files |
| nc | send and receive over TCP or UDP |
| poweroff | turn the computer off |
| ps | list the processes |
| rc | start, stop and enable services |
| rcp | copy files between computers |
| reboot | restart the computer |
| resize | set or show the terminal’s size |
| rm | remove files and directories |
| rmdir | remove empty directories |
| rsh | run a command or a shell on another computer |
| rshd | the remote shell’s daemon |
| sh | the shell |
| sleep | wait for a time |
| stty | show or change the terminal’s line settings |
| tail | output the last part of files |
| time | time a command |
| touch | make empty files |
| tree | list directories as a tree |
| true | do nothing, successfully |
| umount | unmount filesystems |
| uptime | tell how long the computer has been running |
| wget | download a file from the internet |
| yes | output a line again and again |