Difference between revisions of "CraftOS Shell"

From ComputerCraft Wiki
Jump to: navigation, search
(Added notes regarding redprobe, redset, redpulse removed in 1.6)
m (minor formatting)
Line 70: Line 70:
  
 
<tr style="background-color: #E8E8E8;"><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. Note: 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: #FFFFFF;"><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. Note: 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: #E8E8E8;"><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. Note: 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-time">time</div><tt>time</tt></td>
 
<tr style="background-color: #FFFFFF;"><td style="border-top: solid #C9C9C9 1px; padding: .4em;"><div id="cmd-time">time</div><tt>time</tt></td>

Revision as of 04:17, 16 April 2014

Grid disk.png   CraftOS Shell Programs

Program NameDescription
alias
alias <alias> <program>
Maps an alias string to a program.
apis
apis
Lists all loaded APIs.
cd
cd <path>
Changes to the specified directory
clear
clear
Clears the terminal.
copy
copy <source> <destination>
Copies a source file or folder to a destination
dj
dj
Music box DJ - use dj for help.
drive
drive, drive <path>
Lists the mount location of the current directory, or the path specified.
edit
edit <path>
Edits the file specified.
eject
eject <side>
Ejects the disk on the side specified.
exit
exit
Exits the currently running shell session - if it is the only shell session, the computer will power off.
gps
gps
Minecraft Global Positioning tool. Use gps for help.
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.
label
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, list <path>
Lists the content of the current directory, or, the directory specified.
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.
move
move <source> <destination>
Moves a file or folder at a specified source path to the specified destination path.
programs
programs
Lists all programs on the system.
reboot
reboot
Reboots the Computer.
redprobe
redprobe
List redstone stats. Note: Removed in ComputerCraft 1.6
redpulse
redpulse
Redstone output pulse tool. Use redpulse for help. Note: Removed in ComputerCraft 1.6
redset
redset
Redstone output set tool. Use redset for help. Note: Removed in ComputerCraft 1.6
time
time
Returns the Minecraft time of day.
type
type <path>
Returns the type of the object or file at the specified path.
rename
rename <old-name> <new-name>
Renames a file or directory.
shell
shell, shell <program> <arguments>
Opens another shell session. Runs a program if specified.
shutdown
shutdown
Powers off the Computer.