Knowledge (XXG)

Template:Man

Source 📝

38: 1273:
There are several sources for Linux manual pages. Just use "Linux" which points to manned.org, which has up-to-date manpages collected from several Linux distributions (as well as FreeBSD); it will, by default, "try to get the latest and most-close-to-upstream version of a man page", which "will
826: 1270:
For most articles, it is preferable to cite SUS (if present) for standard, the FreeBSD page for history, and the Linux page for a relatively widespread form. Add other OS pages as needed.
1234:
Note: this covers all sections, including section 1 of the Linux user's manual and sections 2, 3, 4, 5, 6, 7, and 8 of the Linux programmer's manual.
1490: 53: 1472: 1523: 1486: 49: 1775: 1278:
go for die.net unless it's the only place where a page can be found, as the formatting is horrible and the pages are old.
760: 1780: 540: 507: 1135: 799: 678: 57: 1286:
Occasionally you will come across manual pages for which writing a source is overkill. In this case you can use
1201: 1168: 605: 524: 282: 175: 111: 24: 1009: 491: 1343: 1076: 910: 1105: 169: 129: 105: 1259:
Note: the SUS pages use a non-numerical chapter system. A simple mapping is in place for human comfort.
1195: 202: 441: 1431: 1416: 1412: 1113: 1050: 976: 877: 777: 711: 694: 636: 293: 259: 217: 213: 1162: 276: 1439: 1361: 1287: 1083: 943: 653: 620: 583: 557: 458: 425: 1430:
handles choosing the default source and calling it for URL and attribution; the default source is
843: 744: 145: 18: 1476: 1179: 810: 1129: 727: 1519: 1480: 1435: 1146: 45: 1442:
actually formats the link and descriptions into a nice-looking link+auxilia in Unix style.
474: 392: 359: 326: 1205: 1172: 414: 381: 348: 286: 179: 115: 28: 1769: 700: 1025: 599: 1574:
The section of the manual. e.g. if the manual page is 'ls(1)', the section is 1.
1043: 1035: 926: 174:: formatted output conversion – System Interfaces Reference, 65: 1349: 932: 209: 32: 1532:
To be used for inserting manual page links into articles on Unix topics.
1139: 1039: 1002: 969: 936: 903: 869: 836: 803: 770: 737: 704: 646: 613: 550: 517: 484: 451: 418: 385: 352: 319: 155: 1066: 1031: 998: 733: 151: 965: 642: 480: 447: 408: 375: 342: 1099: 793: 669: 1419:
for a demonstration of varying the attribution by manual section.
899: 865: 766: 609: 315: 309: 1459: 1244: 1072: 832: 69: 1364:
is therefore externally visible and needs to be kept constant.
992: 893: 959: 546: 513: 859: 573: 1274:
fetch the man page from any of the available systems". Do
663:|8|iptables|man.cx|inline}} 1511: 1503: 1499: 1243:
Note: this is the official documentation included with
1661:
The name of a subpage in the 'Template:Man' namespace.
1542:
This template prefers inline formatting of parameters.
1348:: source-level debugging tool –  239:Please add to this table as you write new sources! 1496:Editors can experiment in this template's sandbox 688:|1|ls|DragonFly BSD}} 1060:|1|perlrun|perldoc}} 534:|1|ls|4.4BSD-Lite2}} 163:{{man|3|printf||formatted output conversion}} 8: 1529: 1434:, which is a template redirect currently to 1167: – Shell and Utilities Reference, 1019:|1|ls|OpenSolaris}} 501:|1|ls|4.3BSD-Reno}} 281: – Shell and Utilities Reference, 1247:. It does not contain general manual pages. 1719:Will appear after the link to the man page 1535: 1230: 1228: 1200: – System Interfaces Reference, 1189:|sh|putmsg|SUS6}} 920:|1|ls|MirOS BSD}} 110: – System Interfaces Reference, 1632:The name of the page you are referring to 853:|7|epoll|Linux}} 1742:Currently "inline" omits the attribution 1294: 1123:|1|ls|Solaris}} 986:|1|ls|OpenBSD}} 887:|1|ls|ManKier}} 872:– Overview, Conventions and Miscellanea 787:|1|ls|Inferno}} 721:|1|ls|FreeBSD}} 303:|1|ls|die.net}} 243: 86: 1451: 1215: 1093:|1|ls|Plan 9}} 953:|1|ls|NetBSD}} 630:|1|ls|Debian}} 593:|1|ls|Darwin}} 567:|1|ls|9front}} 468:|1|ls|4.3BSD}} 435:|1|ls|4.2BSD}} 1405:for section to display in parentheses. 754:|1|ls|HP-UX}} 1255: 1253: 1156:|cu|ls|SUS}} 820:|1|ls|IRIX}} 7: 1290:directly with a URL for formatting: 402:|1|ls|v8}} 369:|1|ls|v7}} 336:|1|ls|v6}} 14: 1377:A source takes three parameters: 1222:Redirects to the current default 578: – 9front manual page 36: 1108:Programmer's Manual, Volume 1 216:. Leave blank for the current 1: 1202:The Single UNIX Specification 1169:The Single UNIX Specification 283:The Single UNIX Specification 176:The Single UNIX Specification 112:The Single UNIX Specification 25:The Single UNIX Specification 1329:source-level debugging tool 270:|1|ls}} 226:Style parameter; currently 1797: 1470: 1548: 1524:Subpages of this template 123:{{man|3|printf|||inline}} 64:To be used for inserting 1306: 1138:User Commands Reference 1038:User Commands Reference 139:{{man|3|printf|FreeBSD}} 23: – Reference, 1776:External link templates 1266:General recommendations 68:links into articles on 1518:Add categories to the 1333:Developer's Manual 1042:from latest Sun based 935:i386 General Commands 230:omits the attribution. 201:Source (the name of a 41:Template documentation 1325:http://.../dbx.1.html 1460:"About - Manned.org" 1432:Template:man/default 1417:Template:Man/FreeBSD 1415:for an example; see 1413:Template:Man/die.net 1764: 1545: 1538:Template parameters 1440:Template:man/format 1362:Template:man/format 1352:Developer's Manual 1288:Template:man/format 1781:Software templates 1536: 1534: 154:Library Functions 1763: 1762: 1561: 1530: 1387:Output selector: 1360:The interface of 1356: 1355: 1211: 1210: 1204:, Version 3 from 1171:, Version 4 from 1001:General Commands 968:General Commands 902:General Commands 802:General commands 736:General Commands 703:General Commands 645:General Commands 612:General Commands 549:General Commands 516:General Commands 483:General Commands 450:General Commands 285:, Version 4 from 235:Available sources 185: 184: 178:, Version 4 from 114:, Version 4 from 27:, Version 4 from 1788: 1751: 1746:Suggested values 1738: 1715: 1710:Page description 1685: 1682: 1679: 1676: 1673: 1670: 1665:Suggested values 1657: 1628: 1623:Manual page name 1604: 1601: 1598: 1595: 1592: 1589: 1586: 1583: 1578:Suggested values 1570: 1562: 1546: 1543: 1515: 1507: 1494: 1481:Template:Man/doc 1464: 1463: 1456: 1436:Template:man/SUS 1404: 1398: 1392: 1384:Manual page name 1347: 1346: 1336: 1332: 1328: 1324: 1320: 1316: 1313: 1310: 1295: 1260: 1257: 1248: 1241: 1235: 1232: 1223: 1220: 1199: 1198: 1190: 1166: 1165: 1157: 1133: 1132: 1124: 1103: 1102: 1094: 1070: 1069: 1061: 1029: 1028: 1020: 996: 995: 987: 963: 962: 954: 930: 929: 921: 897: 896: 888: 863: 862: 854: 830: 829: 821: 797: 796: 788: 764: 763: 755: 731: 730: 722: 698: 697: 689: 673: 672: 664: 640: 639: 631: 603: 602: 594: 577: 576: 568: 544: 543: 535: 511: 510: 502: 478: 477: 469: 445: 444: 436: 412: 411: 403: 379: 378: 370: 346: 345: 337: 313: 312: 304: 280: 279: 271: 244: 229: 223:Page description 198:Manual page name 173: 172: 164: 149: 148: 140: 133: 132: 124: 109: 108: 100: 99:{{man|3|printf}} 87: 61: 42: 40: 39: 22: 21: 1796: 1795: 1791: 1790: 1789: 1787: 1786: 1785: 1766: 1765: 1749: 1736: 1733:Style parameter 1713: 1683: 1680: 1677: 1674: 1671: 1668: 1655: 1626: 1602: 1599: 1596: 1593: 1590: 1587: 1584: 1581: 1568: 1541: 1528: 1527: 1517: 1509: 1497: 1495: 1484: 1469: 1468: 1467: 1458: 1457: 1453: 1448: 1425: 1403:display_section 1402: 1399:for URL to page 1396: 1393:for attribution 1390: 1375: 1373:Writing sources 1370: 1342: 1341: 1338: 1337: 1334: 1330: 1326: 1322: 1318: 1314: 1311: 1308: 1284: 1268: 1263: 1258: 1251: 1242: 1238: 1233: 1226: 1221: 1217: 1194: 1193: 1184: 1161: 1160: 1151: 1128: 1127: 1118: 1098: 1097: 1088: 1065: 1064: 1055: 1024: 1023: 1014: 991: 990: 981: 958: 957: 948: 925: 924: 915: 892: 891: 882: 858: 857: 848: 825: 824: 815: 792: 791: 782: 759: 758: 749: 726: 725: 716: 693: 692: 683: 668: 667: 658: 635: 634: 625: 598: 597: 588: 572: 571: 562: 539: 538: 529: 506: 505: 496: 473: 472: 463: 440: 439: 430: 407: 406: 397: 374: 373: 364: 341: 340: 331: 308: 307: 298: 275: 274: 265: 237: 227: 192: 168: 167: 162: 144: 143: 138: 128: 127: 122: 104: 103: 98: 83: 78: 62: 43: 37: 35: 17: 16: 12: 11: 5: 1794: 1792: 1784: 1783: 1778: 1768: 1767: 1761: 1760: 1757: 1754: 1753: 1752: 1747: 1739: 1734: 1730: 1729: 1726: 1723: 1722: 1716: 1711: 1707: 1706: 1703: 1700: 1699: 1698: 1695: 1692: 1689: 1686: 1666: 1658: 1653: 1649: 1648: 1645: 1642: 1641: 1640: 1637: 1629: 1624: 1620: 1619: 1616: 1613: 1612: 1611: 1608: 1605: 1579: 1571: 1566: 1565:Manual section 1560: 1559: 1556: 1553: 1550: 1508:and testcases 1466: 1465: 1450: 1449: 1447: 1444: 1424: 1421: 1409: 1408: 1407: 1406: 1400: 1394: 1385: 1382: 1381:Manual section 1374: 1371: 1369: 1366: 1358: 1357: 1354: 1353: 1339: 1307: 1303: 1302: 1299: 1283: 1280: 1267: 1264: 1262: 1261: 1249: 1236: 1224: 1214: 1213: 1212: 1209: 1208: 1206:The Open Group 1191: 1182: 1176: 1175: 1173:The Open Group 1158: 1149: 1143: 1142: 1125: 1116: 1110: 1109: 1095: 1086: 1080: 1079: 1062: 1053: 1047: 1046: 1021: 1012: 1006: 1005: 988: 979: 973: 972: 955: 946: 940: 939: 922: 913: 907: 906: 889: 880: 874: 873: 855: 846: 840: 839: 835:User Commands 822: 813: 807: 806: 789: 780: 774: 773: 769:User Commands 756: 747: 741: 740: 723: 714: 708: 707: 690: 681: 675: 674: 665: 656: 650: 649: 632: 623: 617: 616: 595: 586: 580: 579: 569: 560: 554: 553: 536: 527: 521: 520: 503: 494: 488: 487: 470: 461: 455: 454: 437: 428: 422: 421: 415:Version 8 Unix 404: 395: 393:Version 8 Unix 389: 388: 382:Version 7 Unix 371: 362: 360:Version 7 Unix 356: 355: 349:Version 6 Unix 338: 329: 327:Version 6 Unix 323: 322: 318:User Commands 305: 296: 290: 289: 287:The Open Group 272: 263: 255: 254: 251: 248: 236: 233: 232: 231: 224: 221: 199: 196: 195:Manual section 191: 188: 187: 186: 183: 182: 180:The Open Group 165: 159: 158: 141: 135: 134: 125: 119: 118: 116:The Open Group 101: 95: 94: 91: 82: 79: 77: 74: 34: 33: 29:The Open Group 13: 10: 9: 6: 4: 3: 2: 1793: 1782: 1779: 1777: 1774: 1773: 1771: 1758: 1755: 1748: 1745: 1744: 1743: 1740: 1735: 1732: 1731: 1727: 1724: 1721: 1720: 1717: 1712: 1709: 1708: 1704: 1701: 1696: 1693: 1690: 1687: 1667: 1664: 1663: 1662: 1659: 1654: 1651: 1650: 1646: 1643: 1638: 1635: 1634: 1633: 1630: 1625: 1622: 1621: 1617: 1614: 1609: 1606: 1580: 1577: 1576: 1575: 1572: 1567: 1564: 1563: 1557: 1554: 1551: 1547: 1544: 1539: 1533: 1525: 1521: 1513: 1505: 1501: 1492: 1488: 1482: 1478: 1474: 1473:documentation 1461: 1455: 1452: 1445: 1443: 1441: 1437: 1433: 1429: 1422: 1420: 1418: 1414: 1401: 1395: 1389: 1388: 1386: 1383: 1380: 1379: 1378: 1372: 1367: 1365: 1363: 1351: 1345: 1340: 1305: 1304: 1300: 1297: 1296: 1293: 1292: 1291: 1289: 1282:Other sources 1281: 1279: 1277: 1271: 1265: 1256: 1254: 1250: 1246: 1240: 1237: 1231: 1229: 1225: 1219: 1216: 1207: 1203: 1197: 1192: 1188: 1183: 1181: 1178: 1177: 1174: 1170: 1164: 1159: 1155: 1150: 1148: 1145: 1144: 1141: 1137: 1134: –  1131: 1126: 1122: 1117: 1115: 1112: 1111: 1107: 1104: –  1101: 1096: 1092: 1087: 1085: 1082: 1081: 1078: 1077:Documentation 1074: 1071: –  1068: 1063: 1059: 1054: 1052: 1049: 1048: 1045: 1041: 1037: 1033: 1030: –  1027: 1022: 1018: 1013: 1011: 1008: 1007: 1004: 1000: 997: –  994: 989: 985: 980: 978: 975: 974: 971: 967: 964: –  961: 956: 952: 947: 945: 942: 941: 938: 934: 931: –  928: 923: 919: 914: 912: 909: 908: 905: 901: 898: –  895: 890: 886: 881: 879: 876: 875: 871: 868:Programmer's 867: 864: –  861: 856: 852: 847: 845: 842: 841: 838: 834: 831: –  828: 823: 819: 814: 812: 809: 808: 805: 801: 798: –  795: 790: 786: 781: 779: 776: 775: 772: 768: 765: –  762: 757: 753: 748: 746: 743: 742: 739: 735: 732: –  729: 724: 720: 715: 713: 710: 709: 706: 702: 701:DragonFly BSD 699: –  696: 691: 687: 682: 680: 679:DragonFly BSD 677: 676: 671: 666: 662: 657: 655: 652: 651: 648: 644: 641: –  638: 633: 629: 624: 622: 619: 618: 615: 611: 607: 604: –  601: 596: 592: 587: 585: 582: 581: 575: 570: 566: 561: 559: 556: 555: 552: 548: 545: –  542: 537: 533: 528: 526: 523: 522: 519: 515: 512: –  509: 504: 500: 495: 493: 490: 489: 486: 482: 479: –  476: 471: 467: 462: 460: 457: 456: 453: 449: 446: –  443: 438: 434: 429: 427: 424: 423: 420: 417:Programmer's 416: 413: –  410: 405: 401: 396: 394: 391: 390: 387: 384:Programmer's 383: 380: –  377: 372: 368: 363: 361: 358: 357: 354: 351:Programmer's 350: 347: –  344: 339: 335: 330: 328: 325: 324: 321: 317: 314: –  311: 306: 302: 297: 295: 292: 291: 288: 284: 278: 273: 269: 264: 262: 261: 257: 256: 252: 249: 246: 245: 242: 241: 240: 234: 225: 222: 219: 215: 211: 208: 204: 200: 197: 194: 193: 189: 181: 177: 171: 166: 161: 160: 157: 153: 150: –  147: 142: 137: 136: 131: 126: 121: 120: 117: 113: 107: 102: 97: 96: 92: 89: 88: 85: 84: 80: 75: 73: 71: 67: 59: 55: 51: 47: 31: 30: 26: 20: 1741: 1718: 1660: 1631: 1573: 1540: 1537: 1531: 1454: 1428:Template:man 1427: 1426: 1410: 1376: 1359: 1285: 1275: 1272: 1269: 1239: 1218: 1186: 1185:{{ 1153: 1152:{{ 1136:Solaris 11.4 1120: 1119:{{ 1090: 1089:{{ 1075:Programming 1057: 1056:{{ 1016: 1015:{{ 983: 982:{{ 950: 949:{{ 917: 916:{{ 884: 883:{{ 850: 849:{{ 817: 816:{{ 784: 783:{{ 751: 750:{{ 718: 717:{{ 685: 684:{{ 660: 659:{{ 627: 626:{{ 590: 589:{{ 564: 563:{{ 531: 530:{{ 525:4.4BSD-Lite2 498: 497:{{ 465: 464:{{ 432: 431:{{ 399: 398:{{ 366: 365:{{ 333: 332:{{ 300: 299:{{ 267: 266:{{ 258: 238: 207:Template:Man 206: 63: 15: 1552:Description 1477:transcluded 1044:OpenSolaris 1036:OpenSolaris 1010:OpenSolaris 670:iptables(8) 492:4.3BSD-Reno 66:manual page 56:] [ 52:] [ 48:] [ 1770:Categories 1471:The above 1446:References 1350:Sun Studio 1312:man/format 1067:perlrun(1) 190:Parameters 1705:suggested 1549:Parameter 1522:subpage. 1423:Internals 933:MirOS BSD 911:MirOS BSD 767:HP-UX 11i 210:namespace 146:printf(3) 1759:optional 1728:optional 1647:required 1618:required 860:epoll(7) 833:IRIX 6.5 81:Examples 72:topics. 1725:Content 1697:FreeBSD 1694:Example 1688:Default 1675:FreeBSD 1669:die.net 1636:Example 1607:Example 1502:| 1491:history 1489:| 1368:Hacking 1114:Solaris 1051:perldoc 1032:illumos 999:OpenBSD 977:OpenBSD 878:ManKier 800:Inferno 778:Inferno 734:FreeBSD 712:FreeBSD 294:die.net 260:default 253:Result 250:Example 218:default 214:FreeBSD 205:in the 203:subpage 152:FreeBSD 54:history 19:{{{2}}} 1756:String 1750:inline 1702:String 1684:Debian 1678:Darwin 1652:Source 1644:String 1615:String 1558:Status 1516:pages. 1512:create 1504:mirror 1500:create 1391:attrib 1344:dbx(1) 1196:putmsg 1140:Manual 1106:Plan 9 1084:Plan 9 1040:Manual 1003:Manual 970:Manual 966:NetBSD 944:NetBSD 937:Manual 904:Manual 870:Manual 837:Manual 804:Manual 771:Manual 738:Manual 705:Manual 654:man.cx 647:Manual 643:Debian 621:Debian 614:Manual 606:Darwin 584:Darwin 558:9front 551:Manual 518:Manual 485:Manual 481:4.3BSD 459:4.3BSD 452:Manual 448:4.2BSD 426:4.2BSD 419:Manual 386:Manual 353:Manual 320:Manual 247:Source 228:inline 170:printf 156:Manual 130:printf 106:printf 1672:Linux 1479:from 1130:ls(1) 1100:ls(1) 1026:ls(1) 993:ls(1) 960:ls(1) 927:ls(1) 900:Linux 894:ls(1) 866:Linux 844:Linux 827:ls(1) 794:ls(1) 761:ls(1) 745:HP-UX 728:ls(1) 695:ls(1) 637:ls(1) 610:macOS 600:ls(1) 574:ls(1) 541:ls(1) 508:ls(1) 475:ls(1) 442:ls(1) 409:ls(1) 376:ls(1) 343:ls(1) 316:Linux 310:ls(1) 212:e.g. 76:Usage 60:] 58:purge 44:[ 1555:Type 1520:/doc 1487:edit 1411:See 1301:Out 1245:Perl 1180:SUS6 1073:Perl 1034:and 811:IRIX 608:and 93:Out 70:Unix 50:edit 46:view 1691:SUS 1681:SUS 1475:is 1397:url 1321:dbx 1276:not 1187:man 1154:man 1147:SUS 1121:man 1091:man 1058:man 1017:man 984:man 951:man 918:man 885:man 851:man 818:man 785:man 752:man 719:man 686:man 661:man 628:man 591:man 565:man 547:BSD 532:man 514:BSD 499:man 466:man 433:man 400:man 367:man 334:man 301:man 268:man 1772:: 1639:ls 1483:. 1438:. 1335:}} 1331:|] 1309:{{ 1298:In 1252:^ 1227:^ 1163:ls 277:ls 220:.) 90:In 1737:5 1714:4 1656:3 1627:2 1610:1 1603:8 1600:7 1597:6 1594:5 1591:4 1588:3 1585:2 1582:1 1569:1 1526:. 1514:) 1510:( 1506:) 1498:( 1493:) 1485:( 1462:. 1327:| 1323:| 1319:| 1317:1 1315:|

Index

{{{2}}}
The Single UNIX Specification
The Open Group
view
edit
history
purge
manual page
Unix
printf
The Single UNIX Specification
The Open Group
printf
printf(3)
FreeBSD
Manual
printf
The Single UNIX Specification
The Open Group
subpage
Template:Man
namespace
FreeBSD
default
default
man
ls
The Single UNIX Specification
The Open Group
die.net

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