Difference between revisions of "CraftOS Shell"
From ComputerCraft Wiki
(→Added TurtleOS programs) |
m (Minor change for table color format) |
||
Line 127: | Line 127: | ||
<tr><td style="width: 350px; background: #E0E0E0; padding: .4em; font-weight:bold;">Program Name</td><td style="background: #E0E0E0; padding: .4em; font-weight:bold;">Description</td></tr> | <tr><td style="width: 350px; background: #E0E0E0; padding: .4em; font-weight:bold;">Program Name</td><td style="background: #E0E0E0; padding: .4em; font-weight:bold;">Description</td></tr> | ||
− | <tr style="background-color: # | + | <tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-apis">[[craft]]</div><tt>craft</tt></td> |
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">The turtle will, if it is able, craft an item from the contents of its inventory.</td></tr> | <td style="border-top: solid #C9C9C9 1px; padding: .4em;">The turtle will, if it is able, craft an item from the contents of its inventory.</td></tr> | ||
− | <tr style="background-color: # | + | <tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-alias">[[dance]]</div><tt>dance</tt></td> |
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Initiates "get down" procedure.</td></tr> | <td style="border-top: solid #C9C9C9 1px; padding: .4em;">Initiates "get down" procedure.</td></tr> | ||
Revision as of 04:18, 6 September 2015
Program Name | Description |
alias <alias> <program> | Maps an alias string to a program. |
apis | Lists all loaded APIs. |
bg <program> <arguments> | Opens the specified script in a new multishell tab. Note: Added by ComputerCraft 1.6 |
cd <path> | Changes to the specified directory |
clear | Clears the terminal. |
copy <source> <destination> | Copies a source file or folder to a destination |
delete <path> | Deletes the specified file (in the same manner as rm). |
dj | Music box DJ - use dj for help. |
drive, drive <path> | Lists the mount location of the current directory, or the path specified. |
edit <path> | Edits the file specified. |
eject <side> | Ejects the disk on the side specified. |
exit | Exits the currently running shell session - if it is the only shell session, the computer will power off. |
fg <program> <arguments> | Opens the specified script in a new multishell tab, then switches to it. Note: Added by ComputerCraft 1.6 |
gps <?> | Minecraft Global Positioning tool. Use gps for help. |
help, help <topic> | Help utility. Opens the specified topic, or the introduction if no topic is specified. |
id, id <side> | Returns the ID of the computer, or if a side is specified, the ID of the disk in the specified side. |
label | Gets and sets the ID of the computer, or, the ID of a disk in a specified side. Use label for help. |
list, list <path> | Lists the content of the current directory, or, the directory specified. |
lua | Interactive Lua interpreter at the shell. |
mkdir <path> | Makes the directory at the path specified. |
monitor <side> <program> <arguments> | Redirects a specified program to a monitor on the specified side. |
move <source> <destination> | Moves a file or folder at a specified source path to the specified destination path. |
multishell | Opens a new instance of multishell, running within the current multishell session. Note: Added by ComputerCraft 1.6 |
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. |
programs | Lists all programs on the system. |
reboot | Reboots the Computer. |
redprobe | List redstone stats. Note: Removed in ComputerCraft 1.6 |
redpulse | Redstone output pulse tool. Use redpulse for help. Note: Removed in ComputerCraft 1.6 |
redset | Redstone output set tool. Use redset for help. Note: Removed in ComputerCraft 1.6 |
redstone <?> | Controls the redstone output state(s) of the system. Note: Added by ComputerCraft 1.6 |
repeat | Configures the system to act as a rednet repeater. Note: Added by ComputerCraft 1.6 |
time | Returns the Minecraft time of day. |
type <path> | Returns the type of the object or file at the specified path. |
rename <old-name> <new-name> | Renames a file or directory. |
rm <path> | Deletes the specified file (in the same manner as delete). |
shell, shell <program> <arguments> | Opens another shell session. Runs a program if specified. |
shutdown | Powers off the Computer. |
Added TurtleOS programs
Program Name | Description |
craft | The turtle will, if it is able, craft an item from the contents of its inventory. |
dance | Initiates "get down" procedure. |
equip <side> | The turtle will attempt to place a tool on its specified side. Note: Added by ComputerCraft 1.6 |
excavate <width> | Digs a square-shaped quarry to bedrock, of width equal to that specified. |
go <?> | Moves the turtle. |
refuel <amount> | Attempts to replenish the turtle's fuel supply with items from its inventory. |
tunnel <width> | Digs a horizontal tunnel leading off in the direction the turtle is facing. |
turn <?> | Causes the turtle to rotate. |
unequip<width> | Attempts to remove a tool from the turtle's specified side. Note: Added by ComputerCraft 1.6 |