14,958
edits
| Line 35: | Line 35: | ||
delete files or directory | delete (move) files or directory | ||
* {{kbd | key=rm -rf ''/Name_of_directory''}} ({{Linux}})<ref><nowiki>[OPTION]</nowiki> | * {{kbd | key=rm -rf ''/Name_of_directory''}} ({{Linux}})<ref><nowiki>[OPTION]</nowiki> | ||
* -r remove directories and their contents recursively; | * -r remove directories and their contents recursively; | ||
| Line 44: | Line 44: | ||
** After executed ''del Name_of_directory'' but the empty directory directory_name will be left. | ** After executed ''del Name_of_directory'' but the empty directory directory_name will be left. | ||
** Command delete is not available in Win XP | ** Command delete is not available in Win XP | ||
* [http://ubuntuforums.org/showthread.php?t=1139660 linux alternative to dos command ren - Ubuntu Forums] | |||
list directory or files / list directory contents | list directory or files / list directory contents | ||
| Line 55: | Line 56: | ||
* dir ({{Win}}) ex: {{kbd | key= dir ''filename'' /s}}<ref>[http://www.computerhope.com/issues/ch000309.htm How to find a file in MS-DOS.]</ref> {{exclaim}} I have no idea to specify the file path to find the file. | * dir ({{Win}}) ex: {{kbd | key= dir ''filename'' /s}}<ref>[http://www.computerhope.com/issues/ch000309.htm How to find a file in MS-DOS.]</ref> {{exclaim}} I have no idea to specify the file path to find the file. | ||
show the current directory | show the current directory | ||