Difference between revisions of "CraftOS Shell"
From ComputerCraft Wiki
m (moved The console and its shell to CraftOS Shell) |
|||
Line 38: | Line 38: | ||
|- | |- | ||
| delete | | delete | ||
− | | | + | | rm |
| '''Delete'''s a file or folder | | '''Delete'''s a file or folder | ||
| <pre>delete /pathToDelete</pre> | | <pre>delete /pathToDelete</pre> | ||
|} | |} |
Revision as of 09:14, 20 May 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 |