CraftOS Shell

From ComputerCraft Wiki
Jump to: navigation, search

Regular Shell Commands

Grid disk.png   CraftOS Shell Programs

Program NameDescriptionVersion Added
alias
alias <alias> <program>
Maps an alias string to a program. 1.2
apis
apis
Lists all loaded APIs. 1.2
bg
bg <program> <arguments>
Opens the specified script in a new multishell tab. 1.6
cd
cd <path>
Changes to the specified directory
chat
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
delete
delete <path>
Deletes the specified file (in the same manner as rm). 1.2
dj
dj
Music box DJ - use dj for help. 1.2
drive
drive, drive <path>
Lists the mount location of the current directory, or the path specified. 1.2
edit
edit <path>
Edits the file specified.
eject
eject <side>
Ejects the disk on the side specified. 1.2
exit
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, list <path>
Lists the content of the current directory, or, the directory specified. 1.2
lua
lua
Interactive Lua interpreter at the shell.
mkdir
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
programs
Lists all programs on the system.
reboot
reboot
Reboots the Computer. 1.2
redstone
redstone <?>
Controls the redstone output state(s) of the system. 1.6
repeat
repeat
Configures the system to act as a rednet repeater. 1.6
rename
rename <old-name> <new-name>
Renames a file or directory. 1.2
rm
rm <path>
Deletes the specified file (in the same manner as delete).
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
shutdown
Powers off the Computer.
time
time
Returns the Minecraft time of day. 1.2
type
type <path>
Returns the type of the object or file at the specified path.
wget
wget <url> <filename>
Fetches the content at the specified web address and saves it to the specified file. 1.77


Turtle-specific Commands

Grid disk.png   Additional TurtleOS Shell Programs

Program NameDescriptionVersion Added
craft
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
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
tunnel <width>
Digs a horizontal tunnel leading off in the direction the turtle is facing. 1.3
turn
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

Grid disk.png   Additional Command Computer Programs

Program NameDescriptionVersion Added
commands
commands
Lists all commands available to the Command Computer under the current version of Minecraft. 1.7
exec
exec <command>
Executes the specified operator command as if through a Command Block. 1.7


Removed Commands

Grid disk.png   Removed Commands

Program NameDescriptionVersion 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


See Also