Difference between revisions of "CraftOS Shell"
From ComputerCraft Wiki
(added missing k in mkdir) |
|||
| Line 1: | Line 1: | ||
| − | These commands are similar to *NIX-like | + | These commands are similar to *NIX-like OSes, but this guide is handy when using the shell. |
Navigation: | Navigation: | ||
Revision as of 16:21, 20 July 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 |