Difference between revisions of "CraftOS Shell"

From ComputerCraft Wiki
Jump to: navigation, search
(added missing k in mkdir)
Line 29: Line 29:
 
|  mkdir
 
|  mkdir
 
|   
 
|   
|  '''M'''akes a '''dir'''ectory
+
|  '''M'''a'''k'''es a '''dir'''ectory
 
|  <pre>mkdir /exampleDirectory</pre>
 
|  <pre>mkdir /exampleDirectory</pre>
 
|-
 
|-

Revision as of 20:52, 20 June 2012

These commands are similar to *NIX-like OSs, but this guide is handy when using the shell.

Navigation:

Command Aliases Description Example
list ls, dir Lists all files and folders in a directory
ls
cd Changes the current directory
cd /disk

Manipulating folders and files:

Command Aliases Description Example
mkdir Makes a directory
mkdir /exampleDirectory
copy cp Copies a file or folder to another directory
cp /toCopy /targetLocation
delete rm Deletes a file or folder
delete /pathToDelete