Knowledge (XXG)

rmdir

Source 📝

357: 1418: 1440: 27: 441:. If rd/rmdir gets executed without regard to case sensitivity and Windows chooses the legitimate folder to delete, the only folder left is the undesired one. Windows then uses this folder instead of the previously legitimate one to execute programs, and one may be led to believe it contains legitimate data. 420:, just like their earlier predecessors, unless two files of the same name and different case exist. Then case sensitivity applies when selecting which file to use, or if the case does not match either file, one may be chosen by Windows. 437:
Using rd/rmdir and two directories with the same name and different case sensitivities exist, one of which contains valid data and/or programs, and the other contains incriminating materials and/or
475: 1478: 2991: 3180: 2056: 2735: 806: 3081: 1471: 2689: 746: 723: 700: 677: 579: 309:
where name_of_directory corresponds with the name of the directory one wishes to delete. There are options to this command such as
486: 1464: 3210: 3175: 1431: 1426: 327:
will first remove baz/, then bar/ and finally foo/ thus removing the entire directory tree specified in the command argument.
3205: 3185: 2986: 2709: 2049: 2815: 779: 3126: 2730: 2312: 799: 413: 190: 3200: 3190: 3170: 2855: 2850: 2790: 2042: 1983: 1865: 1403: 1373: 770: 424: 54: 1388: 166: 594: 3195: 2704: 2443: 2161: 2068: 1490: 1444: 1149: 818: 792: 784: 356: 3149: 2654: 2276: 2271: 2266: 2261: 450: 764: 1550: 3144: 3139: 3037: 2805: 2555: 2545: 2448: 1456: 1319: 1267: 738: 455: 68: 1910: 2936: 2714: 2659: 2166: 2034: 1978: 1875: 692: 162: 141: 136: 72: 1915: 2641: 2631: 2382: 1487: 992: 982: 270: 124: 389:
and earlier (non-NT-based) versions of Microsoft Windows for deleting non-empty directories is
2906: 2307: 2224: 2213: 2065: 1595: 742: 719: 696: 673: 575: 232: 109: 3111: 2649: 2494: 2489: 2479: 2352: 2098: 1958: 1940: 1721: 1219: 1124: 1119: 534: 428: 417: 218: 170: 80: 1905: 1646: 1505: 642: 3071: 3045: 2800: 2699: 2626: 2575: 2565: 2540: 2453: 2438: 2362: 2286: 1950: 1620: 1398: 1342: 1247: 1048: 951: 715: 571: 3101: 2881: 2694: 2669: 2616: 2596: 2560: 2535: 2525: 2515: 2423: 2418: 2203: 2171: 2135: 2130: 2125: 1845: 1555: 1337: 1272: 1257: 1194: 1154: 1033: 997: 891: 774: 669: 624: 423:
Having two files named the same with different case sensitivity is allowed either when
129: 49: 3164: 3076: 2765: 2601: 2570: 2392: 2387: 2281: 2218: 2176: 2120: 2072: 1998: 1968: 1870: 1860: 1686: 1378: 1239: 1174: 946: 921: 822: 3096: 3091: 2891: 2886: 2611: 2413: 2114: 2008: 1761: 1731: 1610: 1352: 1252: 1169: 1164: 1068: 977: 941: 896: 45: 2916: 2745: 2397: 2337: 2083: 1973: 1963: 1895: 1885: 1774: 1756: 1706: 1701: 1696: 1615: 1288: 1262: 1199: 1189: 1179: 1144: 1134: 1129: 1012: 1002: 956: 255: 336:
command will remove a directory and all its contents recursively. For example:
2946: 2845: 2835: 2093: 2023: 2013: 1988: 1945: 1766: 1736: 1691: 1681: 1661: 1104: 1063: 866: 836: 278: 244: 62: 40: 3121: 2830: 2367: 2208: 1880: 1840: 1830: 1799: 1779: 1741: 1726: 1716: 1600: 1590: 1560: 1540: 1535: 1530: 1393: 1347: 1327: 1224: 1204: 1159: 1007: 931: 916: 901: 886: 881: 876: 871: 510: 331: 266: 202: 117: 89: 568:
Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition
26: 3017: 2976: 2956: 2951: 2941: 2926: 2911: 2876: 2871: 2785: 2780: 2755: 2750: 2679: 2674: 2530: 2499: 2463: 2458: 2428: 2372: 2342: 2332: 2327: 2322: 2317: 2235: 1935: 1920: 1820: 1789: 1625: 1309: 1089: 259: 3116: 3050: 3022: 3012: 3007: 2981: 2971: 2966: 2921: 2901: 2840: 2825: 2820: 2795: 2775: 2760: 2621: 2240: 2182: 2088: 1890: 1835: 1746: 1114: 1038: 438: 390: 361: 236: 206: 113: 97: 3106: 3055: 3027: 2896: 2810: 2664: 2580: 2550: 2520: 2357: 2302: 2198: 2151: 2018: 2003: 1925: 1825: 1711: 1676: 1656: 1651: 1585: 1575: 1099: 841: 548: 386: 274: 262: 240: 221: 101: 712:
Windows Command-Line Administrator's Pocket Consultant, 2nd Edition
3086: 2961: 2931: 2770: 2606: 2484: 2433: 2377: 2347: 2245: 2192: 2187: 2156: 1993: 1900: 1815: 1784: 1666: 1580: 1570: 1525: 1520: 1515: 1510: 1332: 1229: 1209: 1139: 1058: 961: 911: 861: 856: 851: 846: 606: 330:
rmdir will not remove a directory if it is not empty in UNIX. The
210: 198: 186: 313:
in Unix which removes parent directories if they are also empty.
2740: 2684: 1855: 1794: 1751: 1671: 1383: 1357: 1293: 1214: 1109: 1094: 1053: 1043: 987: 815: 228: 182: 105: 85: 2038: 1460: 788: 1930: 1850: 1184: 1084: 1028: 926: 225: 214: 194: 93: 1630: 1565: 1545: 906: 371:
Normal usage is identical to Unix-like operating systems:
595:
DR DOS 6.0 User Guide Optimisation and Configuration Tips
16:
Directory management command on various operating systems
243:, the command is available in versions 2 and later. 3064: 3036: 3000: 2864: 2723: 2640: 2589: 2508: 2472: 2406: 2295: 2254: 2144: 2107: 1808: 1639: 1498: 1366: 1318: 1302: 1281: 1238: 1077: 1021: 970: 829: 391: 332: 248: 135: 123: 79: 61: 39: 666:Special Edition Using MS-DOS 6.22, Third Edition 735:The Mac OS X Command Line: Unix Under the Hood 2050: 1472: 800: 8: 769: – Shell and Utilities Reference, 19: 2057: 2043: 2035: 1479: 1465: 1457: 1439: 807: 793: 785: 25: 18: 416:(XP, Vista, 7, 8, Server 2003/2008) are 355: 467: 247:also includes an implementation of the 285:function with similar functionality. 7: 434:An example of the security risk is: 687:Kathy Ivens; Brian Proffit (1993). 14: 3181:Unix file system-related software 535:"Microsoft TechNet Rmdir article" 298:Normal usage is straightforward: 1438: 1417: 1416: 625:"Remove folder - MATLAB rmdir" 431:settings are set to allow it. 1: 771:The Single UNIX Specification 398:In later version of Windows: 254:It is also available in the 181:The command is available in 710:Stanek, William R. (2008). 643:"Function Reference: rmdir" 352:DOS, OS/2, Windows, ReactOS 165:which will remove an empty 3227: 385:The equivalent command in 55:AT&T Bell Laboratories 3135: 2079: 1412: 427:is installed or when the 425:Windows Services for Unix 24: 733:McElhearn, Kirk (2006). 607:"Shell - KolibriOS wiki" 400: 373: 338: 318: 300: 566:Wolverton, Van (2003). 305:rmdirname_of_directory 3211:Windows administration 3176:Unix SUS2008 utilities 2108:File system navigation 1491:command-line interface 1432:Unix SUS2008 utilities 1427:Standard Unix programs 819:command-line interface 780:rmdir | Microsoft Docs 485:. 1986. Archived from 368: 239:operating systems. On 3206:IBM i Qshell commands 3186:Internal DOS commands 3150:Windows Support Tools 3145:Environment variables 739:John Wiley & Sons 689:OS/2 Inside & Out 647:octave.sourceforge.io 451:List of Unix commands 412:Windows based on the 359: 3140:List of DOS commands 3038:Software development 2865:Maintenance and care 1320:Software development 664:Cooper, Jim (2001). 456:List of DOS commands 693:Osborne McGraw-Hill 323:rmdir-pfoo/bar/baz 271:numerical computing 21: 2094:Windows PowerShell 1488:GNU Core Utilities 611:wiki.kolibrios.org 408:/s directory_name 381:name_of_directory 369: 41:Original author(s) 3158: 3157: 2032: 2031: 1454: 1453: 773:, Version 4 from 629:www.mathworks.com 555:. 3 January 2022. 549:"reactos/reactos" 537:. 31 August 2016. 483:www.bitsavers.org 347:rm-rffoo/bar/baz 233:Microsoft Windows 171:operating systems 147: 146: 3218: 3201:ReactOS commands 3191:MSX-DOS commands 3171:Windows commands 2509:User environment 2099:Recovery Console 2059: 2052: 2045: 2036: 1481: 1474: 1467: 1458: 1442: 1441: 1420: 1419: 1022:User environment 809: 802: 795: 786: 768: 767: 752: 729: 706: 683: 651: 650: 639: 633: 632: 621: 615: 614: 603: 597: 592: 586: 585: 563: 557: 556: 545: 539: 538: 531: 525: 524: 522: 521: 507: 501: 500: 498: 497: 491: 480: 472: 429:Windows Registry 418:case insensitive 407: 404: 393: 380: 377: 366: 346: 343:rm-rfoo/bar/baz 342: 334: 322: 304: 284: 250: 219:Digital Research 159: 153: 81:Operating system 34: 29: 22: 3226: 3225: 3221: 3220: 3219: 3217: 3216: 3215: 3161: 3160: 3159: 3154: 3131: 3060: 3032: 3001:Boot management 2996: 2860: 2719: 2636: 2585: 2504: 2468: 2402: 2296:Disk management 2291: 2250: 2145:File management 2140: 2103: 2075: 2063: 2033: 2028: 1809:Shell utilities 1804: 1635: 1494: 1485: 1455: 1450: 1408: 1362: 1314: 1298: 1277: 1234: 1078:Text processing 1073: 1017: 966: 825: 813: 763: 762: 759: 749: 732: 726: 716:Microsoft Press 709: 703: 686: 680: 663: 660: 658:Further reading 655: 654: 641: 640: 636: 623: 622: 618: 605: 604: 600: 593: 589: 582: 572:Microsoft Press 565: 564: 560: 547: 546: 542: 533: 532: 528: 519: 517: 515:www.jatomes.com 509: 508: 504: 495: 493: 489: 478: 474: 473: 469: 464: 447: 410: 409: 405: 402: 383: 382: 378: 375: 364: 354: 349: 348: 344: 340: 325: 324: 320: 307: 306: 302: 296: 294:Unix, Unix-like 291: 282: 179: 177:Implementations 157: 151: 52: 35: 32: 17: 12: 11: 5: 3224: 3222: 3214: 3213: 3208: 3203: 3198: 3193: 3188: 3183: 3178: 3173: 3163: 3162: 3156: 3155: 3153: 3152: 3147: 3142: 3136: 3133: 3132: 3130: 3129: 3124: 3119: 3114: 3109: 3104: 3099: 3094: 3089: 3084: 3079: 3074: 3068: 3066: 3062: 3061: 3059: 3058: 3053: 3048: 3042: 3040: 3034: 3033: 3031: 3030: 3025: 3020: 3015: 3010: 3004: 3002: 2998: 2997: 2995: 2994: 2989: 2984: 2979: 2974: 2969: 2964: 2959: 2954: 2949: 2944: 2939: 2934: 2929: 2924: 2919: 2914: 2909: 2904: 2899: 2894: 2889: 2884: 2879: 2874: 2868: 2866: 2862: 2861: 2859: 2858: 2853: 2848: 2843: 2838: 2833: 2828: 2823: 2818: 2813: 2808: 2803: 2798: 2793: 2788: 2783: 2778: 2773: 2768: 2763: 2758: 2753: 2748: 2743: 2738: 2733: 2727: 2725: 2721: 2720: 2718: 2717: 2712: 2707: 2702: 2697: 2692: 2687: 2682: 2677: 2672: 2667: 2662: 2657: 2652: 2646: 2644: 2638: 2637: 2635: 2634: 2629: 2624: 2619: 2614: 2609: 2604: 2599: 2593: 2591: 2587: 2586: 2584: 2583: 2578: 2573: 2568: 2563: 2558: 2553: 2548: 2543: 2538: 2533: 2528: 2523: 2518: 2512: 2510: 2506: 2505: 2503: 2502: 2497: 2492: 2487: 2482: 2476: 2474: 2470: 2469: 2467: 2466: 2461: 2456: 2451: 2446: 2441: 2436: 2431: 2426: 2421: 2416: 2410: 2408: 2404: 2403: 2401: 2400: 2395: 2390: 2385: 2380: 2375: 2370: 2365: 2360: 2355: 2350: 2345: 2340: 2335: 2330: 2325: 2320: 2315: 2310: 2305: 2299: 2297: 2293: 2292: 2290: 2289: 2284: 2279: 2274: 2269: 2264: 2258: 2256: 2252: 2251: 2249: 2248: 2243: 2238: 2233: 2227: 2222: 2216: 2211: 2206: 2201: 2196: 2190: 2185: 2180: 2174: 2169: 2164: 2159: 2154: 2148: 2146: 2142: 2141: 2139: 2138: 2133: 2128: 2123: 2118: 2111: 2109: 2105: 2104: 2102: 2101: 2096: 2091: 2089:Command Prompt 2086: 2080: 2077: 2076: 2073:shell builtins 2064: 2062: 2061: 2054: 2047: 2039: 2030: 2029: 2027: 2026: 2021: 2016: 2011: 2006: 2001: 1996: 1991: 1986: 1981: 1976: 1971: 1966: 1961: 1956: 1953: 1948: 1943: 1938: 1933: 1928: 1923: 1918: 1913: 1908: 1903: 1898: 1893: 1888: 1883: 1878: 1873: 1868: 1863: 1858: 1853: 1848: 1843: 1838: 1833: 1828: 1823: 1818: 1812: 1810: 1806: 1805: 1803: 1802: 1797: 1792: 1787: 1782: 1777: 1772: 1769: 1764: 1759: 1754: 1749: 1744: 1739: 1734: 1729: 1724: 1719: 1714: 1709: 1704: 1699: 1694: 1689: 1684: 1679: 1674: 1669: 1664: 1659: 1654: 1649: 1643: 1641: 1640:Text utilities 1637: 1636: 1634: 1633: 1628: 1623: 1618: 1613: 1608: 1603: 1598: 1593: 1588: 1583: 1578: 1573: 1568: 1563: 1558: 1553: 1548: 1543: 1538: 1533: 1528: 1523: 1518: 1513: 1508: 1502: 1500: 1496: 1495: 1486: 1484: 1483: 1476: 1469: 1461: 1452: 1451: 1449: 1448: 1436: 1435: 1434: 1429: 1413: 1410: 1409: 1407: 1406: 1404:true and false 1401: 1396: 1391: 1386: 1381: 1376: 1370: 1368: 1364: 1363: 1361: 1360: 1355: 1350: 1345: 1340: 1335: 1330: 1324: 1322: 1316: 1315: 1313: 1312: 1306: 1304: 1300: 1299: 1297: 1296: 1291: 1285: 1283: 1279: 1278: 1276: 1275: 1270: 1265: 1260: 1255: 1250: 1244: 1242: 1240:Shell builtins 1236: 1235: 1233: 1232: 1227: 1222: 1217: 1212: 1207: 1202: 1197: 1192: 1187: 1182: 1177: 1172: 1167: 1162: 1157: 1152: 1147: 1142: 1137: 1132: 1127: 1122: 1117: 1112: 1107: 1102: 1097: 1092: 1087: 1081: 1079: 1075: 1074: 1072: 1071: 1066: 1061: 1056: 1051: 1046: 1041: 1036: 1031: 1025: 1023: 1019: 1018: 1016: 1015: 1010: 1005: 1000: 995: 990: 985: 980: 974: 972: 968: 967: 965: 964: 959: 954: 949: 944: 939: 934: 929: 924: 919: 914: 909: 904: 899: 894: 889: 884: 879: 874: 869: 864: 859: 854: 849: 844: 839: 833: 831: 827: 826: 823:shell builtins 814: 812: 811: 804: 797: 789: 783: 782: 777: 775:The Open Group 758: 757:External links 755: 754: 753: 748:978-0470113851 747: 730: 725:978-0735622623 724: 707: 702:978-0078818714 701: 684: 679:978-0789725738 678: 670:Que Publishing 659: 656: 653: 652: 634: 616: 598: 587: 580: 558: 540: 526: 502: 466: 465: 463: 460: 459: 458: 453: 446: 443: 401: 374: 353: 350: 339: 319: 301: 295: 292: 290: 287: 178: 175: 149:In computing, 145: 144: 139: 133: 132: 130:Cross-platform 127: 121: 120: 83: 77: 76: 65: 59: 58: 50:Dennis Ritchie 43: 37: 36: 30: 15: 13: 10: 9: 6: 4: 3: 2: 3223: 3212: 3209: 3207: 3204: 3202: 3199: 3197: 3196:OS/2 commands 3194: 3192: 3189: 3187: 3184: 3182: 3179: 3177: 3174: 3172: 3169: 3168: 3166: 3151: 3148: 3146: 3143: 3141: 3138: 3137: 3134: 3128: 3125: 3123: 3120: 3118: 3115: 3113: 3110: 3108: 3105: 3103: 3100: 3098: 3095: 3093: 3090: 3088: 3085: 3083: 3080: 3078: 3075: 3073: 3070: 3069: 3067: 3065:Miscellaneous 3063: 3057: 3054: 3052: 3049: 3047: 3044: 3043: 3041: 3039: 3035: 3029: 3026: 3024: 3021: 3019: 3016: 3014: 3011: 3009: 3006: 3005: 3003: 2999: 2993: 2990: 2988: 2985: 2983: 2980: 2978: 2975: 2973: 2970: 2968: 2965: 2963: 2960: 2958: 2955: 2953: 2950: 2948: 2945: 2943: 2940: 2938: 2935: 2933: 2930: 2928: 2925: 2923: 2920: 2918: 2915: 2913: 2910: 2908: 2905: 2903: 2900: 2898: 2895: 2893: 2892:eventtriggers 2890: 2888: 2885: 2883: 2880: 2878: 2875: 2873: 2870: 2869: 2867: 2863: 2857: 2854: 2852: 2849: 2847: 2844: 2842: 2839: 2837: 2834: 2832: 2829: 2827: 2824: 2822: 2819: 2817: 2814: 2812: 2809: 2807: 2804: 2802: 2799: 2797: 2794: 2792: 2789: 2787: 2784: 2782: 2779: 2777: 2774: 2772: 2769: 2767: 2764: 2762: 2759: 2757: 2754: 2752: 2749: 2747: 2744: 2742: 2739: 2737: 2734: 2732: 2729: 2728: 2726: 2722: 2716: 2713: 2711: 2708: 2706: 2703: 2701: 2698: 2696: 2693: 2691: 2688: 2686: 2683: 2681: 2678: 2676: 2673: 2671: 2668: 2666: 2663: 2661: 2658: 2656: 2653: 2651: 2648: 2647: 2645: 2643: 2639: 2633: 2630: 2628: 2625: 2623: 2620: 2618: 2615: 2613: 2610: 2608: 2605: 2603: 2600: 2598: 2595: 2594: 2592: 2590:File contents 2588: 2582: 2579: 2577: 2574: 2572: 2569: 2567: 2564: 2562: 2559: 2557: 2554: 2552: 2549: 2547: 2544: 2542: 2539: 2537: 2534: 2532: 2529: 2527: 2524: 2522: 2519: 2517: 2514: 2513: 2511: 2507: 2501: 2498: 2496: 2493: 2491: 2488: 2486: 2483: 2481: 2478: 2477: 2475: 2471: 2465: 2462: 2460: 2457: 2455: 2452: 2450: 2447: 2445: 2442: 2440: 2437: 2435: 2432: 2430: 2427: 2425: 2422: 2420: 2417: 2415: 2412: 2411: 2409: 2405: 2399: 2396: 2394: 2391: 2389: 2386: 2384: 2381: 2379: 2376: 2374: 2371: 2369: 2366: 2364: 2361: 2359: 2356: 2354: 2351: 2349: 2346: 2344: 2341: 2339: 2336: 2334: 2331: 2329: 2326: 2324: 2321: 2319: 2316: 2314: 2311: 2309: 2306: 2304: 2301: 2300: 2298: 2294: 2288: 2285: 2283: 2280: 2278: 2275: 2273: 2270: 2268: 2265: 2263: 2260: 2259: 2257: 2253: 2247: 2244: 2242: 2239: 2237: 2234: 2231: 2228: 2226: 2223: 2220: 2217: 2215: 2212: 2210: 2207: 2205: 2202: 2200: 2197: 2194: 2191: 2189: 2186: 2184: 2181: 2178: 2175: 2173: 2170: 2168: 2165: 2163: 2160: 2158: 2155: 2153: 2150: 2149: 2147: 2143: 2137: 2134: 2132: 2129: 2127: 2124: 2122: 2119: 2116: 2113: 2112: 2110: 2106: 2100: 2097: 2095: 2092: 2090: 2087: 2085: 2082: 2081: 2078: 2074: 2071:programs and 2070: 2067: 2060: 2055: 2053: 2048: 2046: 2041: 2040: 2037: 2025: 2022: 2020: 2017: 2015: 2012: 2010: 2007: 2005: 2002: 2000: 1997: 1995: 1992: 1990: 1987: 1985: 1982: 1980: 1977: 1975: 1972: 1970: 1967: 1965: 1962: 1960: 1957: 1954: 1952: 1949: 1947: 1944: 1942: 1939: 1937: 1934: 1932: 1929: 1927: 1924: 1922: 1919: 1917: 1914: 1912: 1909: 1907: 1904: 1902: 1899: 1897: 1894: 1892: 1889: 1887: 1884: 1882: 1879: 1877: 1874: 1872: 1869: 1867: 1864: 1862: 1859: 1857: 1854: 1852: 1849: 1847: 1844: 1842: 1839: 1837: 1834: 1832: 1829: 1827: 1824: 1822: 1819: 1817: 1814: 1813: 1811: 1807: 1801: 1798: 1796: 1793: 1791: 1788: 1786: 1783: 1781: 1778: 1776: 1773: 1770: 1768: 1765: 1763: 1760: 1758: 1755: 1753: 1750: 1748: 1745: 1743: 1740: 1738: 1735: 1733: 1730: 1728: 1725: 1723: 1720: 1718: 1715: 1713: 1710: 1708: 1705: 1703: 1700: 1698: 1695: 1693: 1690: 1688: 1685: 1683: 1680: 1678: 1675: 1673: 1670: 1668: 1665: 1663: 1660: 1658: 1655: 1653: 1650: 1648: 1645: 1644: 1642: 1638: 1632: 1629: 1627: 1624: 1622: 1619: 1617: 1614: 1612: 1609: 1607: 1604: 1602: 1599: 1597: 1594: 1592: 1589: 1587: 1584: 1582: 1579: 1577: 1574: 1572: 1569: 1567: 1564: 1562: 1559: 1557: 1554: 1552: 1549: 1547: 1544: 1542: 1539: 1537: 1534: 1532: 1529: 1527: 1524: 1522: 1519: 1517: 1514: 1512: 1509: 1507: 1504: 1503: 1501: 1497: 1492: 1489: 1482: 1477: 1475: 1470: 1468: 1463: 1462: 1459: 1447: 1446: 1437: 1433: 1430: 1428: 1425: 1424: 1423: 1415: 1414: 1411: 1405: 1402: 1400: 1397: 1395: 1392: 1390: 1387: 1385: 1382: 1380: 1377: 1375: 1372: 1371: 1369: 1367:Miscellaneous 1365: 1359: 1356: 1354: 1351: 1349: 1346: 1344: 1341: 1339: 1336: 1334: 1331: 1329: 1326: 1325: 1323: 1321: 1317: 1311: 1308: 1307: 1305: 1303:Documentation 1301: 1295: 1292: 1290: 1287: 1286: 1284: 1280: 1274: 1271: 1269: 1266: 1264: 1261: 1259: 1256: 1254: 1251: 1249: 1246: 1245: 1243: 1241: 1237: 1231: 1228: 1226: 1223: 1221: 1218: 1216: 1213: 1211: 1208: 1206: 1203: 1201: 1198: 1196: 1193: 1191: 1188: 1186: 1183: 1181: 1178: 1176: 1173: 1171: 1168: 1166: 1163: 1161: 1158: 1156: 1153: 1151: 1148: 1146: 1143: 1141: 1138: 1136: 1133: 1131: 1128: 1126: 1123: 1121: 1118: 1116: 1113: 1111: 1108: 1106: 1103: 1101: 1098: 1096: 1093: 1091: 1088: 1086: 1083: 1082: 1080: 1076: 1070: 1067: 1065: 1062: 1060: 1057: 1055: 1052: 1050: 1047: 1045: 1042: 1040: 1037: 1035: 1032: 1030: 1027: 1026: 1024: 1020: 1014: 1011: 1009: 1006: 1004: 1001: 999: 996: 994: 991: 989: 986: 984: 981: 979: 976: 975: 973: 969: 963: 960: 958: 955: 953: 950: 948: 945: 943: 940: 938: 935: 933: 930: 928: 925: 923: 920: 918: 915: 913: 910: 908: 905: 903: 900: 898: 895: 893: 890: 888: 885: 883: 880: 878: 875: 873: 870: 868: 865: 863: 860: 858: 855: 853: 850: 848: 845: 843: 840: 838: 835: 834: 832: 828: 824: 821:programs and 820: 817: 810: 805: 803: 798: 796: 791: 790: 787: 781: 778: 776: 772: 766: 761: 760: 756: 750: 744: 740: 736: 731: 727: 721: 717: 713: 708: 704: 698: 694: 690: 685: 681: 675: 671: 667: 662: 661: 657: 648: 644: 638: 635: 630: 626: 620: 617: 612: 608: 602: 599: 596: 591: 588: 583: 581:0-7356-1812-7 577: 573: 569: 562: 559: 554: 550: 544: 541: 536: 530: 527: 516: 512: 506: 503: 492:on 2010-08-08 488: 484: 477: 471: 468: 461: 457: 454: 452: 449: 448: 444: 442: 440: 435: 432: 430: 426: 421: 419: 415: 399: 396: 394: 388: 372: 363: 358: 351: 337: 335: 328: 317: 316:For example: 314: 312: 299: 293: 288: 286: 280: 276: 273:environments 272: 268: 264: 261: 257: 252: 246: 242: 238: 234: 230: 227: 223: 220: 216: 212: 208: 204: 200: 196: 192: 188: 184: 176: 174: 172: 168: 164: 160: 154: 143: 140: 138: 134: 131: 128: 126: 122: 119: 115: 111: 107: 103: 99: 95: 91: 87: 84: 82: 78: 74: 70: 66: 64: 60: 56: 51: 47: 44: 42: 38: 28: 23: 2229: 2069:command-line 1605: 1443: 1421: 936: 734: 711: 688: 665: 646: 637: 628: 619: 610: 601: 590: 567: 561: 552: 543: 529: 518:. Retrieved 514: 505: 494:. Retrieved 487:the original 482: 470: 436: 433: 422: 411: 397: 384: 370: 329: 326: 315: 310: 308: 297: 253: 180: 156: 150: 148: 63:Developer(s) 46:Ken Thompson 2917:pnpunattend 2887:eventcreate 2882:driverquery 2841:ssh-keyscan 2084:COMMAND.COM 1499:File system 830:File system 511:"Help page" 281:include an 256:open source 169:on various 69:open-source 31:Example of 3165:Categories 2947:systeminfo 2836:ssh-keygen 2724:Networking 2368:manage-bde 2338:diskshadow 1422:Categories 520:2020-09-12 496:2020-09-12 462:References 279:GNU Octave 245:DR DOS 6.0 75:developers 73:commercial 20:rmdir / rd 3122:tpmvscmgr 2831:ssh-agent 2736:bitsadmin 2642:Scripting 2407:Processes 2255:Archiving 2209:openfiles 1551:dircolors 1282:Searching 971:Processes 414:NT kernel 267:KolibriOS 251:command. 203:Unix-like 167:directory 118:KolibriOS 90:Unix-like 3097:gpupdate 3092:gpresult 3018:bootsect 2977:wevtutil 2957:typeperf 2952:tracerpt 2942:sxstrace 2927:REAgentC 2912:ntbackup 2877:dispdiag 2872:auditpol 2786:PathPing 2781:nslookup 2756:ipconfig 2751:hostname 2680:forfiles 2531:graftabl 2500:regsvr32 2473:Registry 2464:tasklist 2459:taskkill 2449:shutdown 2444:schtasks 2429:powercfg 2398:vssadmin 2383:scandisk 2373:refsutil 2343:drvspace 2333:diskraid 2328:diskpart 2323:diskcopy 2318:diskcomp 2267:extrac32 2236:robocopy 2221:(rename) 1936:readlink 1921:printenv 1821:basename 1790:unexpand 1626:truncate 1596:realpath 1493:programs 1090:basename 476:"Manual" 445:See also 260:emulator 125:Platform 67:Various 3117:tpmtool 3051:exe2bin 3023:fixboot 3013:bootcfg 3008:bcdedit 2982:winmgmt 2972:wecutil 2967:WBAdmin 2922:pnputil 2907:msiexec 2902:mofcomp 2846:tracert 2826:ssh-add 2796:rpcping 2776:netstat 2761:nbtstat 2715:timeout 2660:cscript 2622:findstr 2308:convert 2277:makecab 2272:extract 2241:takeown 2225:replace 2214:recover 2183:deltree 2179:(erase) 2167:compact 2117:(chdir) 2066:Windows 1979:timeout 1911:pathchk 1891:logname 1836:dirname 1747:sha1sum 1556:install 1195:strings 1115:dirname 1039:logname 988:crontab 439:malware 392:deltree 367:command 362:ReactOS 265:and in 258:MS-DOS 237:ReactOS 207:FreeBSD 191:Solaris 163:command 161:) is a 142:Command 114:ReactOS 110:Windows 98:MSX-DOS 3112:pentnt 3107:MSCDEX 3056:QBasic 3028:fixmbr 2987:winsat 2897:logman 2811:setspn 2746:getmac 2705:prompt 2665:doskey 2650:choice 2581:whoami 2551:setver 2521:cmdkey 2495:regini 2358:fsutil 2353:format 2313:defrag 2303:chkdsk 2262:expand 2199:mklink 2188:icacls 2162:cipher 2152:attrib 2019:whoami 2004:uptime 1999:unlink 1959:stdbuf 1941:runcon 1926:printf 1876:hostid 1871:groups 1861:factor 1826:chroot 1722:numfmt 1712:md5sum 1687:expand 1677:csplit 1657:base64 1652:base32 1586:mktemp 1576:mkfifo 1175:printf 1100:csplit 842:chattr 745:  722:  699:  676:  578:  553:GitHub 387:MS-DOS 275:MATLAB 269:. The 263:DOSBox 241:MS-DOS 222:FlexOS 205:(e.g. 185:(e.g. 102:FlexOS 3087:dpath 3072:break 3046:debug 2962:w32tm 2932:relog 2856:winrs 2851:winrm 2801:route 2771:netsh 2700:pause 2627:print 2607:edlin 2576:where 2566:title 2485:ftype 2480:assoc 2454:start 2434:runas 2378:subst 2363:label 2348:fdisk 2246:xcopy 2230:rmdir 2193:mkdir 2157:cacls 2131:pushd 2009:users 1994:uname 1951:sleep 1916:pinky 1906:nproc 1901:nohup 1866:false 1785:tsort 1762:split 1732:paste 1667:cksum 1647:b2sum 1621:touch 1611:shred 1606:rmdir 1581:mknod 1571:mkdir 1526:cksum 1521:chgrp 1516:chown 1511:chmod 1506:chcon 1399:sleep 1353:strip 1333:ctags 1268:unset 1248:alias 1230:xargs 1210:troff 1170:patch 1165:paste 1140:iconv 1069:write 1059:uname 962:umask 952:touch 942:split 937:rmdir 912:mkdir 897:fuser 862:cksum 857:chgrp 852:chown 847:chmod 765:rmdir 490:(PDF) 479:(PDF) 379:rmdir 365:rmdir 289:Usage 283:rmdir 249:rmdir 211:Linux 199:HP-UX 187:macOS 152:rmdir 33:rmdir 3102:help 3082:dism 2992:wmic 2816:sftp 2791:ping 2741:curl 2695:more 2685:goto 2670:echo 2655:clip 2632:type 2617:find 2602:edit 2597:comp 2561:time 2556:setx 2541:path 2536:mode 2526:date 2516:chcp 2424:kill 2419:exit 2232:(rd) 2204:move 2195:(md) 2172:copy 2136:tree 2126:popd 1984:true 1974:test 1964:stty 1955:stat 1896:nice 1886:link 1856:expr 1846:echo 1831:date 1816:arch 1795:uniq 1775:tail 1757:sort 1752:shuf 1707:join 1702:head 1697:fold 1672:comm 1631:vdir 1616:sync 1445:List 1384:expr 1358:yacc 1343:make 1294:grep 1289:find 1273:wait 1263:test 1258:echo 1215:uniq 1200:tail 1190:sort 1180:read 1155:more 1145:join 1135:head 1130:fold 1110:diff 1095:comm 1054:tput 1049:talk 1044:mesg 1034:exit 1013:time 1003:nice 998:kill 957:type 892:file 816:Unix 743:ISBN 720:ISBN 697:ISBN 674:ISBN 576:ISBN 403:> 376:> 360:The 277:and 229:OS/2 183:Unix 155:(or 137:Type 106:OS/2 86:Unix 71:and 3127:wsl 3077:cls 2937:sfc 2821:ssh 2806:scp 2766:net 2731:arp 2710:rem 2675:for 2571:ver 2546:set 2490:reg 2393:vol 2388:sys 2287:tar 2282:pax 2219:ren 2177:del 2121:dir 2024:yes 2014:who 1989:tty 1969:tee 1946:seq 1931:pwd 1851:env 1771:tac 1767:sum 1737:ptx 1692:fmt 1682:cut 1662:cat 1546:dir 1379:cal 1338:lex 1310:man 1185:sed 1105:cut 1085:awk 1064:who 1029:env 947:tee 927:pwd 922:pax 867:cmp 837:cat 345:$ 341:$ 321:$ 303:$ 235:or 226:IBM 215:DOS 213:), 201:), 195:AIX 94:DOS 3167:: 2690:if 2612:fc 2439:sc 2414:at 2115:cd 1881:id 1841:du 1800:wc 1780:tr 1742:pr 1727:od 1717:nl 1601:rm 1591:mv 1566:ls 1561:ln 1541:df 1536:dd 1531:cp 1394:od 1389:lp 1374:bc 1348:nm 1328:ar 1253:cd 1225:wc 1220:vi 1205:tr 1160:nl 1150:m4 1125:ex 1120:ed 1008:ps 993:fg 983:bg 978:at 932:rm 917:mv 907:ls 902:ln 887:df 882:du 877:dd 872:cp 741:. 737:. 718:. 714:. 695:. 691:. 672:. 668:. 645:. 627:. 609:. 574:. 570:. 551:. 513:. 481:. 406:rd 395:. 333:rm 311:-p 231:, 224:, 217:, 209:, 197:, 193:, 189:, 173:. 158:rd 116:, 112:, 108:, 104:, 100:, 96:, 92:, 88:, 48:, 2058:e 2051:t 2044:v 1480:e 1473:t 1466:v 808:e 801:t 794:v 751:. 728:. 705:. 682:. 649:. 631:. 613:. 584:. 523:. 499:. 57:) 53:(

Index


Original author(s)
Ken Thompson
Dennis Ritchie
AT&T Bell Laboratories
Developer(s)
open-source
commercial
Operating system
Unix
Unix-like
DOS
MSX-DOS
FlexOS
OS/2
Windows
ReactOS
KolibriOS
Platform
Cross-platform
Type
Command
command
directory
operating systems
Unix
macOS
Solaris
AIX
HP-UX

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.