Difference between revisions of "CraftOS Shell"

From ComputerCraft Wiki
Jump to: navigation, search
m (Added to CAT:Lists & CAT:Tutorials)
Line 42: Line 42:
 
|  <pre>delete /pathToDelete</pre>
 
|  <pre>delete /pathToDelete</pre>
 
|}
 
|}
 +
 +
[[Category:Lists]][[Category:Tutorials]]

Revision as of 21:36, 28 November 2012

These commands are similar to *NIX-like OSes, 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