Difference between revisions of "CraftOS Shell"

From ComputerCraft Wiki
Jump to: navigation, search
(More commands)
Line 12: Line 12:
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists all loaded APIs.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists all loaded APIs.</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-apis">[[bg]]</div><tt>bg <path></tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-apis">[[bg]]</div><tt>bg <program> <arguments></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens the specified script in a new [[multishell]] tab. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens the specified script in a new [[multishell]] tab. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
  
Line 24: Line 24:
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Copies a source file or folder to a destination</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Copies a source file or folder to a destination</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-dj">[[dj]]</div><tt>dj</tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-dj">[[delete]]</div><tt>delete <path></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Deletes the specified file (in the same manner as [[rm]]).</td></tr>
 +
 
 +
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-dj">[[dj]]</div><tt>dj</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Music box DJ - use <tt>dj</tt> for help.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Music box DJ - use <tt>dj</tt> for help.</td></tr>  
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-drive">[[drive]]</div><tt>drive</tt>, <tt>drive <path></tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-drive">[[drive]]</div><tt>drive</tt>, <tt>drive <path></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists the mount location of the current directory, or the path specified.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists the mount location of the current directory, or the path specified.</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-edit">[[edit]]</div><tt>edit <path></tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-edit">[[edit]]</div><tt>edit <path></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Edits the file specified.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Edits the file specified.</td></tr>  
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-eject">[[eject]]</div><tt>eject <side></tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-eject">[[eject]]</div><tt>eject <side></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Ejects the disk on the side specified.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Ejects the disk on the side specified.</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-exit">[[exit]]</div><tt>exit</tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-exit">[[exit]]</div><tt>exit</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Exits the currently running shell session - if it is the only shell session, the computer will power off.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Exits the currently running shell session - if it is the only shell session, the computer will power off.</td></tr>  
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-exit">[[fg]]</div><tt>fg <path></tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-exit">[[fg]]</div><tt>fg <program> <arguments></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens the specified script in a new [[multishell]] tab, then switches to it. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens the specified script in a new [[multishell]] tab, then switches to it. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>  
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-gps">[[Gps (program)|gps]]</div><tt>gps</tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-gps">[[Gps (program)|gps]]</div><tt>gps <?></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Minecraft Global Positioning tool. Use <tt>gps</tt> for help.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Minecraft Global Positioning tool. Use <tt>gps</tt> for help.</td></tr>
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-help">[[help]]</div><tt>help</tt>, <tt>help <topic></tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-help">[[help]]</div><tt>help</tt>, <tt>help <topic></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Help utility. Opens the specified topic, or the introduction if no topic is specified.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Help utility. Opens the specified topic, or the introduction if no topic is specified.</td></tr>  
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-id">[[id]]</div><tt>id</tt>, <tt>id <side></tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-id">[[id]]</div><tt>id</tt>, <tt>id <side></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Returns the ID of the computer, or if a side is specified, the ID of the disk in the specified side.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Returns the ID of the computer, or if a side is specified, the ID of the disk in the specified side.</td></tr>
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-label">[[label]]</div><tt>label</tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-label">[[label]]</div><tt>label</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Gets and sets the ID of the computer, or, the ID of a disk in a specified side. Use <tt>label</tt> for help.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Gets and sets the ID of the computer, or, the ID of a disk in a specified side. Use <tt>label</tt> for help.</td></tr>  
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-list">[[list]]</div><tt>list</tt>, <tt>list <path></tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-list">[[list]]</div><tt>list</tt>, <tt>list <path></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists the content of the current directory, or, the directory specified.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists the content of the current directory, or, the directory specified.</td></tr>
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-lua">[[lua]]</div><tt>lua</tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-lua">[[lua]]</div><tt>lua</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Interactive Lua interpreter at the shell.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Interactive Lua interpreter at the shell.</td></tr>  
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-mkdir">[[mkdir]]</div><tt>mkdir <path></tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-mkdir">[[mkdir]]</div><tt>mkdir <path></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Makes the directory at the path specified.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Makes the directory at the path specified.</td></tr>
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-monitor">[[monitor]]</div><tt>monitor <side> <program> <arguments></tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-monitor">[[monitor]]</div><tt>monitor <side> <program> <arguments></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Redirects a specified program to a monitor on the specified side.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Redirects a specified program to a monitor on the specified side.</td></tr>  
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-move">[[move]]</div><tt>move <source> <destination></tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-move">[[move]]</div><tt>move <source> <destination></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Moves a file or folder at a specified source path to the specified destination path.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Moves a file or folder at a specified source path to the specified destination path.</td></tr>
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-move">[[multishell]]</div><tt>multishell</tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-move">[[multishell]]</div><tt>multishell</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens a new instance of multishell, running within the ''current'' multishell session. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens a new instance of multishell, running within the ''current'' multishell session. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-programs">[[programs]]</div><tt>programs</tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-programs">[[programs]]</div><tt>programs</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists all programs on the system.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Lists all programs on the system.</td></tr>  
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-reboot">[[reboot]]</div><tt>reboot</tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-reboot">[[reboot]]</div><tt>reboot</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Reboots the Computer.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Reboots the Computer.</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redprobe">[[redprobe]]</div><tt>redprobe</tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redprobe">[[redprobe]]</div><tt>redprobe</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">List redstone stats. <b>Note:</b> Removed in ComputerCraft 1.6</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">List redstone stats. <b>Note:</b> Removed in ComputerCraft 1.6</td></tr>  
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redpulse">[[redpulse]]</div><tt>redpulse</tt></td>
+
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redpulse">[[redpulse]]</div><tt>redpulse</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Redstone output pulse tool. Use <tt>redpulse</tt> for help. <b>Note:</b> Removed in ComputerCraft 1.6</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Redstone output pulse tool. Use <tt>redpulse</tt> for help. <b>Note:</b> Removed in ComputerCraft 1.6</td></tr>
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redset">[[redset]]</div><tt>redset</tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redset">[[redset]]</div><tt>redset</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Redstone output set tool. Use <tt>redset</tt> for help. <b>Note:</b> Removed in ComputerCraft 1.6</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Redstone output set tool. Use <tt>redset</tt> for help. <b>Note:</b> Removed in ComputerCraft 1.6</td></tr>  
 +
 +
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redset">[[redstone]]</div><tt>redstone <?></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Controls the redstone output state(s) of the system. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
  
 
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redset">[[repeat]]</div><tt>repeat</tt></td>
 
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-redset">[[repeat]]</div><tt>repeat</tt></td>
Line 99: Line 105:
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Renames a file or directory.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Renames a file or directory.</td></tr>
  
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-shell">[[shell]]</div><tt>shell, shell <program> <arguments></tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-rename">[[rm]]</div><tt>rm <path></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Deletes the specified file (in the same manner as [[delete]]).</td></tr>
 +
 
 +
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-shell">[[shell]]</div><tt>shell, shell <program> <arguments></tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens another shell session. Runs a program if specified.</td></tr>  
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Opens another shell session. Runs a program if specified.</td></tr>  
  
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-shutdown">[[shutdown]]</div><tt>shutdown</tt></td>
+
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-shutdown">[[shutdown]]</div><tt>shutdown</tt></td>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Powers off the Computer.</td></tr>
 
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Powers off the Computer.</td></tr>
 +
</table><br><br>
 +
 +
<table style="width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;">
 +
<tr><td colspan="2" style="font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #D3FFC2; line-height:28px;">
 +
[[File:Grid_disk.png|24px]]&nbsp;&nbsp;
 +
Additional TurtleOS Shell Programs
 +
</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: #FFFFFF;"><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>
 +
 +
<tr style="background-color: #E8E8E8;"><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>
 +
 +
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-alias">[[equip]]</div><tt>equip <side></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">The turtle will attempt to place a tool on its specified side. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
 +
 +
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-apis">[[excavate]]</div><tt>excavate <width></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Digs a square-shaped quarry to bedrock, of width equal to that specified.</td></tr>
 +
 +
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-alias">[[go]]</div><tt>go <?></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Moves the turtle.</td></tr>
 +
 +
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-apis">[[refuel]]</div><tt>refuel <amount></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Attempts to replenish the turtle's [[fuel]] supply with items from its inventory.</td></tr>
 +
 +
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-alias">[[tunnel]]</div><tt>tunnel <width></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Digs a horizontal tunnel leading off in the direction the turtle is facing.</td></tr>
 +
 +
<tr style="background-color: #E8E8E8;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-apis">[[turn]]</div><tt>turn <?></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Causes the turtle to rotate.</td></tr>
 +
 +
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-alias">[[unequip]]</div><tt>unequip<width></tt></td>
 +
<td style="border-top: solid #C9C9C9 1px; padding: .4em;">Attempts to remove a tool from the turtle's specified side. <b>Note:</b> Added by ComputerCraft 1.6</td></tr>
 
</table>
 
</table>
 +
 
[[Category:Programs]][[Category:Lists]][[Category:Tutorials]]
 
[[Category:Programs]][[Category:Lists]][[Category:Tutorials]]

Revision as of 10:14, 17 June 2014

Grid disk.png   CraftOS Shell Programs

Program NameDescription
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
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.


Grid disk.png   Additional TurtleOS Shell Programs

Program NameDescription
dance Initiates "get down" procedure.
craft The turtle will, if it is able, craft an item from the contents of its inventory.
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