CraftOS Shell
From ComputerCraft Wiki
Regular Shell Commands
Program Name | Description | Version Added |
alias <alias> <program> | Maps an alias string to a program. | 1.2 |
apis | Lists all loaded APIs. | 1.2 |
bg bg <program> <arguments> | Opens the specified script in a new multishell tab. | 1.6 |
cd <path> | Changes to the specified directory | |
chat host <hostname>, chat join <hostname> <nickname> | Peer-to-peer rednet-based messaging software. | 1.6 |
clear clear | Clears the terminal. | |
copy copy <source> <destination> | Copies a source file or folder to a destination | 1.2 |
dj | Music box DJ - use dj for help. | 1.2 |
drive, drive <path> | Lists the mount location of the current directory, or the path specified. | 1.2 |
edit <path> | Edits the file specified. | |
eject <side> | Ejects the disk on the side specified. | 1.2 |
exit | Exits the currently running shell session - if it is the only shell session, the computer will power off. | |
fg fg <program> <arguments> | Opens the specified script in a new multishell tab, then switches to it. | 1.6 |
gps gps <?> | Minecraft Global Positioning tool. Use gps for help. | 1.31 |
help help, help <topic> | Help utility. Opens the specified topic, or the introduction if no topic is specified. | |
id id, id <side> | Returns the ID of the computer, or if a side is specified, the ID of the disk in the specified side. | 1.2 |
label label | Gets and sets the ID of the computer, or, the ID of a disk in a specified side. Use label for help. | 1.2 |
list, list <path> | Lists the content of the current directory, or, the directory specified. | 1.2 |
lua | Interactive Lua interpreter at the shell. | |
mkdir <path> | Makes the directory at the path specified. | |
monitor monitor <side> <program> <arguments> | Redirects a specified program to a monitor on the specified side. | 1.31 |
move move <source> <destination> | Moves a file or folder at a specified source path to the specified destination path. | 1.2 |
multishell multishell | Opens a new instance of multishell, running within the current multishell session. | 1.6 |
paint paint <path> | Edits the image specified. | 1.45 |
pastebin pastebin <get/run/put> <pastebin code/file> | Allows the user to either retrieve a file from pastebin.com, run it directly after downloading, or upload a file from the computer/turtle. | 1.31 |
peripherals peripherals | Lists all peripherals attacked to the system. | 1.76 |
programs | Lists all programs on the system. | |
reboot | Reboots the Computer. | 1.2 |
redstone <?> | Controls the redstone output state(s) of the system. | 1.6 |
rename rename <old-name> <new-name> | Renames a file or directory. | 1.2 |
set set <env variable> <value> | Changes system settings. | 1.77 |
shell shell, shell <program> <arguments> | Opens another shell session. Runs a program if specified. | |
shutdown | Powers off the Computer. | |
time | Returns the Minecraft time of day. | 1.2 |
type <path> | Returns the type of the object or file at the specified path. | |
wget <url> <filename> | Fetches the content at the specified web address and saves it to the specified file. | 1.77 |
Turtle-specific Commands
Program Name | Description | Version Added |
craft | The turtle will, if it is able, craft an item from the contents of its inventory. | 1.4 |
dance dance | Initiates "get down" procedure. | 1.3 |
equip equip <side> | The turtle will attempt to place a tool on its specified side. | 1.6 |
excavate excavate <width> | Digs a square-shaped quarry to bedrock, of width equal to that specified. | 1.3 |
go <?> | Moves the turtle. | 1.3 |
refuel refuel <amount> | Attempts to replenish the turtle's fuel supply with items from its inventory. | 1.4 |
tunnel <width> | Digs a horizontal tunnel leading off in the direction the turtle is facing. | 1.3 |
turn <?> | Causes the turtle to rotate. | 1.3 |
unequip unequip<width> | Attempts to remove a tool from the turtle's specified side. | 1.6 |
Command Computer-specific Commands
Program Name | Description | Version Added |
commands | Lists all commands available to the Command Computer under the current version of Minecraft. | 1.7 |
exec <command> | Executes the specified operator command as if through a Command Block. | 1.7 |
Removed Commands
Program Name | Description | Version Removed |
redprobe redprobe | List redstone stats. | 1.6 |
redpulse redpulse | Redstone output pulse tool. Use redpulse for help. | 1.6 |
redset redset | Redstone output set tool. Use redset for help. | 1.6 |