BusyBox.html 157 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>BusyBox - The Swiss Army Knife of Embedded Linux</title>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <link rev="made" href="mailto:root@localhost" />
  8. </head>
  9. <body>
  10. <h1 id="NAME">NAME</h1>
  11. <p>BusyBox - The Swiss Army Knife of Embedded Linux</p>
  12. <h1 id="SYNTAX">SYNTAX</h1>
  13. <pre><code> busybox &lt;applet&gt; [arguments...] # or
  14. &lt;applet&gt; [arguments...] # if symlinked</code></pre>
  15. <h1 id="DESCRIPTION">DESCRIPTION</h1>
  16. <p>BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.</p>
  17. <p>BusyBox has been written with size-optimization and limited resources in mind. It is also extremely modular so you can easily include or exclude commands (or features) at compile time. This makes it easy to customize your embedded systems. To create a working system, just add /dev, /etc, and a Linux kernel. BusyBox provides a fairly complete POSIX environment for any small or embedded system.</p>
  18. <p>BusyBox is extremely configurable. This allows you to include only the components you need, thereby reducing binary size. Run &#39;make config&#39; or &#39;make menuconfig&#39; to select the functionality that you wish to enable. Then run &#39;make&#39; to compile BusyBox using your configuration.</p>
  19. <p>After the compile has finished, you should use &#39;make install&#39; to install BusyBox. This will install the &#39;bin/busybox&#39; binary, in the target directory specified by CONFIG_PREFIX. CONFIG_PREFIX can be set when configuring BusyBox, or you can specify an alternative location at install time (i.e., with a command line like &#39;make CONFIG_PREFIX=/tmp/foo install&#39;). If you enabled any applet installation scheme (either as symlinks or hardlinks), these will also be installed in the location pointed to by CONFIG_PREFIX.</p>
  20. <h1 id="USAGE">USAGE</h1>
  21. <p>BusyBox is a multi-call binary. A multi-call binary is an executable program that performs the same job as more than one utility program. That means there is just a single BusyBox binary, but that single binary acts like a large number of utilities. This allows BusyBox to be smaller since all the built-in utility programs (we call them applets) can share code for many common operations.</p>
  22. <p>You can also invoke BusyBox by issuing a command as an argument on the command line. For example, entering</p>
  23. <pre><code> /bin/busybox ls</code></pre>
  24. <p>will also cause BusyBox to behave as &#39;ls&#39;.</p>
  25. <p>Of course, adding &#39;/bin/busybox&#39; into every command would be painful. So most people will invoke BusyBox using links to the BusyBox binary.</p>
  26. <p>For example, entering</p>
  27. <pre><code> ln -s /bin/busybox ls
  28. ./ls</code></pre>
  29. <p>will cause BusyBox to behave as &#39;ls&#39; (if the &#39;ls&#39; command has been compiled into BusyBox). Generally speaking, you should never need to make all these links yourself, as the BusyBox build system will do this for you when you run the &#39;make install&#39; command.</p>
  30. <p>If you invoke BusyBox with no arguments, it will provide you with a list of the applets that have been compiled into your BusyBox binary.</p>
  31. <h1 id="COMMON-OPTIONS">COMMON OPTIONS</h1>
  32. <p>Most BusyBox applets support the <b>--help</b> argument to provide a terse runtime description of their behavior. If the CONFIG_FEATURE_VERBOSE_USAGE option has been enabled, more detailed usage information will also be available.</p>
  33. <h1 id="COMMANDS">COMMANDS</h1>
  34. <p>Currently available applets include:</p>
  35. <pre><code> [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arch, arp,
  36. arping, ash, awk, base64, basename, beep, blkdiscard, blkid,
  37. blockdev, bootchartd, brctl, bunzip2, bzcat, bzip2, cal, cat, chat,
  38. chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt,
  39. cksum, clear, cmp, comm, conspy, cp, cpio, crond, crontab, cryptpw,
  40. cttyhack, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod,
  41. devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname,
  42. dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, echo, ed, egrep,
  43. eject, env, envdir, envuidgid, ether-wake, expand, expr, factor,
  44. fakeidentd, fallocate, false, fatattr, fbset, fbsplash, fdflush,
  45. fdformat, fdisk, fgconsole, fgrep, find, findfs, flock, fold, free,
  46. freeramdisk, fsck, fsck.minix, fsfreeze, fstrim, fsync, ftpd,
  47. ftpget, ftpput, fuser, getopt, getty, grep, groups, gunzip, gzip,
  48. halt, hd, hdparm, head, hexdump, hexedit, hostid, hostname, httpd,
  49. hush, hwclock, i2cdetect, i2cdump, i2cget, i2cset, id, ifconfig,
  50. ifdown, ifenslave, ifplugd, ifup, inetd, init, insmod, install,
  51. ionice, iostat, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, ipneigh,
  52. iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5, klogd,
  53. last, less, link, linux32, linux64, linuxrc, ln, loadfont, loadkmap,
  54. logger, login, logname, logread, losetup, lpd, lpq, lpr, ls, lsattr,
  55. lsmod, lsof, lspci, lsscsi, lsusb, lzcat, lzma, lzop, makedevs,
  56. makemime, man, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs,
  57. mkfifo, mkfs.ext2, mkfs.minix, mkfs.vfat, mknod, mkpasswd, mkswap,
  58. mktemp, modinfo, modprobe, more, mount, mountpoint, mpstat, mt, mv,
  59. nameif, nanddump, nandwrite, nbd-client, nc, netstat, nice, nl,
  60. nmeter, nohup, nproc, nsenter, nslookup, ntpd, nuke, od, openvt,
  61. partprobe, passwd, paste, patch, pgrep, pidof, ping, ping6,
  62. pipe_progress, pivot_root, pkill, pmap, popmaildir, poweroff,
  63. powertop, printenv, printf, ps, pscan, pstree, pwd, pwdx,
  64. raidautorun, rdate, rdev, readahead, readlink, readprofile,
  65. realpath, reboot, reformime, remove-shell, renice, reset, resize,
  66. resume, rev, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake,
  67. run-init, run-parts, runlevel, runsv, runsvdir, rx, script,
  68. scriptreplay, sed, sendmail, seq, setarch, setconsole, setfattr,
  69. setfont, setkeycodes, setlogcons, setpriv, setserial, setsid,
  70. setuidgid, sh, sha1sum, sha256sum, sha3sum, sha512sum, showkey,
  71. shred, shuf, slattach, sleep, smemcap, softlimit, sort, split,
  72. ssl_client, start-stop-daemon, stat, strings, stty, su, sulogin,
  73. sum, sv, svc, svlogd, swapoff, swapon, switch_root, sync, sysctl,
  74. syslogd, tac, tail, tar, taskset, tcpsvd, tee, telnet, telnetd,
  75. test, tftp, tftpd, time, timeout, top, touch, tr, traceroute,
  76. traceroute6, true, truncate, tty, ttysize, tunctl, ubiattach,
  77. ubidetach, ubimkvol, ubirename, ubirmvol, ubirsvol, ubiupdatevol,
  78. udhcpc, udhcpd, udpsvd, uevent, umount, uname, unexpand, uniq,
  79. unix2dos, unlink, unlzma, unshare, unxz, unzip, uptime, users,
  80. usleep, uudecode, uuencode, vconfig, vi, vlock, volname, w, wall,
  81. watch, watchdog, wc, wget, which, who, whoami, whois, xargs, xxd,
  82. xz, xzcat, yes, zcat, zcip</code></pre>
  83. <h1 id="COMMAND-DESCRIPTIONS">COMMAND DESCRIPTIONS</h1>
  84. <dl>
  85. <dt id="acpid"><b>acpid</b></dt>
  86. <dd>
  87. <p>acpid [-df] [-c CONFDIR] [-l LOGFILE] [-a ACTIONFILE] [-M MAPFILE] [-e PROC_EVENT_FILE] [-p PIDFILE]</p>
  88. <p>Listen to ACPI events and spawn specific helpers on event arrival</p>
  89. <pre><code> -d Log to stderr, not log file (implies -f)
  90. -f Run in foreground
  91. -c DIR Config directory [/etc/acpi]
  92. -e FILE /proc event file [/proc/acpi/event]
  93. -l FILE Log file [/var/log/acpid.log]
  94. -p FILE Pid file [/var/run/acpid.pid]
  95. -a FILE Action file [/etc/acpid.conf]
  96. -M FILE Map file [/etc/acpi.map]</code></pre>
  97. <p>Accept and ignore compatibility options -g -m -s -S -v</p>
  98. </dd>
  99. <dt id="add-shell"><b>add-shell</b></dt>
  100. <dd>
  101. <p>add-shell SHELL...</p>
  102. <p>Add SHELLs to /etc/shells</p>
  103. </dd>
  104. <dt id="addgroup"><b>addgroup</b></dt>
  105. <dd>
  106. <p>addgroup [-g GID] [-S] [USER] GROUP</p>
  107. <p>Add a group or add a user to a group</p>
  108. <pre><code> -g GID Group id
  109. -S Create a system group</code></pre>
  110. </dd>
  111. <dt id="adduser"><b>adduser</b></dt>
  112. <dd>
  113. <p>adduser [OPTIONS] USER [GROUP]</p>
  114. <p>Create new user, or add USER to GROUP</p>
  115. <pre><code> -h DIR Home directory
  116. -g GECOS GECOS field
  117. -s SHELL Login shell
  118. -G GRP Group
  119. -S Create a system user
  120. -D Don&#39;t assign a password
  121. -H Don&#39;t create home directory
  122. -u UID User id
  123. -k SKEL Skeleton directory (/etc/skel)</code></pre>
  124. </dd>
  125. <dt id="adjtimex"><b>adjtimex</b></dt>
  126. <dd>
  127. <p>adjtimex [-q] [-o OFF] [-f FREQ] [-p TCONST] [-t TICK]</p>
  128. <p>Read or set kernel time variables. See adjtimex(2)</p>
  129. <pre><code> -q Quiet
  130. -o OFF Time offset, microseconds
  131. -f FREQ Frequency adjust, integer kernel units (65536 is 1ppm)
  132. -t TICK Microseconds per tick, usually 10000
  133. (positive -t or -f values make clock run faster)
  134. -p TCONST</code></pre>
  135. </dd>
  136. <dt id="arch"><b>arch</b></dt>
  137. <dd>
  138. <p>arch</p>
  139. <p>Print system architecture</p>
  140. </dd>
  141. <dt id="arp"><b>arp</b></dt>
  142. <dd>
  143. <p>arp [-vn] [-H HWTYPE] [-i IF] -a [HOSTNAME] [-v] [-i IF] -d HOSTNAME [pub] [-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [temp] [-v] [-H HWTYPE] [-i IF] -s HOSTNAME HWADDR [netmask MASK] pub [-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub</p>
  144. <p>Manipulate ARP cache</p>
  145. <pre><code> -a Display (all) hosts
  146. -d Delete ARP entry
  147. -s Set new entry
  148. -v Verbose
  149. -n Don&#39;t resolve names
  150. -i IF Network interface
  151. -D Read HWADDR from IFACE
  152. -A,-p AF Protocol family
  153. -H HWTYPE Hardware address type</code></pre>
  154. </dd>
  155. <dt id="arping"><b>arping</b></dt>
  156. <dd>
  157. <p>arping [-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP</p>
  158. <p>Send ARP requests/replies</p>
  159. <pre><code> -f Quit on first ARP reply
  160. -q Quiet
  161. -b Keep broadcasting, don&#39;t go unicast
  162. -D Exit with 1 if DST_IP replies
  163. -U Unsolicited ARP mode, update your neighbors
  164. -A ARP answer mode, update your neighbors
  165. -c N Stop after sending N ARP requests
  166. -w TIMEOUT Seconds to wait for ARP reply
  167. -I IFACE Interface to use (default eth0)
  168. -s SRC_IP Sender IP address
  169. DST_IP Target IP address</code></pre>
  170. </dd>
  171. <dt id="ash"><b>ash</b></dt>
  172. <dd>
  173. <p>ash [-/+OPTIONS] [-/+o OPT]... [-c &#39;SCRIPT&#39; [ARG0 [ARGS]] / FILE [ARGS]]</p>
  174. <p>Unix shell interpreter</p>
  175. </dd>
  176. <dt id="awk"><b>awk</b></dt>
  177. <dd>
  178. <p>awk [OPTIONS] [AWK_PROGRAM] [FILE]...</p>
  179. <pre><code> -v VAR=VAL Set variable
  180. -F SEP Use SEP as field separator
  181. -f FILE Read program from FILE
  182. -e AWK_PROGRAM</code></pre>
  183. </dd>
  184. <dt id="base64"><b>base64</b></dt>
  185. <dd>
  186. <p>base64 [-d] [FILE]</p>
  187. <p>Base64 encode or decode FILE to standard output -d Decode data</p>
  188. </dd>
  189. <dt id="basename"><b>basename</b></dt>
  190. <dd>
  191. <p>basename FILE [SUFFIX]</p>
  192. <p>Strip directory path and .SUFFIX from FILE</p>
  193. </dd>
  194. <dt id="beep"><b>beep</b></dt>
  195. <dd>
  196. <p>beep -f FREQ -l LEN -d DELAY -r COUNT -n</p>
  197. <pre><code> -f Frequency in Hz
  198. -l Length in ms
  199. -d Delay in ms
  200. -r Repetitions
  201. -n Start new tone</code></pre>
  202. </dd>
  203. <dt id="blkdiscard"><b>blkdiscard</b></dt>
  204. <dd>
  205. <p>blkdiscard [-o OFS] [-l LEN] [-s] DEVICE</p>
  206. <p>Discard sectors on DEVICE</p>
  207. <pre><code> -o OFS Byte offset into device
  208. -l LEN Number of bytes to discard
  209. -s Perform a secure discard</code></pre>
  210. </dd>
  211. <dt id="blkid"><b>blkid</b></dt>
  212. <dd>
  213. <p>blkid [BLOCKDEV]...</p>
  214. <p>Print UUIDs of all filesystems</p>
  215. </dd>
  216. <dt id="blockdev"><b>blockdev</b></dt>
  217. <dd>
  218. <p>blockdev OPTION BLOCKDEV</p>
  219. <pre><code> --setro Set ro
  220. --setrw Set rw
  221. --getro Get ro
  222. --getss Get sector size
  223. --getbsz Get block size
  224. --setbsz BYTES Set block size
  225. --getsz Get device size in 512-byte sectors
  226. --getsize64 Get device size in bytes
  227. --flushbufs Flush buffers
  228. --rereadpt Reread partition table</code></pre>
  229. </dd>
  230. <dt id="bootchartd"><b>bootchartd</b></dt>
  231. <dd>
  232. <p>bootchartd start [PROG ARGS]|stop|init</p>
  233. <p>Create /var/log/bootchart.tgz with boot chart data</p>
  234. <p>start: start background logging; with PROG, run PROG, then kill logging with USR1 stop: send USR1 to all bootchartd processes init: start background logging; stop when getty/xdm is seen (for init scripts) Under PID 1: as init, then exec $bootchart_init, /init, /sbin/init</p>
  235. </dd>
  236. <dt id="brctl"><b>brctl</b></dt>
  237. <dd>
  238. <p>brctl COMMAND [BRIDGE [INTERFACE]]</p>
  239. <p>Manage ethernet bridges</p>
  240. <p>Commands:</p>
  241. <pre><code> show Show a list of bridges
  242. addbr BRIDGE Create BRIDGE
  243. delbr BRIDGE Delete BRIDGE
  244. addif BRIDGE IFACE Add IFACE to BRIDGE
  245. delif BRIDGE IFACE Delete IFACE from BRIDGE
  246. setageing BRIDGE TIME Set ageing time
  247. setfd BRIDGE TIME Set bridge forward delay
  248. sethello BRIDGE TIME Set hello time
  249. setmaxage BRIDGE TIME Set max message age
  250. setpathcost BRIDGE COST Set path cost
  251. setportprio BRIDGE PRIO Set port priority
  252. setbridgeprio BRIDGE PRIO Set bridge priority
  253. stp BRIDGE [1/yes/on|0/no/off] STP on/off</code></pre>
  254. </dd>
  255. <dt id="bunzip2"><b>bunzip2</b></dt>
  256. <dd>
  257. <p>bunzip2 [-cfk] [FILE]...</p>
  258. <p>Decompress FILEs (or stdin)</p>
  259. <pre><code> -c Write to stdout
  260. -f Force
  261. -k Keep input files</code></pre>
  262. </dd>
  263. <dt id="bzcat"><b>bzcat</b></dt>
  264. <dd>
  265. <p>bzcat [FILE]...</p>
  266. <p>Decompress to stdout</p>
  267. </dd>
  268. <dt id="bzip2"><b>bzip2</b></dt>
  269. <dd>
  270. <p>bzip2 [OPTIONS] [FILE]...</p>
  271. <p>Compress FILEs (or stdin) with bzip2 algorithm</p>
  272. <pre><code> -1..9 Compression level
  273. -d Decompress
  274. -t Test file integrity
  275. -c Write to stdout
  276. -f Force
  277. -k Keep input files</code></pre>
  278. </dd>
  279. <dt id="cal"><b>cal</b></dt>
  280. <dd>
  281. <p>cal [-jy] [[MONTH] YEAR]</p>
  282. <p>Display a calendar</p>
  283. <pre><code> -j Use julian dates
  284. -y Display the entire year</code></pre>
  285. </dd>
  286. <dt id="cat"><b>cat</b></dt>
  287. <dd>
  288. <p>cat [-nbvteA] [FILE]...</p>
  289. <p>Print FILEs to stdout</p>
  290. <pre><code> -n Number output lines
  291. -b Number nonempty lines
  292. -v Show nonprinting characters as ^x or M-x
  293. -t ...and tabs as ^I
  294. -e ...and end lines with $
  295. -A Same as -vte</code></pre>
  296. </dd>
  297. <dt id="chat"><b>chat</b></dt>
  298. <dd>
  299. <p>chat EXPECT [SEND [EXPECT [SEND...]]]</p>
  300. <p>Useful for interacting with a modem connected to stdin/stdout. A script consists of &quot;expect-send&quot; argument pairs. Example:</p>
  301. <p>chat &#39;&#39; ATZ OK ATD123456 CONNECT &#39;&#39; ogin: pppuser word: ppppass &#39;~&#39;</p>
  302. </dd>
  303. <dt id="chattr"><b>chattr</b></dt>
  304. <dd>
  305. <p>chattr [-R] [-v VERSION] [-+=AacDdijsStTu] FILE...</p>
  306. <p>Change ext2 file attributes</p>
  307. <pre><code> -R Recurse
  308. -v VER Set version/generation number
  309. Modifiers:
  310. -,+,= Remove/add/set attributes
  311. Attributes:
  312. A Don&#39;t track atime
  313. a Append mode only
  314. c Enable compress
  315. D Write dir contents synchronously
  316. d Don&#39;t backup with dump
  317. i Cannot be modified (immutable)
  318. j Write all data to journal first
  319. s Zero disk storage when deleted
  320. S Write synchronously
  321. t Disable tail-merging of partial blocks with other files
  322. u Allow file to be undeleted</code></pre>
  323. </dd>
  324. <dt id="chgrp"><b>chgrp</b></dt>
  325. <dd>
  326. <p>chgrp [-RhLHPcvf]... GROUP FILE...</p>
  327. <p>Change the group membership of each FILE to GROUP</p>
  328. <pre><code> -R Recurse
  329. -h Affect symlinks instead of symlink targets
  330. -L Traverse all symlinks to directories
  331. -H Traverse symlinks on command line only
  332. -P Don&#39;t traverse symlinks (default)
  333. -c List changed files
  334. -v Verbose
  335. -f Hide errors</code></pre>
  336. </dd>
  337. <dt id="chmod"><b>chmod</b></dt>
  338. <dd>
  339. <p>chmod [-Rcvf] MODE[,MODE]... FILE...</p>
  340. <p>Each MODE is one or more of the letters ugoa, one of the symbols +-= and one or more of the letters rwxst</p>
  341. <pre><code> -R Recurse
  342. -c List changed files
  343. -v List all files
  344. -f Hide errors</code></pre>
  345. </dd>
  346. <dt id="chown"><b>chown</b></dt>
  347. <dd>
  348. <p>chown [-RhLHPcvf]... USER[:[GRP]] FILE...</p>
  349. <p>Change the owner and/or group of each FILE to USER and/or GRP</p>
  350. <pre><code> -R Recurse
  351. -h Affect symlinks instead of symlink targets
  352. -L Traverse all symlinks to directories
  353. -H Traverse symlinks on command line only
  354. -P Don&#39;t traverse symlinks (default)
  355. -c List changed files
  356. -v List all files
  357. -f Hide errors</code></pre>
  358. </dd>
  359. <dt id="chpasswd"><b>chpasswd</b></dt>
  360. <dd>
  361. <p>chpasswd [--md5|--encrypted|--crypt-method]</p>
  362. <p>Read user:password from stdin and update /etc/passwd</p>
  363. <pre><code> -e,--encrypted Supplied passwords are in encrypted form
  364. -m,--md5 Eencrypt using md5, not des
  365. -c,--crypt-method ALG des,md5,sha256/512 (default des)</code></pre>
  366. </dd>
  367. <dt id="chpst"><b>chpst</b></dt>
  368. <dd>
  369. <p>chpst [-vP012] [-u USER[:GRP]] [-U USER[:GRP]] [-e DIR] [-/ DIR] [-n NICE] [-m BYTES] [-d BYTES] [-o N] [-p N] [-f BYTES] [-c BYTES] PROG ARGS</p>
  370. <p>Change the process state, run PROG</p>
  371. <pre><code> -u USER[:GRP] Set uid and gid
  372. -U USER[:GRP] Set $UID and $GID in environment
  373. -e DIR Set environment variables as specified by files
  374. in DIR: file=1st_line_of_file
  375. -/ DIR Chroot to DIR
  376. -n NICE Add NICE to nice value
  377. -m BYTES Same as -d BYTES -s BYTES -l BYTES
  378. -d BYTES Limit data segment
  379. -o N Limit number of open files per process
  380. -p N Limit number of processes per uid
  381. -f BYTES Limit output file sizes
  382. -c BYTES Limit core file size
  383. -v Verbose
  384. -P Create new process group
  385. -0 Close stdin
  386. -1 Close stdout
  387. -2 Close stderr</code></pre>
  388. </dd>
  389. <dt id="chroot"><b>chroot</b></dt>
  390. <dd>
  391. <p>chroot NEWROOT [PROG ARGS]</p>
  392. <p>Run PROG with root directory set to NEWROOT</p>
  393. </dd>
  394. <dt id="chrt"><b>chrt</b></dt>
  395. <dd>
  396. <p>chrt [-prfom] [PRIO] [PID | PROG ARGS]</p>
  397. <p>Change scheduling priority and class for a process</p>
  398. <pre><code> -p Operate on PID
  399. -r Set SCHED_RR class
  400. -f Set SCHED_FIFO class
  401. -o Set SCHED_OTHER class
  402. -m Show min/max priorities</code></pre>
  403. </dd>
  404. <dt id="chvt"><b>chvt</b></dt>
  405. <dd>
  406. <p>chvt N</p>
  407. <p>Change the foreground virtual terminal to /dev/ttyN</p>
  408. </dd>
  409. <dt id="cksum"><b>cksum</b></dt>
  410. <dd>
  411. <p>cksum FILE...</p>
  412. <p>Calculate the CRC32 checksums of FILEs</p>
  413. </dd>
  414. <dt id="clear"><b>clear</b></dt>
  415. <dd>
  416. <p>clear</p>
  417. <p>Clear screen</p>
  418. </dd>
  419. <dt id="cmp"><b>cmp</b></dt>
  420. <dd>
  421. <p>cmp [-l] [-s] FILE1 [FILE2 [SKIP1 [SKIP2]]]</p>
  422. <p>Compare FILE1 with FILE2 (or stdin)</p>
  423. <pre><code> -l Write the byte numbers (decimal) and values (octal)
  424. for all differing bytes
  425. -s Quiet</code></pre>
  426. </dd>
  427. <dt id="comm"><b>comm</b></dt>
  428. <dd>
  429. <p>comm [-123] FILE1 FILE2</p>
  430. <p>Compare FILE1 with FILE2</p>
  431. <pre><code> -1 Suppress lines unique to FILE1
  432. -2 Suppress lines unique to FILE2
  433. -3 Suppress lines common to both files</code></pre>
  434. </dd>
  435. <dt id="conspy"><b>conspy</b></dt>
  436. <dd>
  437. <p>conspy [-vcsndfFQ] [-x COL] [-y LINE] [CONSOLE_NO]</p>
  438. <p>A text-mode VNC like program for Linux virtual consoles. To exit, quickly press ESC 3 times.</p>
  439. <pre><code> -v Don&#39;t send keystrokes to the console
  440. -c Create missing /dev/{tty,vcsa}N
  441. -s Open a SHELL session
  442. -n Black &amp; white
  443. -d Dump console to stdout
  444. -f Follow cursor
  445. -F Assume console is on a framebuffer device
  446. -Q Disable exit on ESC-ESC-ESC
  447. -x COL Starting column
  448. -y LINE Starting line</code></pre>
  449. </dd>
  450. <dt id="cp"><b>cp</b></dt>
  451. <dd>
  452. <p>cp [OPTIONS] SOURCE... DEST</p>
  453. <p>Copy SOURCE(s) to DEST</p>
  454. <pre><code> -a Same as -dpR
  455. -R,-r Recurse
  456. -d,-P Preserve symlinks (default if -R)
  457. -L Follow all symlinks
  458. -H Follow symlinks on command line
  459. -p Preserve file attributes if possible
  460. -f Overwrite
  461. -i Prompt before overwrite
  462. -l,-s Create (sym)links
  463. -T Treat DEST as a normal file
  464. -u Copy only newer files</code></pre>
  465. </dd>
  466. <dt id="cpio"><b>cpio</b></dt>
  467. <dd>
  468. <p>cpio [-dmvu] [-F FILE] [-R USER[:GRP]] [-H newc] [-tio] [-p DIR] [EXTR_FILE]...</p>
  469. <p>Extract (-i) or list (-t) files from a cpio archive, or take file list from stdin and create an archive (-o) or copy files (-p)</p>
  470. <p>Main operation mode:</p>
  471. <pre><code> -t List
  472. -i Extract EXTR_FILEs (or all)
  473. -o Create (requires -H newc)
  474. -p DIR Copy files to DIR
  475. Options:
  476. -d Make leading directories
  477. -m Preserve mtime
  478. -v Verbose
  479. -u Overwrite
  480. -F FILE Input (-t,-i,-p) or output (-o) file
  481. -R USER[:GRP] Set owner of created files
  482. -H newc Archive format</code></pre>
  483. </dd>
  484. <dt id="crond"><b>crond</b></dt>
  485. <dd>
  486. <p>crond -fbS -l N -d N -L LOGFILE -c DIR</p>
  487. <pre><code> -f Foreground
  488. -b Background (default)
  489. -S Log to syslog (default)
  490. -l N Set log level. Most verbose 0, default 8
  491. -d N Set log level, log to stderr
  492. -L FILE Log to FILE
  493. -c DIR Cron dir. Default:/var/spool/cron/crontabs</code></pre>
  494. </dd>
  495. <dt id="crontab"><b>crontab</b></dt>
  496. <dd>
  497. <p>crontab [-c DIR] [-u USER] [-ler]|[FILE]</p>
  498. <pre><code> -c Crontab directory
  499. -u User
  500. -l List crontab
  501. -e Edit crontab
  502. -r Delete crontab
  503. FILE Replace crontab by FILE (&#39;-&#39;: stdin)</code></pre>
  504. </dd>
  505. <dt id="cryptpw"><b>cryptpw</b></dt>
  506. <dd>
  507. <p>cryptpw [OPTIONS] [PASSWORD] [SALT]</p>
  508. <p>Print crypt(3) hashed PASSWORD</p>
  509. <pre><code> -P,--password-fd N Read password from fd N
  510. -m,--method TYPE des,md5,sha256/512 (default des)
  511. -S,--salt SALT</code></pre>
  512. </dd>
  513. <dt id="cttyhack"><b>cttyhack</b></dt>
  514. <dd>
  515. <p>cttyhack [PROG ARGS]</p>
  516. <p>Give PROG a controlling tty if possible. Example for /etc/inittab (for busybox init): ::respawn:/bin/cttyhack /bin/sh Giving controlling tty to shell running with PID 1: $ exec cttyhack sh Starting interactive shell from boot shell script:</p>
  517. <pre><code> setsid cttyhack sh</code></pre>
  518. </dd>
  519. <dt id="cut"><b>cut</b></dt>
  520. <dd>
  521. <p>cut [OPTIONS] [FILE]...</p>
  522. <p>Print selected fields from each input FILE to stdout</p>
  523. <pre><code> -b LIST Output only bytes from LIST
  524. -c LIST Output only characters from LIST
  525. -d CHAR Use CHAR instead of tab as the field delimiter
  526. -s Output only the lines containing delimiter
  527. -f N Print only these fields
  528. -n Ignored</code></pre>
  529. </dd>
  530. <dt id="date"><b>date</b></dt>
  531. <dd>
  532. <p>date [OPTIONS] [+FMT] [TIME]</p>
  533. <p>Display time (using +FMT), or set time</p>
  534. <pre><code> [-s,--set] TIME Set time to TIME
  535. -u,--utc Work in UTC (don&#39;t convert to local time)
  536. -R,--rfc-2822 Output RFC-2822 compliant date string
  537. -I[SPEC] Output ISO-8601 compliant date string
  538. SPEC=&#39;date&#39; (default) for date only,
  539. &#39;hours&#39;, &#39;minutes&#39;, or &#39;seconds&#39; for date and
  540. time to the indicated precision
  541. -r,--reference FILE Display last modification time of FILE
  542. -d,--date TIME Display TIME, not &#39;now&#39;
  543. -D FMT Use FMT for -d TIME conversion</code></pre>
  544. <p>Recognized TIME formats:</p>
  545. <pre><code> hh:mm[:ss]
  546. [YYYY.]MM.DD-hh:mm[:ss]
  547. YYYY-MM-DD hh:mm[:ss]
  548. [[[[[YY]YY]MM]DD]hh]mm[.ss]
  549. &#39;date TIME&#39; form accepts MMDDhhmm[[YY]YY][.ss] instead</code></pre>
  550. </dd>
  551. <dt id="dc"><b>dc</b></dt>
  552. <dd>
  553. <p>dc EXPRESSION...</p>
  554. <p>Tiny RPN calculator. Operations: +, add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, xor, p - print top of the stack (without popping), f - print entire stack, o - pop the value and set output radix (must be 10, 16, 8 or 2). Examples: &#39;dc 2 2 add p&#39; -&gt; 4, &#39;dc 8 8 mul 2 2 + / p&#39; -&gt; 16</p>
  555. </dd>
  556. <dt id="dd"><b>dd</b></dt>
  557. <dd>
  558. <p>dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc|noerror|sync|fsync] [iflag=skip_bytes]</p>
  559. <p>Copy a file with converting and formatting</p>
  560. <pre><code> if=FILE Read from FILE instead of stdin
  561. of=FILE Write to FILE instead of stdout
  562. bs=N Read and write N bytes at a time
  563. ibs=N Read N bytes at a time
  564. obs=N Write N bytes at a time
  565. count=N Copy only N input blocks
  566. skip=N Skip N input blocks
  567. seek=N Skip N output blocks
  568. conv=notrunc Don&#39;t truncate output file
  569. conv=noerror Continue after read errors
  570. conv=sync Pad blocks with zeros
  571. conv=fsync Physically write data out before finishing
  572. conv=swab Swap every pair of bytes
  573. iflag=skip_bytes skip=N is in bytes
  574. status=noxfer Suppress rate output
  575. status=none Suppress all output</code></pre>
  576. <p>N may be suffixed by c (1), w (2), b (512), kB (1000), k (1024), MB, M, GB, G</p>
  577. </dd>
  578. <dt id="deallocvt"><b>deallocvt</b></dt>
  579. <dd>
  580. <p>deallocvt [N]</p>
  581. <p>Deallocate unused virtual terminal /dev/ttyN</p>
  582. </dd>
  583. <dt id="delgroup"><b>delgroup</b></dt>
  584. <dd>
  585. <p>delgroup [USER] GROUP</p>
  586. <p>Delete group GROUP from the system or user USER from group GROUP</p>
  587. </dd>
  588. <dt id="deluser"><b>deluser</b></dt>
  589. <dd>
  590. <p>deluser [--remove-home] USER</p>
  591. <p>Delete USER from the system</p>
  592. </dd>
  593. <dt id="depmod"><b>depmod</b></dt>
  594. <dd>
  595. <p>depmod [-n]</p>
  596. <p>Generate modules.dep.bb</p>
  597. <pre><code> -n Dry run: print file to stdout</code></pre>
  598. </dd>
  599. <dt id="devmem"><b>devmem</b></dt>
  600. <dd>
  601. <p>devmem ADDRESS [WIDTH [VALUE]]</p>
  602. <p>Read/write from physical address</p>
  603. <pre><code> ADDRESS Address to act upon
  604. WIDTH Width (8/16/...)
  605. VALUE Data to be written</code></pre>
  606. </dd>
  607. <dt id="df"><b>df</b></dt>
  608. <dd>
  609. <p>df [-PkmhTai] [-B SIZE] [FILESYSTEM]...</p>
  610. <p>Print filesystem usage statistics</p>
  611. <pre><code> -P POSIX output format
  612. -k 1024-byte blocks (default)
  613. -m 1M-byte blocks
  614. -h Human readable (e.g. 1K 243M 2G)
  615. -T Print filesystem type
  616. -a Show all filesystems
  617. -i Inodes
  618. -B SIZE Blocksize</code></pre>
  619. </dd>
  620. <dt id="dhcprelay"><b>dhcprelay</b></dt>
  621. <dd>
  622. <p>dhcprelay CLIENT_IFACE[,CLIENT_IFACE2]... SERVER_IFACE [SERVER_IP]</p>
  623. <p>Relay DHCP requests between clients and server</p>
  624. </dd>
  625. <dt id="diff"><b>diff</b></dt>
  626. <dd>
  627. <p>diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2</p>
  628. <p>Compare files line by line and output the differences between them. This implementation supports unified diffs only.</p>
  629. <pre><code> -a Treat all files as text
  630. -b Ignore changes in the amount of whitespace
  631. -B Ignore changes whose lines are all blank
  632. -d Try hard to find a smaller set of changes
  633. -i Ignore case differences
  634. -L Use LABEL instead of the filename in the unified header
  635. -N Treat absent files as empty
  636. -q Output only whether files differ
  637. -r Recurse
  638. -S Start with FILE when comparing directories
  639. -T Make tabs line up by prefixing a tab when necessary
  640. -s Report when two files are the same
  641. -t Expand tabs to spaces in output
  642. -U Output LINES lines of context
  643. -w Ignore all whitespace</code></pre>
  644. </dd>
  645. <dt id="dirname"><b>dirname</b></dt>
  646. <dd>
  647. <p>dirname FILENAME</p>
  648. <p>Strip non-directory suffix from FILENAME</p>
  649. </dd>
  650. <dt id="dmesg"><b>dmesg</b></dt>
  651. <dd>
  652. <p>dmesg [-c] [-n LEVEL] [-s SIZE]</p>
  653. <p>Print or control the kernel ring buffer</p>
  654. <pre><code> -c Clear ring buffer after printing
  655. -n LEVEL Set console logging level
  656. -s SIZE Buffer size
  657. -r Print raw message buffer</code></pre>
  658. </dd>
  659. <dt id="dnsd"><b>dnsd</b></dt>
  660. <dd>
  661. <p>dnsd [-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]</p>
  662. <p>Small static DNS server daemon</p>
  663. <pre><code> -c FILE Config file
  664. -t SEC TTL
  665. -p PORT Listen on PORT
  666. -i ADDR Listen on ADDR
  667. -d Daemonize
  668. -v Verbose
  669. -s Send successful replies only. Use this if you want
  670. to use /etc/resolv.conf with two nameserver lines:
  671. nameserver DNSD_SERVER
  672. nameserver NORMAL_DNS_SERVER</code></pre>
  673. </dd>
  674. <dt id="dos2unix"><b>dos2unix</b></dt>
  675. <dd>
  676. <p>dos2unix [-ud] [FILE]</p>
  677. <p>Convert FILE in-place from DOS to Unix format. When no file is given, use stdin/stdout.</p>
  678. <pre><code> -u dos2unix
  679. -d unix2dos</code></pre>
  680. </dd>
  681. <dt id="dpkg"><b>dpkg</b></dt>
  682. <dd>
  683. <p>dpkg [-ilCPru] [-F OPT] PACKAGE</p>
  684. <p>Install, remove and manage Debian packages</p>
  685. <pre><code> -i,--install Install the package
  686. -l,--list List of installed packages
  687. --configure Configure an unpackaged package
  688. -P,--purge Purge all files of a package
  689. -r,--remove Remove all but the configuration files for a package
  690. --unpack Unpack a package, but don&#39;t configure it
  691. --force-depends Ignore dependency problems
  692. --force-confnew Overwrite existing config files when installing
  693. --force-confold Keep old config files when installing</code></pre>
  694. </dd>
  695. <dt id="dpkg-deb"><b>dpkg-deb</b></dt>
  696. <dd>
  697. <p>dpkg-deb [-cefxX] FILE [DIR]</p>
  698. <p>Perform actions on Debian packages (.deb)</p>
  699. <pre><code> -c List files
  700. -f Print control fields
  701. -e Extract control files to DIR (default: ./DEBIAN)
  702. -x Extract files to DIR (no default)
  703. -X Verbose -x</code></pre>
  704. </dd>
  705. <dt id="du"><b>du</b></dt>
  706. <dd>
  707. <p>du [-aHLdclsxhmk] [FILE]...</p>
  708. <p>Summarize disk space used for each FILE and/or directory</p>
  709. <pre><code> -a Show file sizes too
  710. -L Follow all symlinks
  711. -H Follow symlinks on command line
  712. -d N Limit output to directories (and files with -a) of depth &lt; N
  713. -c Show grand total
  714. -l Count sizes many times if hard linked
  715. -s Display only a total for each argument
  716. -x Skip directories on different filesystems
  717. -h Sizes in human readable format (e.g., 1K 243M 2G)
  718. -m Sizes in megabytes
  719. -k Sizes in kilobytes (default)</code></pre>
  720. </dd>
  721. <dt id="dumpkmap"><b>dumpkmap</b></dt>
  722. <dd>
  723. <p>dumpkmap &gt; keymap</p>
  724. <p>Print a binary keyboard translation table to stdout</p>
  725. </dd>
  726. <dt id="dumpleases"><b>dumpleases</b></dt>
  727. <dd>
  728. <p>dumpleases [-r|-a] [-d] [-f LEASEFILE]</p>
  729. <p>Display DHCP leases granted by udhcpd</p>
  730. <pre><code> -f,--file FILE Lease file
  731. -r,--remaining Show remaining time
  732. -a,--absolute Show expiration time
  733. -d,--decimal Show time in seconds</code></pre>
  734. </dd>
  735. <dt id="echo"><b>echo</b></dt>
  736. <dd>
  737. <p>echo [-neE] [ARG]...</p>
  738. <p>Print the specified ARGs to stdout</p>
  739. <pre><code> -n Suppress trailing newline
  740. -e Interpret backslash escapes (i.e., \t=tab)
  741. -E Don&#39;t interpret backslash escapes (default)</code></pre>
  742. </dd>
  743. <dt id="ed"><b>ed</b></dt>
  744. <dd>
  745. <p>ed [FILE]</p>
  746. </dd>
  747. <dt id="eject"><b>eject</b></dt>
  748. <dd>
  749. <p>eject [-t] [-T] [DEVICE]</p>
  750. <p>Eject DEVICE or default /dev/cdrom</p>
  751. <pre><code> -s SCSI device
  752. -t Close tray
  753. -T Open/close tray (toggle)</code></pre>
  754. </dd>
  755. <dt id="env"><b>env</b></dt>
  756. <dd>
  757. <p>env [-iu] [-] [name=value]... [PROG ARGS]</p>
  758. <p>Print the current environment or run PROG after setting up the specified environment</p>
  759. <pre><code> -, -i Start with an empty environment
  760. -u Remove variable from the environment</code></pre>
  761. </dd>
  762. <dt id="envdir"><b>envdir</b></dt>
  763. <dd>
  764. <p>envdir DIR PROG ARGS</p>
  765. <p>Set various environment variables as specified by files in the directory DIR, run PROG</p>
  766. </dd>
  767. <dt id="envuidgid"><b>envuidgid</b></dt>
  768. <dd>
  769. <p>envuidgid USER PROG ARGS</p>
  770. <p>Set $UID to USER&#39;s uid and $GID to USER&#39;s gid, run PROG</p>
  771. </dd>
  772. <dt id="ether-wake"><b>ether-wake</b></dt>
  773. <dd>
  774. <p>ether-wake [-b] [-i IFACE] [-p aa:bb:cc:dd[:ee:ff]/a.b.c.d] MAC</p>
  775. <p>Send a magic packet to wake up sleeping machines. MAC must be a station address (00:11:22:33:44:55) or a hostname with a known &#39;ethers&#39; entry.</p>
  776. <pre><code> -b Broadcast the packet
  777. -i IFACE Interface to use (default eth0)
  778. -p PASSWORD Append four or six byte PASSWORD to the packet</code></pre>
  779. </dd>
  780. <dt id="expand"><b>expand</b></dt>
  781. <dd>
  782. <p>expand [-i] [-t N] [FILE]...</p>
  783. <p>Convert tabs to spaces, writing to stdout</p>
  784. <pre><code> -i Don&#39;t convert tabs after non blanks
  785. -t Tabstops every N chars</code></pre>
  786. </dd>
  787. <dt id="expr"><b>expr</b></dt>
  788. <dd>
  789. <p>expr EXPRESSION</p>
  790. <p>Print the value of EXPRESSION to stdout</p>
  791. <p>EXPRESSION may be:</p>
  792. <pre><code> ARG1 | ARG2 ARG1 if it is neither null nor 0, otherwise ARG2
  793. ARG1 &amp; ARG2 ARG1 if neither argument is null or 0, otherwise 0
  794. ARG1 &lt; ARG2 1 if ARG1 is less than ARG2, else 0. Similarly:
  795. ARG1 &lt;= ARG2
  796. ARG1 = ARG2
  797. ARG1 != ARG2
  798. ARG1 &gt;= ARG2
  799. ARG1 &gt; ARG2
  800. ARG1 + ARG2 Sum of ARG1 and ARG2. Similarly:
  801. ARG1 - ARG2
  802. ARG1 * ARG2
  803. ARG1 / ARG2
  804. ARG1 % ARG2
  805. STRING : REGEXP Anchored pattern match of REGEXP in STRING
  806. match STRING REGEXP Same as STRING : REGEXP
  807. substr STRING POS LENGTH Substring of STRING, POS counted from 1
  808. index STRING CHARS Index in STRING where any CHARS is found, or 0
  809. length STRING Length of STRING
  810. quote TOKEN Interpret TOKEN as a string, even if
  811. it is a keyword like &#39;match&#39; or an
  812. operator like &#39;/&#39;
  813. (EXPRESSION) Value of EXPRESSION</code></pre>
  814. <p>Beware that many operators need to be escaped or quoted for shells. Comparisons are arithmetic if both ARGs are numbers, else lexicographical. Pattern matches return the string matched between \( and \) or null; if \( and \) are not used, they return the number of characters matched or 0.</p>
  815. </dd>
  816. <dt id="factor"><b>factor</b></dt>
  817. <dd>
  818. <p>factor [NUMBER]...</p>
  819. <p>Print prime factors</p>
  820. </dd>
  821. <dt id="fakeidentd"><b>fakeidentd</b></dt>
  822. <dd>
  823. <p>fakeidentd [-fiw] [-b ADDR] [STRING]</p>
  824. <p>Provide fake ident (auth) service</p>
  825. <pre><code> -f Run in foreground
  826. -i Inetd mode
  827. -w Inetd &#39;wait&#39; mode
  828. -b ADDR Bind to specified address
  829. STRING Ident answer string (default: nobody)</code></pre>
  830. </dd>
  831. <dt id="fallocate"><b>fallocate</b></dt>
  832. <dd>
  833. <p>fallocate [-o OFS] -l LEN FILE</p>
  834. <p>Preallocate space for FILE</p>
  835. <pre><code> -o OFS Offset of range
  836. -l LEN Length of range</code></pre>
  837. </dd>
  838. <dt id="fatattr"><b>fatattr</b></dt>
  839. <dd>
  840. <p>fatattr [-+rhsvda] FILE...</p>
  841. <p>Change file attributes on FAT filesystem</p>
  842. <pre><code> - Clear attributes
  843. + Set attributes
  844. r Read only
  845. h Hidden
  846. s System
  847. v Volume label
  848. d Directory
  849. a Archive</code></pre>
  850. </dd>
  851. <dt id="fbset"><b>fbset</b></dt>
  852. <dd>
  853. <p>fbset [OPTIONS] [MODE]</p>
  854. <p>Show and modify frame buffer settings</p>
  855. </dd>
  856. <dt id="fbsplash"><b>fbsplash</b></dt>
  857. <dd>
  858. <p>fbsplash -s IMGFILE [-c] [-d DEV] [-i INIFILE] [-f CMD]</p>
  859. <pre><code> -s Image
  860. -c Hide cursor
  861. -d Framebuffer device (default /dev/fb0)
  862. -i Config file (var=value):
  863. BAR_LEFT,BAR_TOP,BAR_WIDTH,BAR_HEIGHT
  864. BAR_R,BAR_G,BAR_B
  865. -f Control pipe (else exit after drawing image)
  866. commands: &#39;NN&#39; (% for progress bar) or &#39;exit&#39;</code></pre>
  867. </dd>
  868. <dt id="fdflush"><b>fdflush</b></dt>
  869. <dd>
  870. <p>fdflush DEVICE</p>
  871. <p>Force floppy disk drive to detect disk change</p>
  872. </dd>
  873. <dt id="fdformat"><b>fdformat</b></dt>
  874. <dd>
  875. <p>fdformat [-n] DEVICE</p>
  876. <p>Format floppy disk</p>
  877. <pre><code> -n Don&#39;t verify after format</code></pre>
  878. </dd>
  879. <dt id="fdisk"><b>fdisk</b></dt>
  880. <dd>
  881. <p>fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK</p>
  882. <p>Change partition table</p>
  883. <pre><code> -u Start and End are in sectors (instead of cylinders)
  884. -l Show partition table for each DISK, then exit
  885. -b 2048 (for certain MO disks) use 2048-byte sectors
  886. -C CYLINDERS Set number of cylinders/heads/sectors
  887. -H HEADS Typically 255
  888. -S SECTORS Typically 63</code></pre>
  889. </dd>
  890. <dt id="fgconsole"><b>fgconsole</b></dt>
  891. <dd>
  892. <p>fgconsole</p>
  893. <p>Get active console</p>
  894. </dd>
  895. <dt id="find"><b>find</b></dt>
  896. <dd>
  897. <p>find [-HL] [PATH]... [OPTIONS] [ACTIONS]</p>
  898. <p>Search for files and perform actions on them. First failed action stops processing of current file. Defaults: PATH is current directory, action is &#39;-print&#39;</p>
  899. <pre><code> -L,-follow Follow symlinks
  900. -H ...on command line only
  901. -xdev Don&#39;t descend directories on other filesystems
  902. -maxdepth N Descend at most N levels. -maxdepth 0 applies
  903. actions to command line arguments only
  904. -mindepth N Don&#39;t act on first N levels
  905. -depth Act on directory *after* traversing it</code></pre>
  906. <p>Actions:</p>
  907. <pre><code> ( ACTIONS ) Group actions for -o / -a
  908. ! ACT Invert ACT&#39;s success/failure
  909. ACT1 [-a] ACT2 If ACT1 fails, stop, else do ACT2
  910. ACT1 -o ACT2 If ACT1 succeeds, stop, else do ACT2
  911. Note: -a has higher priority than -o
  912. -name PATTERN Match file name (w/o directory name) to PATTERN
  913. -iname PATTERN Case insensitive -name
  914. -path PATTERN Match path to PATTERN
  915. -ipath PATTERN Case insensitive -path
  916. -regex PATTERN Match path to regex PATTERN
  917. -type X File type is X (one of: f,d,l,b,c,...)
  918. -perm MASK At least one mask bit (+MASK), all bits (-MASK),
  919. or exactly MASK bits are set in file&#39;s mode
  920. -mtime DAYS mtime is greater than (+N), less than (-N),
  921. or exactly N days in the past
  922. -mmin MINS mtime is greater than (+N), less than (-N),
  923. or exactly N minutes in the past
  924. -newer FILE mtime is more recent than FILE&#39;s
  925. -inum N File has inode number N
  926. -user NAME/ID File is owned by given user
  927. -group NAME/ID File is owned by given group
  928. -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
  929. +/-N: file size is bigger/smaller than N
  930. -links N Number of links is greater than (+N), less than (-N),
  931. or exactly N
  932. -prune If current file is directory, don&#39;t descend into it
  933. If none of the following actions is specified, -print is assumed
  934. -print Print file name
  935. -print0 Print file name, NUL terminated
  936. -exec CMD ARG ; Run CMD with all instances of {} replaced by
  937. file name. Fails if CMD exits with nonzero
  938. -exec CMD ARG + Run CMD with {} replaced by list of file names
  939. -delete Delete current file/directory. Turns on -depth option</code></pre>
  940. </dd>
  941. <dt id="findfs"><b>findfs</b></dt>
  942. <dd>
  943. <p>findfs LABEL=label or UUID=uuid</p>
  944. <p>Find a filesystem device based on a label or UUID</p>
  945. </dd>
  946. <dt id="flock"><b>flock</b></dt>
  947. <dd>
  948. <p>flock [-sxun] FD|{FILE [-c] PROG ARGS}</p>
  949. <p>[Un]lock file descriptor, or lock FILE, run PROG</p>
  950. <pre><code> -s Shared lock
  951. -x Exclusive lock (default)
  952. -u Unlock FD
  953. -n Fail rather than wait</code></pre>
  954. </dd>
  955. <dt id="fold"><b>fold</b></dt>
  956. <dd>
  957. <p>fold [-bs] [-w WIDTH] [FILE]...</p>
  958. <p>Wrap input lines in each FILE (or stdin), writing to stdout</p>
  959. <pre><code> -b Count bytes rather than columns
  960. -s Break at spaces
  961. -w Use WIDTH columns instead of 80</code></pre>
  962. </dd>
  963. <dt id="free"><b>free</b></dt>
  964. <dd>
  965. <p>free [-b/k/m/g]</p>
  966. <p>Display the amount of free and used system memory</p>
  967. </dd>
  968. <dt id="freeramdisk"><b>freeramdisk</b></dt>
  969. <dd>
  970. <p>freeramdisk DEVICE</p>
  971. <p>Free all memory used by the specified ramdisk</p>
  972. </dd>
  973. <dt id="fsck"><b>fsck</b></dt>
  974. <dd>
  975. <p>fsck [-ANPRTV] [-t FSTYPE] [FS_OPTS] [BLOCKDEV]...</p>
  976. <p>Check and repair filesystems</p>
  977. <pre><code> -A Walk /etc/fstab and check all filesystems
  978. -N Don&#39;t execute, just show what would be done
  979. -P With -A, check filesystems in parallel
  980. -R With -A, skip the root filesystem
  981. -T Don&#39;t show title on startup
  982. -V Verbose
  983. -t TYPE List of filesystem types to check</code></pre>
  984. </dd>
  985. <dt id="fsck.minix"><b>fsck.minix</b></dt>
  986. <dd>
  987. <p>fsck.minix [-larvsmf] BLOCKDEV</p>
  988. <p>Check MINIX filesystem</p>
  989. <pre><code> -l List all filenames
  990. -r Perform interactive repairs
  991. -a Perform automatic repairs
  992. -v Verbose
  993. -s Output superblock information
  994. -m Show &quot;mode not cleared&quot; warnings
  995. -f Force file system check</code></pre>
  996. </dd>
  997. <dt id="fsfreeze"><b>fsfreeze</b></dt>
  998. <dd>
  999. <p>fsfreeze --[un]freeze MOUNTPOINT</p>
  1000. <p>Flush and halt writes to MOUNTPOINT</p>
  1001. </dd>
  1002. <dt id="fstrim"><b>fstrim</b></dt>
  1003. <dd>
  1004. <p>fstrim [OPTIONS] MOUNTPOINT</p>
  1005. <pre><code> -o,--offset OFFSET Offset in bytes to discard from
  1006. -l,--length LEN Bytes to discard
  1007. -m,--minimum MIN Minimum extent length
  1008. -v,--verbose Print number of discarded bytes</code></pre>
  1009. </dd>
  1010. <dt id="fsync"><b>fsync</b></dt>
  1011. <dd>
  1012. <p>fsync [-d] FILE...</p>
  1013. <p>Write files&#39; buffered blocks to disk</p>
  1014. <pre><code> -d Avoid syncing metadata</code></pre>
  1015. </dd>
  1016. <dt id="ftpd"><b>ftpd</b></dt>
  1017. <dd>
  1018. <p>ftpd [-wvS] [-a USER] [-t N] [-T N] [DIR]</p>
  1019. <p>FTP server. Chroots to DIR, if this fails (run by non-root), cds to it. Should be used as inetd service, inetd.conf line: 21 stream tcp nowait root ftpd ftpd /files/to/serve Can be run from tcpsvd:</p>
  1020. <pre><code> tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve
  1021. -w Allow upload
  1022. -a USER Enable &#39;anonymous&#39; login and map it to USER
  1023. -v Log errors to stderr. -vv: verbose log
  1024. -S Log errors to syslog. -SS: verbose log
  1025. -t,-T N Idle and absolute timeout</code></pre>
  1026. </dd>
  1027. <dt id="ftpget"><b>ftpget</b></dt>
  1028. <dd>
  1029. <p>ftpget [OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE</p>
  1030. <p>Download a file via FTP</p>
  1031. <pre><code> -c Continue previous transfer
  1032. -v Verbose
  1033. -u USER Username
  1034. -p PASS Password
  1035. -P NUM Port</code></pre>
  1036. </dd>
  1037. <dt id="ftpput"><b>ftpput</b></dt>
  1038. <dd>
  1039. <p>ftpput [OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE</p>
  1040. <p>Upload a file to a FTP server</p>
  1041. <pre><code> -v Verbose
  1042. -u USER Username
  1043. -p PASS Password
  1044. -P NUM Port number</code></pre>
  1045. </dd>
  1046. <dt id="fuser"><b>fuser</b></dt>
  1047. <dd>
  1048. <p>fuser [OPTIONS] FILE or PORT/PROTO</p>
  1049. <p>Find processes which use FILEs or PORTs</p>
  1050. <pre><code> -m Find processes which use same fs as FILEs
  1051. -4,-6 Search only IPv4/IPv6 space
  1052. -s Don&#39;t display PIDs
  1053. -k Kill found processes
  1054. -SIGNAL Signal to send (default: KILL)</code></pre>
  1055. </dd>
  1056. <dt id="getopt"><b>getopt</b></dt>
  1057. <dd>
  1058. <p>getopt [OPTIONS] [--] OPTSTRING PARAMS</p>
  1059. <pre><code> -a Allow long options starting with single -
  1060. -l LOPT[,...] Long options to recognize
  1061. -n PROGNAME The name under which errors are reported
  1062. -o OPTSTRING Short options to recognize
  1063. -q No error messages on unrecognized options
  1064. -Q No normal output
  1065. -s SHELL Set shell quoting conventions
  1066. -T Version test (exits with 4)
  1067. -u Don&#39;t quote output</code></pre>
  1068. <p>Example:</p>
  1069. <p>O=`getopt -l bb: -- ab:c:: &quot;$@&quot;` || exit 1 eval set -- &quot;$O&quot; while true; do case &quot;$1&quot; in -a) echo A; shift;; -b|--bb) echo &quot;B:&#39;$2&#39;&quot;; shift 2;; -c) case &quot;$2&quot; in &quot;&quot;) echo C; shift 2;; *) echo &quot;C:&#39;$2&#39;&quot;; shift 2;; esac;; --) shift; break;; *) echo Error; exit 1;; esac done</p>
  1070. </dd>
  1071. <dt id="getty"><b>getty</b></dt>
  1072. <dd>
  1073. <p>getty [OPTIONS] BAUD_RATE[,BAUD_RATE]... TTY [TERMTYPE]</p>
  1074. <p>Open TTY, prompt for login name, then invoke /bin/login</p>
  1075. <pre><code> -h Enable hardware RTS/CTS flow control
  1076. -L Set CLOCAL (ignore Carrier Detect state)
  1077. -m Get baud rate from modem&#39;s CONNECT status message
  1078. -n Don&#39;t prompt for login name
  1079. -w Wait for CR or LF before sending /etc/issue
  1080. -i Don&#39;t display /etc/issue
  1081. -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue
  1082. -l LOGIN Invoke LOGIN instead of /bin/login
  1083. -t SEC Terminate after SEC if no login name is read
  1084. -I INITSTR Send INITSTR before anything else
  1085. -H HOST Log HOST into the utmp file as the hostname</code></pre>
  1086. <p>BAUD_RATE of 0 leaves it unchanged</p>
  1087. </dd>
  1088. <dt id="grep"><b>grep</b></dt>
  1089. <dd>
  1090. <p>grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...</p>
  1091. <p>Search for PATTERN in FILEs (or stdin)</p>
  1092. <pre><code> -H Add &#39;filename:&#39; prefix
  1093. -h Do not add &#39;filename:&#39; prefix
  1094. -n Add &#39;line_no:&#39; prefix
  1095. -l Show only names of files that match
  1096. -L Show only names of files that don&#39;t match
  1097. -c Show only count of matching lines
  1098. -o Show only the matching part of line
  1099. -q Quiet. Return 0 if PATTERN is found, 1 otherwise
  1100. -v Select non-matching lines
  1101. -s Suppress open and read errors
  1102. -r Recurse
  1103. -i Ignore case
  1104. -w Match whole words only
  1105. -x Match whole lines only
  1106. -F PATTERN is a literal (not regexp)
  1107. -E PATTERN is an extended regexp
  1108. -m N Match up to N times per file
  1109. -A N Print N lines of trailing context
  1110. -B N Print N lines of leading context
  1111. -C N Same as &#39;-A N -B N&#39;
  1112. -e PTRN Pattern to match
  1113. -f FILE Read pattern from file</code></pre>
  1114. </dd>
  1115. <dt id="groups"><b>groups</b></dt>
  1116. <dd>
  1117. <p>groups [USER]</p>
  1118. <p>Print the group memberships of USER or for the current process</p>
  1119. </dd>
  1120. <dt id="gunzip"><b>gunzip</b></dt>
  1121. <dd>
  1122. <p>gunzip [-cfkt] [FILE]...</p>
  1123. <p>Decompress FILEs (or stdin)</p>
  1124. <pre><code> -c Write to stdout
  1125. -f Force
  1126. -k Keep input files
  1127. -t Test file integrity</code></pre>
  1128. </dd>
  1129. <dt id="gzip"><b>gzip</b></dt>
  1130. <dd>
  1131. <p>gzip [-cfkdt] [FILE]...</p>
  1132. <p>Compress FILEs (or stdin)</p>
  1133. <pre><code> -d Decompress
  1134. -t Test file integrity
  1135. -c Write to stdout
  1136. -f Force
  1137. -k Keep input files</code></pre>
  1138. </dd>
  1139. <dt id="halt"><b>halt</b></dt>
  1140. <dd>
  1141. <p>halt [-d DELAY] [-n] [-f] [-w]</p>
  1142. <p>Halt the system</p>
  1143. <pre><code> -d SEC Delay interval
  1144. -n Do not sync
  1145. -f Force (don&#39;t go through init)
  1146. -w Only write a wtmp record</code></pre>
  1147. </dd>
  1148. <dt id="hd"><b>hd</b></dt>
  1149. <dd>
  1150. <p>hd FILE...</p>
  1151. <p>hd is an alias for hexdump -C</p>
  1152. </dd>
  1153. <dt id="hdparm"><b>hdparm</b></dt>
  1154. <dd>
  1155. <p>hdparm [OPTIONS] [DEVICE]</p>
  1156. <pre><code> -a Get/set fs readahead
  1157. -A Set drive read-lookahead flag (0/1)
  1158. -b Get/set bus state (0 == off, 1 == on, 2 == tristate)
  1159. -B Set Advanced Power Management setting (1-255)
  1160. -c Get/set IDE 32-bit IO setting
  1161. -C Check IDE power mode status
  1162. -d Get/set using_dma flag
  1163. -D Enable/disable drive defect-mgmt
  1164. -f Flush buffer cache for device on exit
  1165. -g Display drive geometry
  1166. -h Display terse usage information
  1167. -i Display drive identification
  1168. -I Detailed/current information directly from drive
  1169. -k Get/set keep_settings_over_reset flag (0/1)
  1170. -K Set drive keep_features_over_reset flag (0/1)
  1171. -L Set drive doorlock (0/1) (removable harddisks only)
  1172. -m Get/set multiple sector count
  1173. -n Get/set ignore-write-errors flag (0/1)
  1174. -p Set PIO mode on IDE interface chipset (0,1,2,3,4,...)
  1175. -P Set drive prefetch count
  1176. -Q Get/set DMA tagged-queuing depth (if supported)
  1177. -r Get/set readonly flag (DANGEROUS to set)
  1178. -R Register an IDE interface (DANGEROUS)
  1179. -S Set standby (spindown) timeout
  1180. -t Perform device read timings
  1181. -T Perform cache read timings
  1182. -u Get/set unmaskirq flag (0/1)
  1183. -U Unregister an IDE interface (DANGEROUS)
  1184. -v Defaults; same as -mcudkrag for IDE drives
  1185. -V Display program version and exit immediately
  1186. -w Perform device reset (DANGEROUS)
  1187. -W Set drive write-caching flag (0/1) (DANGEROUS)
  1188. -x Tristate device for hotswap (0/1) (DANGEROUS)
  1189. -X Set IDE xfer mode (DANGEROUS)
  1190. -y Put IDE drive in standby mode
  1191. -Y Put IDE drive to sleep
  1192. -Z Disable Seagate auto-powersaving mode
  1193. -z Reread partition table</code></pre>
  1194. </dd>
  1195. <dt id="head"><b>head</b></dt>
  1196. <dd>
  1197. <p>head [OPTIONS] [FILE]...</p>
  1198. <p>Print first 10 lines of each FILE (or stdin) to stdout. With more than one FILE, precede each with a filename header.</p>
  1199. <pre><code> -n N[kbm] Print first N lines
  1200. -n -N[kbm] Print all except N last lines
  1201. -c [-]N[kbm] Print first N bytes
  1202. -q Never print headers
  1203. -v Always print headers</code></pre>
  1204. <p>N may be suffixed by k (x1024), b (x512), or m (x1024^2).</p>
  1205. </dd>
  1206. <dt id="hexdump"><b>hexdump</b></dt>
  1207. <dd>
  1208. <p>hexdump [-bcCdefnosvxR] [FILE]...</p>
  1209. <p>Display FILEs (or stdin) in a user specified format</p>
  1210. <pre><code> -b 1-byte octal display
  1211. -c 1-byte character display
  1212. -d 2-byte decimal display
  1213. -o 2-byte octal display
  1214. -x 2-byte hex display
  1215. -C hex+ASCII 16 bytes per line
  1216. -v Show all (no dup folding)
  1217. -e FORMAT_STR Example: &#39;16/1 &quot;%02x|&quot;&quot;\n&quot;&#39;
  1218. -f FORMAT_FILE
  1219. -n LENGTH Show only first LENGTH bytes
  1220. -s OFFSET Skip OFFSET bytes
  1221. -R Reverse of &#39;hexdump -Cv&#39;</code></pre>
  1222. </dd>
  1223. <dt id="hexedit"><b>hexedit</b></dt>
  1224. <dd>
  1225. <p>hexedit FILE</p>
  1226. <p>Edit FILE in hexadecimal</p>
  1227. </dd>
  1228. <dt id="hostid"><b>hostid</b></dt>
  1229. <dd>
  1230. <p>hostid</p>
  1231. <p>Print out a unique 32-bit identifier for the machine</p>
  1232. </dd>
  1233. <dt id="hostname"><b>hostname</b></dt>
  1234. <dd>
  1235. <p>hostname [OPTIONS] [HOSTNAME | -F FILE]</p>
  1236. <p>Get or set hostname or DNS domain name</p>
  1237. <pre><code> -s Short
  1238. -i Addresses for the hostname
  1239. -d DNS domain name
  1240. -f Fully qualified domain name
  1241. -F FILE Use FILE&#39;s content as hostname</code></pre>
  1242. </dd>
  1243. <dt id="httpd"><b>httpd</b></dt>
  1244. <dd>
  1245. <p>httpd [-ifv[v]] [-c CONFFILE] [-p [IP:]PORT] [-u USER[:GRP]] [-r REALM] [-h HOME] or httpd -d/-e/-m STRING</p>
  1246. <p>Listen for incoming HTTP requests</p>
  1247. <pre><code> -i Inetd mode
  1248. -f Don&#39;t daemonize
  1249. -v[v] Verbose
  1250. -p [IP:]PORT Bind to IP:PORT (default *:80)
  1251. -u USER[:GRP] Set uid/gid after binding to port
  1252. -r REALM Authentication Realm for Basic Authentication
  1253. -h HOME Home directory (default .)
  1254. -c FILE Configuration file (default {/etc,HOME}/httpd.conf)
  1255. -m STRING MD5 crypt STRING
  1256. -e STRING HTML encode STRING
  1257. -d STRING URL decode STRING</code></pre>
  1258. </dd>
  1259. <dt id="hush"><b>hush</b></dt>
  1260. <dd>
  1261. <p>hush [-enxl] [-c &#39;SCRIPT&#39; [ARG0 [ARGS]] / FILE [ARGS]]</p>
  1262. <p>Unix shell interpreter</p>
  1263. </dd>
  1264. <dt id="hwclock"><b>hwclock</b></dt>
  1265. <dd>
  1266. <p>hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [--systz] [--localtime] [-u|--utc] [-f|--rtc FILE]</p>
  1267. <p>Query and set hardware clock (RTC)</p>
  1268. <pre><code> -r Show hardware clock time
  1269. -s Set system time from hardware clock
  1270. -w Set hardware clock from system time
  1271. --systz Set in-kernel timezone, correct system time
  1272. if hardware clock is in local time
  1273. -u Assume hardware clock is kept in UTC
  1274. --localtime Assume hardware clock is kept in local time
  1275. -f FILE Use specified device (e.g. /dev/rtc2)</code></pre>
  1276. </dd>
  1277. <dt id="i2cdetect"><b>i2cdetect</b></dt>
  1278. <dd>
  1279. <p>i2cdetect -l | -F I2CBUS | [-ya] [-q|-r] I2CBUS [FIRST LAST]</p>
  1280. <p>Detect I2C chips</p>
  1281. <pre><code> -l List installed buses
  1282. -F BUS# List functionalities on this bus
  1283. -y Disable interactive mode
  1284. -a Force scanning of non-regular addresses
  1285. -q Use smbus quick write commands for probing (default)
  1286. -r Use smbus read byte commands for probing
  1287. FIRST and LAST limit probing range</code></pre>
  1288. </dd>
  1289. <dt id="i2cdump"><b>i2cdump</b></dt>
  1290. <dd>
  1291. <p>i2cdump [-fy] [-r FIRST-LAST] BUS ADDR [MODE]</p>
  1292. <p>Examine I2C registers</p>
  1293. <pre><code> I2CBUS I2C bus number
  1294. ADDRESS 0x03-0x77
  1295. MODE is:
  1296. b Byte (default)
  1297. w Word
  1298. W Word on even register addresses
  1299. i I2C block
  1300. s SMBus block
  1301. c Consecutive byte
  1302. Append p for SMBus PEC
  1303. -f Force access
  1304. -y Disable interactive mode
  1305. -r Limit the number of registers being accessed</code></pre>
  1306. </dd>
  1307. <dt id="i2cget"><b>i2cget</b></dt>
  1308. <dd>
  1309. <p>i2cget [-fy] BUS CHIP-ADDRESS [DATA-ADDRESS [MODE]]</p>
  1310. <p>Read from I2C/SMBus chip registers</p>
  1311. <pre><code> I2CBUS I2C bus number
  1312. ADDRESS 0x03-0x77
  1313. MODE is:
  1314. b Read byte data (default)
  1315. w Read word data
  1316. c Write byte/read byte
  1317. Append p for SMBus PEC
  1318. -f Force access
  1319. -y Disable interactive mode</code></pre>
  1320. </dd>
  1321. <dt id="i2cset"><b>i2cset</b></dt>
  1322. <dd>
  1323. <p>i2cset [-fy] [-m MASK] BUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]</p>
  1324. <p>Set I2C registers</p>
  1325. <pre><code> I2CBUS I2C bus number
  1326. ADDRESS 0x03-0x77
  1327. MODE is:
  1328. c Byte, no value
  1329. b Byte data (default)
  1330. w Word data
  1331. i I2C block data
  1332. s SMBus block data
  1333. Append p for SMBus PEC
  1334. -f Force access
  1335. -y Disable interactive mode
  1336. -r Read back and compare the result
  1337. -m MASK Mask specifying which bits to write</code></pre>
  1338. </dd>
  1339. <dt id="id"><b>id</b></dt>
  1340. <dd>
  1341. <p>id [OPTIONS] [USER]</p>
  1342. <p>Print information about USER or the current user</p>
  1343. <pre><code> -u User ID
  1344. -g Group ID
  1345. -G Supplementary group IDs
  1346. -n Print names instead of numbers
  1347. -r Print real ID instead of effective ID</code></pre>
  1348. </dd>
  1349. <dt id="ifconfig"><b>ifconfig</b></dt>
  1350. <dd>
  1351. <p>ifconfig [-a] interface [address]</p>
  1352. <p>Configure a network interface</p>
  1353. <pre><code> [add ADDRESS[/PREFIXLEN]]
  1354. [del ADDRESS[/PREFIXLEN]]
  1355. [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]
  1356. [netmask ADDRESS] [dstaddr ADDRESS]
  1357. [outfill NN] [keepalive NN]
  1358. [hw ether|infiniband ADDRESS] [metric NN] [mtu NN]
  1359. [[-]trailers] [[-]arp] [[-]allmulti]
  1360. [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]
  1361. [mem_start NN] [io_addr NN] [irq NN]
  1362. [up|down] ...</code></pre>
  1363. </dd>
  1364. <dt id="ifdown"><b>ifdown</b></dt>
  1365. <dd>
  1366. <p>ifdown [-anmvf] [-i FILE] IFACE...</p>
  1367. <pre><code> -a Deconfigure all interfaces
  1368. -i FILE Use FILE for interface definitions
  1369. -n Print out what would happen, but don&#39;t do it
  1370. (note: doesn&#39;t disable mappings)
  1371. -m Don&#39;t run any mappings
  1372. -v Print out what would happen before doing it
  1373. -f Force deconfiguration</code></pre>
  1374. </dd>
  1375. <dt id="ifenslave"><b>ifenslave</b></dt>
  1376. <dd>
  1377. <p>ifenslave [-cdf] MASTER_IFACE SLAVE_IFACE...</p>
  1378. <p>Configure network interfaces for parallel routing</p>
  1379. <pre><code> -c Change active slave
  1380. -d Remove slave interface from bonding device
  1381. -f Force, even if interface is not Ethernet</code></pre>
  1382. </dd>
  1383. <dt id="ifplugd"><b>ifplugd</b></dt>
  1384. <dd>
  1385. <p>ifplugd [OPTIONS]</p>
  1386. <p>Network interface plug detection daemon</p>
  1387. <pre><code> -n Don&#39;t daemonize
  1388. -s Don&#39;t log to syslog
  1389. -i IFACE Interface
  1390. -f/-F Treat link detection error as link down/link up
  1391. (otherwise exit on error)
  1392. -a Don&#39;t up interface at each link probe
  1393. -M Monitor creation/destruction of interface
  1394. (otherwise it must exist)
  1395. -r PROG Script to run
  1396. -x ARG Extra argument for script
  1397. -I Don&#39;t exit on nonzero exit code from script
  1398. -p Don&#39;t run &quot;up&quot; script on startup
  1399. -q Don&#39;t run &quot;down&quot; script on exit
  1400. -l Always run script on startup
  1401. -t SECS Poll time in seconds
  1402. -u SECS Delay before running script after link up
  1403. -d SECS Delay after link down
  1404. -m MODE API mode (mii, priv, ethtool, wlan, iff, auto)
  1405. -k Kill running daemon</code></pre>
  1406. </dd>
  1407. <dt id="ifup"><b>ifup</b></dt>
  1408. <dd>
  1409. <p>ifup [-anmvf] [-i FILE] IFACE...</p>
  1410. <pre><code> -a Configure all interfaces
  1411. -i FILE Use FILE instead of /etc/network/interfaces
  1412. -n Print out what would happen, but don&#39;t do it
  1413. (note: doesn&#39;t disable mappings)
  1414. -m Don&#39;t run any mappings
  1415. -v Print out what would happen before doing it
  1416. -f Force configuration</code></pre>
  1417. </dd>
  1418. <dt id="inetd"><b>inetd</b></dt>
  1419. <dd>
  1420. <p>inetd [-fe] [-q N] [-R N] [CONFFILE]</p>
  1421. <p>Listen for network connections and launch programs</p>
  1422. <pre><code> -f Run in foreground
  1423. -e Log to stderr
  1424. -q N Socket listen queue (default 128)
  1425. -R N Pause services after N connects/min
  1426. (default 0 - disabled)
  1427. Default CONFFILE is /etc/inetd.conf</code></pre>
  1428. </dd>
  1429. <dt id="init"><b>init</b></dt>
  1430. <dd>
  1431. <p>init</p>
  1432. <p>Init is the first process started during boot. It never exits. It (re)spawns children according to /etc/inittab.</p>
  1433. </dd>
  1434. <dt id="insmod"><b>insmod</b></dt>
  1435. <dd>
  1436. <p>insmod FILE [SYMBOL=VALUE]...</p>
  1437. <p>Load kernel module</p>
  1438. </dd>
  1439. <dt id="install"><b>install</b></dt>
  1440. <dd>
  1441. <p>install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]... DEST</p>
  1442. <p>Copy files and set attributes</p>
  1443. <pre><code> -c Just copy (default)
  1444. -d Create directories
  1445. -D Create leading target directories
  1446. -s Strip symbol table
  1447. -p Preserve date
  1448. -o USER Set ownership
  1449. -g GRP Set group ownership
  1450. -m MODE Set permissions
  1451. -t DIR Install to DIR</code></pre>
  1452. </dd>
  1453. <dt id="ionice"><b>ionice</b></dt>
  1454. <dd>
  1455. <p>ionice [-c 1-3] [-n 0-7] [-p PID] [PROG]</p>
  1456. <p>Change I/O priority and class</p>
  1457. <pre><code> -c Class. 1:realtime 2:best-effort 3:idle
  1458. -n Priority</code></pre>
  1459. </dd>
  1460. <dt id="iostat"><b>iostat</b></dt>
  1461. <dd>
  1462. <p>iostat [-c] [-d] [-t] [-z] [-k|-m] [ALL|BLOCKDEV...] [INTERVAL [COUNT]]</p>
  1463. <p>Report CPU and I/O statistics</p>
  1464. <pre><code> -c Show CPU utilization
  1465. -d Show device utilization
  1466. -t Print current time
  1467. -z Omit devices with no activity
  1468. -k Use kb/s
  1469. -m Use Mb/s</code></pre>
  1470. </dd>
  1471. <dt id="ip"><b>ip</b></dt>
  1472. <dd>
  1473. <p>ip [OPTIONS] address|route|link|tunnel|neigh|rule [COMMAND]</p>
  1474. <p>OPTIONS := -f[amily] inet|inet6|link | -o[neline] COMMAND := ip addr add|del IFADDR dev IFACE | show|flush [dev IFACE] [to PREFIX] ip route list|flush|add|del|change|append|replace|test ROUTE ip link set IFACE [up|down] [arp on|off] | show [IFACE] ip tunnel add|change|del|show [NAME] [mode ipip|gre|sit] [remote ADDR] [local ADDR] [ttl TTL] ip neigh show|flush [to PREFIX] [dev DEV] [nud STATE] ip rule [list] | add|del SELECTOR ACTION</p>
  1475. </dd>
  1476. <dt id="ipaddr"><b>ipaddr</b></dt>
  1477. <dd>
  1478. <p>ipaddr add|del IFADDR dev IFACE | show|flush [dev IFACE] [to PREFIX]</p>
  1479. <p>ipaddr add|change|replace|delete dev IFACE IFADDR IFADDR := PREFIX | ADDR peer PREFIX [broadcast ADDR|+|-] [anycast ADDR] [label STRING] [scope SCOPE] PREFIX := ADDR[/MASK] SCOPE := [host|link|global|NUMBER] ipaddr show|flush [dev IFACE] [scope SCOPE] [to PREFIX] [label PATTERN]</p>
  1480. </dd>
  1481. <dt id="ipcalc"><b>ipcalc</b></dt>
  1482. <dd>
  1483. <p>ipcalc [OPTIONS] ADDRESS[/PREFIX] [NETMASK]</p>
  1484. <p>Calculate and display network settings from IP address</p>
  1485. <pre><code> -b Broadcast address
  1486. -n Network address
  1487. -m Default netmask for IP
  1488. -p Prefix for IP/NETMASK
  1489. -h Resolved host name
  1490. -s No error messages</code></pre>
  1491. </dd>
  1492. <dt id="ipcrm"><b>ipcrm</b></dt>
  1493. <dd>
  1494. <p>ipcrm [-MQS key] [-mqs id]</p>
  1495. <p>Upper-case options MQS remove an object by shmkey value. Lower-case options remove an object by shmid value.</p>
  1496. <pre><code> -mM Remove memory segment after last detach
  1497. -qQ Remove message queue
  1498. -sS Remove semaphore</code></pre>
  1499. </dd>
  1500. <dt id="ipcs"><b>ipcs</b></dt>
  1501. <dd>
  1502. <p>ipcs [[-smq] -i shmid] | [[-asmq] [-tcplu]]</p>
  1503. <pre><code> -i Show specific resource
  1504. Resource specification:
  1505. -m Shared memory segments
  1506. -q Message queues
  1507. -s Semaphore arrays
  1508. -a All (default)
  1509. Output format:
  1510. -t Time
  1511. -c Creator
  1512. -p Pid
  1513. -l Limits
  1514. -u Summary</code></pre>
  1515. </dd>
  1516. <dt id="iplink"><b>iplink</b></dt>
  1517. <dd>
  1518. <p>iplink set IFACE [up|down] [arp on|off] | show [IFACE]</p>
  1519. <p>iplink set IFACE [up|down] [arp on|off] [multicast on|off] [promisc on|off] [mtu NUM] [name NAME] [qlen NUM] [address MAC] iplink show [IFACE]</p>
  1520. </dd>
  1521. <dt id="ipneigh"><b>ipneigh</b></dt>
  1522. <dd>
  1523. <p>ipneigh show|flush [to PREFIX] [dev DEV] [nud STATE]</p>
  1524. </dd>
  1525. <dt id="iproute"><b>iproute</b></dt>
  1526. <dd>
  1527. <p>iproute list|flush|add|del|change|append|replace|test ROUTE</p>
  1528. <p>iproute list|flush SELECTOR SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO] PREFIX := default|ADDR[/MASK] iproute get ADDR [from ADDR iif IFACE] [oif IFACE] [tos TOS] iproute add|del|change|append|replace|test ROUTE ROUTE := NODE_SPEC [INFO_SPEC] NODE_SPEC := PREFIX [table TABLE_ID] [proto RTPROTO] [scope SCOPE] [metric METRIC] INFO_SPEC := NH OPTIONS NH := [via [inet|inet6] ADDR] [dev IFACE] [src ADDR] [onlink] OPTIONS := [mtu [lock] NUM] [advmss [lock] NUM]</p>
  1529. </dd>
  1530. <dt id="iprule"><b>iprule</b></dt>
  1531. <dd>
  1532. <p>iprule [list] | add|del SELECTOR ACTION</p>
  1533. <pre><code> SELECTOR := [from PREFIX] [to PREFIX] [tos TOS] [fwmark FWMARK]
  1534. [dev IFACE] [pref NUMBER]
  1535. ACTION := [table TABLE_ID] [nat ADDR]
  1536. [prohibit|reject|unreachable]
  1537. [realms [SRCREALM/]DSTREALM]
  1538. TABLE_ID := [local|main|default|NUMBER]</code></pre>
  1539. </dd>
  1540. <dt id="iptunnel"><b>iptunnel</b></dt>
  1541. <dd>
  1542. <p>iptunnel add|change|del|show [NAME] [mode ipip|gre|sit] [remote ADDR] [local ADDR] [ttl TTL]</p>
  1543. <p>iptunnel add|change|del|show [NAME] [mode ipip|gre|sit] [remote ADDR] [local ADDR] [[i|o]seq] [[i|o]key KEY] [[i|o]csum] [ttl TTL] [tos TOS] [[no]pmtudisc] [dev PHYS_DEV]</p>
  1544. </dd>
  1545. <dt id="kbd_mode"><b>kbd_mode</b></dt>
  1546. <dd>
  1547. <p>kbd_mode [-a|k|s|u] [-C TTY]</p>
  1548. <p>Report or set VT console keyboard mode</p>
  1549. <pre><code> -a Default (ASCII)
  1550. -k Medium-raw (keycode)
  1551. -s Raw (scancode)
  1552. -u Unicode (utf-8)
  1553. -C TTY Affect TTY</code></pre>
  1554. </dd>
  1555. <dt id="kill"><b>kill</b></dt>
  1556. <dd>
  1557. <p>kill [-l] [-SIG] PID...</p>
  1558. <p>Send a signal (default: TERM) to given PIDs</p>
  1559. <pre><code> -l List all signal names and numbers</code></pre>
  1560. </dd>
  1561. <dt id="killall"><b>killall</b></dt>
  1562. <dd>
  1563. <p>killall [-l] [-q] [-SIG] PROCESS_NAME...</p>
  1564. <p>Send a signal (default: TERM) to given processes</p>
  1565. <pre><code> -l List all signal names and numbers
  1566. -q Don&#39;t complain if no processes were killed</code></pre>
  1567. </dd>
  1568. <dt id="killall5"><b>killall5</b></dt>
  1569. <dd>
  1570. <p>killall5 [-l] [-SIG] [-o PID]...</p>
  1571. <p>Send a signal (default: TERM) to all processes outside current session</p>
  1572. <pre><code> -l List all signal names and numbers
  1573. -o PID Don&#39;t signal this PID</code></pre>
  1574. </dd>
  1575. <dt id="klogd"><b>klogd</b></dt>
  1576. <dd>
  1577. <p>klogd [-c N] [-n]</p>
  1578. <p>Kernel logger</p>
  1579. <pre><code> -c N Print to console messages more urgent than prio N (1-8)
  1580. -n Run in foreground</code></pre>
  1581. </dd>
  1582. <dt id="last"><b>last</b></dt>
  1583. <dd>
  1584. <p>last [-HW] [-f FILE]</p>
  1585. <p>Show listing of the last users that logged into the system</p>
  1586. <pre><code> -W Display with no host column truncation
  1587. -f FILE Read from FILE instead of /var/log/wtmp</code></pre>
  1588. </dd>
  1589. <dt id="less"><b>less</b></dt>
  1590. <dd>
  1591. <p>less [-EIMmNSh~] [FILE]...</p>
  1592. <p>View FILE (or stdin) one screenful at a time</p>
  1593. <pre><code> -E Quit once the end of a file is reached
  1594. -I Ignore case in all searches
  1595. -M,-m Display status line with line numbers
  1596. and percentage through the file
  1597. -N Prefix line number to each line
  1598. -S Truncate long lines
  1599. -~ Suppress ~s displayed past EOF</code></pre>
  1600. </dd>
  1601. <dt id="link"><b>link</b></dt>
  1602. <dd>
  1603. <p>link FILE LINK</p>
  1604. <p>Create hard LINK to FILE</p>
  1605. </dd>
  1606. <dt id="ln"><b>ln</b></dt>
  1607. <dd>
  1608. <p>ln [OPTIONS] TARGET... LINK|DIR</p>
  1609. <p>Create a link LINK or DIR/TARGET to the specified TARGET(s)</p>
  1610. <pre><code> -s Make symlinks instead of hardlinks
  1611. -f Remove existing destinations
  1612. -n Don&#39;t dereference symlinks - treat like normal file
  1613. -b Make a backup of the target (if exists) before link operation
  1614. -S suf Use suffix instead of ~ when making backup files
  1615. -T 2nd arg must be a DIR
  1616. -v Verbose</code></pre>
  1617. </dd>
  1618. <dt id="loadfont"><b>loadfont</b></dt>
  1619. <dd>
  1620. <p>loadfont &lt; font</p>
  1621. <p>Load a console font from stdin</p>
  1622. </dd>
  1623. <dt id="loadkmap"><b>loadkmap</b></dt>
  1624. <dd>
  1625. <p>loadkmap &lt; keymap</p>
  1626. <p>Load a binary keyboard translation table from stdin</p>
  1627. </dd>
  1628. <dt id="logger"><b>logger</b></dt>
  1629. <dd>
  1630. <p>logger [OPTIONS] [MESSAGE]</p>
  1631. <p>Write MESSAGE (or stdin) to syslog</p>
  1632. <pre><code> -s Log to stderr as well as the system log
  1633. -t TAG Log using the specified tag (defaults to user name)
  1634. -p PRIO Priority (numeric or facility.level pair)</code></pre>
  1635. </dd>
  1636. <dt id="login"><b>login</b></dt>
  1637. <dd>
  1638. <p>login [-p] [-h HOST] [[-f] USER]</p>
  1639. <p>Begin a new session on the system</p>
  1640. <pre><code> -f Don&#39;t authenticate (user already authenticated)
  1641. -h HOST Host user came from (for network logins)
  1642. -p Preserve environment</code></pre>
  1643. </dd>
  1644. <dt id="logname"><b>logname</b></dt>
  1645. <dd>
  1646. <p>logname</p>
  1647. <p>Print the name of the current user</p>
  1648. </dd>
  1649. <dt id="logread"><b>logread</b></dt>
  1650. <dd>
  1651. <p>logread [-fF]</p>
  1652. <p>Show messages in syslogd&#39;s circular buffer</p>
  1653. <pre><code> -f Output data as log grows
  1654. -F Same as -f, but dump buffer first</code></pre>
  1655. </dd>
  1656. <dt id="losetup"><b>losetup</b></dt>
  1657. <dd>
  1658. <p>losetup [-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices losetup -d LOOPDEV - disassociate losetup -a - show status losetup -f - show next free loop device</p>
  1659. <pre><code> -o OFS Start OFS bytes into FILE
  1660. -r Read-only
  1661. -f Show/use next free loop device</code></pre>
  1662. </dd>
  1663. <dt id="lpd"><b>lpd</b></dt>
  1664. <dd>
  1665. <p>lpd SPOOLDIR [HELPER [ARGS]]</p>
  1666. <p>SPOOLDIR must contain (symlinks to) device nodes or directories with names matching print queue names. In the first case, jobs are sent directly to the device. Otherwise each job is stored in queue directory and HELPER program is called. Name of file to print is passed in $DATAFILE variable. Example:</p>
  1667. <pre><code> tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print</code></pre>
  1668. </dd>
  1669. <dt id="lpq"><b>lpq</b></dt>
  1670. <dd>
  1671. <p>lpq [-P queue[@host[:port]]] [-U USERNAME] [-d JOBID]... [-fs]</p>
  1672. <pre><code> -P lp service to connect to (else uses $PRINTER)
  1673. -d Delete jobs
  1674. -f Force any waiting job to be printed
  1675. -s Short display</code></pre>
  1676. </dd>
  1677. <dt id="lpr"><b>lpr</b></dt>
  1678. <dd>
  1679. <p>lpr -P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE]...</p>
  1680. <pre><code> -P lp service to connect to (else uses $PRINTER)
  1681. -m Send mail on completion
  1682. -h Print banner page too
  1683. -V Verbose</code></pre>
  1684. </dd>
  1685. <dt id="ls"><b>ls</b></dt>
  1686. <dd>
  1687. <p>ls [-1AaCxdLHRFplinshrSXvctu] [-w WIDTH] [FILE]...</p>
  1688. <p>List directory contents</p>
  1689. <pre><code> -1 One column output
  1690. -a Include entries which start with .
  1691. -A Like -a, but exclude . and ..
  1692. -x List by lines
  1693. -d List directory entries instead of contents
  1694. -L Follow symlinks
  1695. -H Follow symlinks on command line
  1696. -R Recurse
  1697. -p Append / to dir entries
  1698. -F Append indicator (one of */=@|) to entries
  1699. -l Long listing format
  1700. -i List inode numbers
  1701. -n List numeric UIDs and GIDs instead of names
  1702. -s List allocated blocks
  1703. -lc List ctime
  1704. -lu List atime
  1705. --full-time List full date and time
  1706. -h Human readable sizes (1K 243M 2G)
  1707. --group-directories-first
  1708. -S Sort by size
  1709. -X Sort by extension
  1710. -v Sort by version
  1711. -t Sort by mtime
  1712. -tc Sort by ctime
  1713. -tu Sort by atime
  1714. -r Reverse sort order
  1715. -w N Format N columns wide
  1716. --color[={always,never,auto}] Control coloring</code></pre>
  1717. </dd>
  1718. <dt id="lsattr"><b>lsattr</b></dt>
  1719. <dd>
  1720. <p>lsattr [-Radlv] [FILE]...</p>
  1721. <p>List ext2 file attributes</p>
  1722. <pre><code> -R Recurse
  1723. -a Don&#39;t hide entries starting with .
  1724. -d List directory entries instead of contents
  1725. -l List long flag names
  1726. -v List version/generation number</code></pre>
  1727. </dd>
  1728. <dt id="lsmod"><b>lsmod</b></dt>
  1729. <dd>
  1730. <p>lsmod</p>
  1731. <p>List loaded kernel modules</p>
  1732. </dd>
  1733. <dt id="lsof"><b>lsof</b></dt>
  1734. <dd>
  1735. <p>lsof</p>
  1736. <p>Show all open files</p>
  1737. </dd>
  1738. <dt id="lspci"><b>lspci</b></dt>
  1739. <dd>
  1740. <p>lspci [-mk]</p>
  1741. <p>List all PCI devices</p>
  1742. <pre><code> -m Parsable output
  1743. -k Show driver</code></pre>
  1744. </dd>
  1745. <dt id="lzcat"><b>lzcat</b></dt>
  1746. <dd>
  1747. <p>lzcat [FILE]...</p>
  1748. <p>Decompress to stdout</p>
  1749. </dd>
  1750. <dt id="lzma"><b>lzma</b></dt>
  1751. <dd>
  1752. <p>lzma -d [-cfk] [FILE]...</p>
  1753. <p>Decompress FILE (or stdin)</p>
  1754. <pre><code> -d Decompress
  1755. -c Write to stdout
  1756. -f Force
  1757. -k Keep input files</code></pre>
  1758. </dd>
  1759. <dt id="lzop"><b>lzop</b></dt>
  1760. <dd>
  1761. <p>lzop [-cfUvd123456789CF] [FILE]...</p>
  1762. <pre><code> -1..9 Compression level
  1763. -d Decompress
  1764. -c Write to stdout
  1765. -f Force
  1766. -U Delete input files
  1767. -v Verbose
  1768. -F Don&#39;t store or verify checksum
  1769. -C Also write checksum of compressed block</code></pre>
  1770. </dd>
  1771. <dt id="makedevs"><b>makedevs</b></dt>
  1772. <dd>
  1773. <p>makedevs [-d device_table] rootdir</p>
  1774. <p>Create a range of special files as specified in a device table. Device table entries take the form of:</p>
  1775. <p>&lt;name&gt; &lt;type&gt; &lt;mode&gt; &lt;uid&gt; &lt;gid&gt; &lt;major&gt; &lt;minor&gt; &lt;start&gt; &lt;inc&gt; &lt;count&gt; Where name is the file name, type can be one of: f Regular file d Directory c Character device b Block device p Fifo (named pipe) uid is the user id for the target file, gid is the group id for the target file. The rest of the entries (major, minor, etc) apply to to device special files. A &#39;-&#39; may be used for blank entries.</p>
  1776. </dd>
  1777. <dt id="makemime"><b>makemime</b></dt>
  1778. <dd>
  1779. <p>makemime [OPTIONS] [FILE]...</p>
  1780. <p>Create multipart MIME-encoded message from FILEs</p>
  1781. <pre><code> -o FILE Output. Default: stdout
  1782. -a HDR Add header(s). Examples:
  1783. &quot;From: user@host.org&quot;, &quot;Date: `date -R`&quot;
  1784. -c CT Content type. Default: application/octet-stream
  1785. -C CS Charset. Default: us-ascii</code></pre>
  1786. <p>Other options are silently ignored</p>
  1787. </dd>
  1788. <dt id="man"><b>man</b></dt>
  1789. <dd>
  1790. <p>man [-aw] [MANPAGE]...</p>
  1791. <p>Format and display manual page</p>
  1792. <pre><code> -a Display all pages
  1793. -w Show page locations</code></pre>
  1794. <p>$COLUMNS overrides output width</p>
  1795. </dd>
  1796. <dt id="md5sum"><b>md5sum</b></dt>
  1797. <dd>
  1798. <p>md5sum [-c[sw]] [FILE]...</p>
  1799. <p>Print or check MD5 checksums</p>
  1800. <pre><code> -c Check sums against list in FILEs
  1801. -s Don&#39;t output anything, status code shows success
  1802. -w Warn about improperly formatted checksum lines</code></pre>
  1803. </dd>
  1804. <dt id="mdev"><b>mdev</b></dt>
  1805. <dd>
  1806. <p>mdev [-s]</p>
  1807. <p>mdev -s is to be run during boot to scan /sys and populate /dev.</p>
  1808. <p>Bare mdev is a kernel hotplug helper. To activate it: echo /sbin/mdev &gt;/proc/sys/kernel/hotplug</p>
  1809. <p>It uses /etc/mdev.conf with lines [-][ENV=regex;]...DEVNAME UID:GID PERM [&gt;|=PATH]|[!] [@|$|*PROG] where DEVNAME is device name regex, @major,minor[-minor2], or environment variable regex. A common use of the latter is to load modules for hotplugged devices:</p>
  1810. <pre><code> $MODALIAS=.* 0:0 660 @modprobe &quot;$MODALIAS&quot;</code></pre>
  1811. <p>If /dev/mdev.seq file exists, mdev will wait for its value to match $SEQNUM variable. This prevents plug/unplug races. To activate this feature, create empty /dev/mdev.seq at boot.</p>
  1812. <p>If /dev/mdev.log file exists, debug log will be appended to it.</p>
  1813. </dd>
  1814. <dt id="mesg"><b>mesg</b></dt>
  1815. <dd>
  1816. <p>mesg [y|n]</p>
  1817. <p>Control write access to your terminal y Allow write access to your terminal n Disallow write access to your terminal</p>
  1818. </dd>
  1819. <dt id="microcom"><b>microcom</b></dt>
  1820. <dd>
  1821. <p>microcom [-d DELAY] [-t TIMEOUT] [-s SPEED] [-X] TTY</p>
  1822. <p>Copy bytes for stdin to TTY and from TTY to stdout</p>
  1823. <pre><code> -d Wait up to DELAY ms for TTY output before sending every
  1824. next byte to it
  1825. -t Exit if both stdin and TTY are silent for TIMEOUT ms
  1826. -s Set serial line to SPEED
  1827. -X Disable special meaning of NUL and Ctrl-X from stdin</code></pre>
  1828. </dd>
  1829. <dt id="mkdir"><b>mkdir</b></dt>
  1830. <dd>
  1831. <p>mkdir [OPTIONS] DIRECTORY...</p>
  1832. <p>Create DIRECTORY</p>
  1833. <pre><code> -m MODE Mode
  1834. -p No error if exists; make parent directories as needed</code></pre>
  1835. </dd>
  1836. <dt id="mkdosfs"><b>mkdosfs</b></dt>
  1837. <dd>
  1838. <p>mkdosfs [-v] [-n LABEL] BLOCKDEV [KBYTES]</p>
  1839. <p>Make a FAT32 filesystem</p>
  1840. <pre><code> -v Verbose
  1841. -n LBL Volume label</code></pre>
  1842. </dd>
  1843. <dt id="mke2fs"><b>mke2fs</b></dt>
  1844. <dd>
  1845. <p>mke2fs [-Fn] [-b BLK_SIZE] [-i INODE_RATIO] [-I INODE_SIZE] [-m RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES]</p>
  1846. <pre><code> -b BLK_SIZE Block size, bytes
  1847. -F Force
  1848. -i RATIO Max number of files is filesystem_size / RATIO
  1849. -I BYTES Inode size (min 128)
  1850. -L LBL Volume label
  1851. -m PERCENT Percent of blocks to reserve for admin
  1852. -n Dry run</code></pre>
  1853. </dd>
  1854. <dt id="mkfifo"><b>mkfifo</b></dt>
  1855. <dd>
  1856. <p>mkfifo [-m MODE] NAME</p>
  1857. <p>Create named pipe</p>
  1858. <pre><code> -m MODE Mode (default a=rw)</code></pre>
  1859. </dd>
  1860. <dt id="mkfs.ext2"><b>mkfs.ext2</b></dt>
  1861. <dd>
  1862. <p>mkfs.ext2 [-Fn] [-b BLK_SIZE] [-i INODE_RATIO] [-I INODE_SIZE] [-m RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES]</p>
  1863. <pre><code> -b BLK_SIZE Block size, bytes
  1864. -F Force
  1865. -i RATIO Max number of files is filesystem_size / RATIO
  1866. -I BYTES Inode size (min 128)
  1867. -L LBL Volume label
  1868. -m PERCENT Percent of blocks to reserve for admin
  1869. -n Dry run</code></pre>
  1870. </dd>
  1871. <dt id="mkfs.minix"><b>mkfs.minix</b></dt>
  1872. <dd>
  1873. <p>mkfs.minix [-c | -l FILE] [-nXX] [-iXX] BLOCKDEV [KBYTES]</p>
  1874. <p>Make a MINIX filesystem</p>
  1875. <pre><code> -c Check device for bad blocks
  1876. -n [14|30] Maximum length of filenames
  1877. -i INODES Number of inodes for the filesystem
  1878. -l FILE Read bad blocks list from FILE
  1879. -v Make version 2 filesystem</code></pre>
  1880. </dd>
  1881. <dt id="mkfs.vfat"><b>mkfs.vfat</b></dt>
  1882. <dd>
  1883. <p>mkfs.vfat [-v] [-n LABEL] BLOCKDEV [KBYTES]</p>
  1884. <p>Make a FAT32 filesystem</p>
  1885. <pre><code> -v Verbose
  1886. -n LBL Volume label</code></pre>
  1887. </dd>
  1888. <dt id="mknod"><b>mknod</b></dt>
  1889. <dd>
  1890. <p>mknod [-m MODE] NAME TYPE MAJOR MINOR</p>
  1891. <p>Create a special file (block, character, or pipe)</p>
  1892. <pre><code> -m MODE Creation mode (default a=rw)
  1893. TYPE:
  1894. b Block device
  1895. c or u Character device
  1896. p Named pipe (MAJOR and MINOR are ignored)</code></pre>
  1897. </dd>
  1898. <dt id="mkpasswd"><b>mkpasswd</b></dt>
  1899. <dd>
  1900. <p>mkpasswd [OPTIONS] [PASSWORD] [SALT]</p>
  1901. <p>Print crypt(3) hashed PASSWORD</p>
  1902. <pre><code> -P,--password-fd N Read password from fd N
  1903. -m,--method TYPE des,md5,sha256/512 (default des)
  1904. -S,--salt SALT</code></pre>
  1905. </dd>
  1906. <dt id="mkswap"><b>mkswap</b></dt>
  1907. <dd>
  1908. <p>mkswap [-L LBL] BLOCKDEV [KBYTES]</p>
  1909. <p>Prepare BLOCKDEV to be used as swap partition</p>
  1910. <pre><code> -L LBL Label</code></pre>
  1911. </dd>
  1912. <dt id="mktemp"><b>mktemp</b></dt>
  1913. <dd>
  1914. <p>mktemp [-dt] [-p DIR] [TEMPLATE]</p>
  1915. <p>Create a temporary file with name based on TEMPLATE and print its name. TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX). Without TEMPLATE, -t tmp.XXXXXX is assumed.</p>
  1916. <pre><code> -d Make directory, not file
  1917. -q Fail silently on errors
  1918. -t Prepend base directory name to TEMPLATE
  1919. -p DIR Use DIR as a base directory (implies -t)
  1920. -u Do not create anything; print a name</code></pre>
  1921. <p>Base directory is: -p DIR, else $TMPDIR, else /tmp</p>
  1922. </dd>
  1923. <dt id="modinfo"><b>modinfo</b></dt>
  1924. <dd>
  1925. <p>modinfo [-adlpn0] [-F keyword] MODULE</p>
  1926. <pre><code> -a Shortcut for &#39;-F author&#39;
  1927. -d Shortcut for &#39;-F description&#39;
  1928. -l Shortcut for &#39;-F license&#39;
  1929. -p Shortcut for &#39;-F parm&#39;
  1930. -F keyword Keyword to look for
  1931. -0 Separate output with NULs</code></pre>
  1932. </dd>
  1933. <dt id="modprobe"><b>modprobe</b></dt>
  1934. <dd>
  1935. <p>modprobe [-rq] MODULE [SYMBOL=VALUE]...</p>
  1936. <pre><code> -r Remove MODULE
  1937. -q Quiet</code></pre>
  1938. </dd>
  1939. <dt id="more"><b>more</b></dt>
  1940. <dd>
  1941. <p>more [FILE]...</p>
  1942. <p>View FILE (or stdin) one screenful at a time</p>
  1943. </dd>
  1944. <dt id="mount"><b>mount</b></dt>
  1945. <dd>
  1946. <p>mount [OPTIONS] [-o OPT] DEVICE NODE</p>
  1947. <p>Mount a filesystem. Filesystem autodetection requires /proc.</p>
  1948. <pre><code> -a Mount all filesystems in fstab
  1949. -f Dry run
  1950. -v Verbose
  1951. -r Read-only mount
  1952. -t FSTYPE[,...] Filesystem type(s)
  1953. -T FILE Read FILE instead of /etc/fstab
  1954. -O OPT Mount only filesystems with option OPT (-a only)
  1955. -o OPT:
  1956. loop Ignored (loop devices are autodetected)
  1957. [a]sync Writes are [a]synchronous
  1958. [no]atime Disable/enable updates to inode access times
  1959. [no]diratime Disable/enable atime updates to directories
  1960. [no]relatime Disable/enable atime updates relative to modification time
  1961. [no]dev (Dis)allow use of special device files
  1962. [no]exec (Dis)allow use of executable files
  1963. [no]suid (Dis)allow set-user-id-root programs
  1964. [r]shared Convert [recursively] to a shared subtree
  1965. [r]slave Convert [recursively] to a slave subtree
  1966. [r]private Convert [recursively] to a private subtree
  1967. [un]bindable Make mount point [un]able to be bind mounted
  1968. [r]bind Bind a file or directory [recursively] to another location
  1969. move Relocate an existing mount point
  1970. remount Remount a mounted filesystem, changing flags
  1971. ro Same as -r</code></pre>
  1972. <p>There are filesystem-specific -o flags.</p>
  1973. </dd>
  1974. <dt id="mountpoint"><b>mountpoint</b></dt>
  1975. <dd>
  1976. <p>mountpoint [-q] &lt;[-dn] DIR | -x DEVICE&gt;</p>
  1977. <p>Check if the directory is a mountpoint</p>
  1978. <pre><code> -q Quiet
  1979. -d Print major/minor device number of the filesystem
  1980. -n Print device name of the filesystem
  1981. -x Print major/minor device number of the blockdevice</code></pre>
  1982. </dd>
  1983. <dt id="mpstat"><b>mpstat</b></dt>
  1984. <dd>
  1985. <p>mpstat [-A] [-I SUM|CPU|ALL|SCPU] [-u] [-P num|ALL] [INTERVAL [COUNT]]</p>
  1986. <p>Per-processor statistics</p>
  1987. <pre><code> -A Same as -I ALL -u -P ALL
  1988. -I SUM|CPU|ALL|SCPU Report interrupt statistics
  1989. -P num|ALL Processor to monitor
  1990. -u Report CPU utilization</code></pre>
  1991. </dd>
  1992. <dt id="mt"><b>mt</b></dt>
  1993. <dd>
  1994. <p>mt [-f device] opcode value</p>
  1995. <p>Control magnetic tape drive operation</p>
  1996. <p>Available Opcodes:</p>
  1997. <p>bsf bsfm bsr bss datacompression drvbuffer eof eom erase fsf fsfm fsr fss load lock mkpart nop offline ras1 ras2 ras3 reset retension rewind rewoffline seek setblk setdensity setpart tell unload unlock weof wset</p>
  1998. </dd>
  1999. <dt id="mv"><b>mv</b></dt>
  2000. <dd>
  2001. <p>mv [-fin] SOURCE DEST or: mv [-fin] SOURCE... DIRECTORY</p>
  2002. <p>Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY</p>
  2003. <pre><code> -f Don&#39;t prompt before overwriting
  2004. -i Interactive, prompt before overwrite
  2005. -n Don&#39;t overwrite an existing file</code></pre>
  2006. </dd>
  2007. <dt id="nameif"><b>nameif</b></dt>
  2008. <dd>
  2009. <p>nameif [-s] [-c FILE] [IFNAME SELECTOR]...</p>
  2010. <p>Rename network interface while it in the down state. The device matched by SELECTOR is renamed to IFACE. SELECTOR can be a combination of:</p>
  2011. <pre><code> driver=STRING
  2012. bus=STRING
  2013. phy_address=NUM
  2014. [mac=]XX:XX:XX:XX:XX:XX
  2015. -c FILE Configuration file (default: /etc/mactab)
  2016. -s Log to syslog</code></pre>
  2017. </dd>
  2018. <dt id="nanddump"><b>nanddump</b></dt>
  2019. <dd>
  2020. <p>nanddump [-no] [--bb padbad|skipbad] [-s ADDR] [-l LEN] [-f FILE] MTD_DEVICE</p>
  2021. <p>Dump MTD_DEVICE</p>
  2022. <pre><code> -n Read without ecc
  2023. -o Dump oob data
  2024. -s ADDR Start address
  2025. -l LEN Length
  2026. -f FILE Dump to file (&#39;-&#39; for stdout)
  2027. --bb METHOD
  2028. skipbad: skip bad blocks
  2029. padbad: substitute bad blocks by 0xff (default)</code></pre>
  2030. </dd>
  2031. <dt id="nandwrite"><b>nandwrite</b></dt>
  2032. <dd>
  2033. <p>nandwrite [-np] [-s ADDR] MTD_DEVICE [FILE]</p>
  2034. <p>Write to MTD_DEVICE</p>
  2035. <pre><code> -n Write without ecc
  2036. -p Pad to page size
  2037. -s ADDR Start address</code></pre>
  2038. </dd>
  2039. <dt id="nbd-client"><b>nbd-client</b></dt>
  2040. <dd>
  2041. <p>nbd-client HOST PORT BLOCKDEV</p>
  2042. <p>Connect to HOST and provide a network block device on BLOCKDEV</p>
  2043. </dd>
  2044. <dt id="nc"><b>nc</b></dt>
  2045. <dd>
  2046. <p>nc [OPTIONS] HOST PORT - connect nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen</p>
  2047. <pre><code> -e PROG Run PROG after connect (must be last)
  2048. -l Listen mode, for inbound connects
  2049. -lk With -e, provides persistent server
  2050. -p PORT Local port
  2051. -s ADDR Local address
  2052. -w SEC Timeout for connects and final net reads
  2053. -i SEC Delay interval for lines sent
  2054. -n Don&#39;t do DNS resolution
  2055. -u UDP mode
  2056. -v Verbose
  2057. -o FILE Hex dump traffic
  2058. -z Zero-I/O mode (scanning)</code></pre>
  2059. </dd>
  2060. <dt id="netstat"><b>netstat</b></dt>
  2061. <dd>
  2062. <p>netstat [-ral] [-tuwx] [-enWp]</p>
  2063. <p>Display networking information</p>
  2064. <pre><code> -r Routing table
  2065. -a All sockets
  2066. -l Listening sockets
  2067. Else: connected sockets
  2068. -t TCP sockets
  2069. -u UDP sockets
  2070. -w Raw sockets
  2071. -x Unix sockets
  2072. Else: all socket types
  2073. -e Other/more information
  2074. -n Don&#39;t resolve names
  2075. -W Wide display
  2076. -p Show PID/program name for sockets</code></pre>
  2077. </dd>
  2078. <dt id="nice"><b>nice</b></dt>
  2079. <dd>
  2080. <p>nice [-n ADJUST] [PROG ARGS]</p>
  2081. <p>Change scheduling priority, run PROG</p>
  2082. <pre><code> -n ADJUST Adjust priority by ADJUST</code></pre>
  2083. </dd>
  2084. <dt id="nl"><b>nl</b></dt>
  2085. <dd>
  2086. <p>nl [OPTIONS] [FILE]...</p>
  2087. <p>Write FILEs to standard output with line numbers added</p>
  2088. <pre><code> -b STYLE Which lines to number - a: all, t: nonempty, n: none
  2089. -i N Line number increment
  2090. -s STRING Use STRING as line number separator
  2091. -v N Start from N
  2092. -w N Width of line numbers</code></pre>
  2093. </dd>
  2094. <dt id="nmeter"><b>nmeter</b></dt>
  2095. <dd>
  2096. <p>nmeter [-d MSEC] FORMAT_STRING</p>
  2097. <p>Monitor system in real time</p>
  2098. <pre><code> -d MSEC Milliseconds between updates, default:1000, none:-1</code></pre>
  2099. <p>Format specifiers:</p>
  2100. <pre><code> %Nc or %[cN] CPU. N - bar size (default 10)
  2101. (displays: S:system U:user N:niced D:iowait I:irq i:softirq)
  2102. %[nINTERFACE] Network INTERFACE
  2103. %m Allocated memory
  2104. %[mf] Free memory
  2105. %[mt] Total memory
  2106. %s Allocated swap
  2107. %f Number of used file descriptors
  2108. %Ni Total/specific IRQ rate
  2109. %x Context switch rate
  2110. %p Forks
  2111. %[pn] # of processes
  2112. %b Block io
  2113. %Nt Time (with N decimal points)
  2114. %r Print &lt;cr&gt; instead of &lt;lf&gt; at EOL</code></pre>
  2115. </dd>
  2116. <dt id="nohup"><b>nohup</b></dt>
  2117. <dd>
  2118. <p>nohup PROG ARGS</p>
  2119. <p>Run PROG immune to hangups, with output to a non-tty</p>
  2120. </dd>
  2121. <dt id="nproc"><b>nproc</b></dt>
  2122. <dd>
  2123. <p>nproc</p>
  2124. <p>Print number of CPUs</p>
  2125. </dd>
  2126. <dt id="nsenter"><b>nsenter</b></dt>
  2127. <dd>
  2128. <p>nsenter [OPTIONS] [PROG [ARGS]]</p>
  2129. <pre><code> -t PID Target process to get namespaces from
  2130. -m[FILE] Enter mount namespace
  2131. -u[FILE] Enter UTS namespace (hostname etc)
  2132. -i[FILE] Enter System V IPC namespace
  2133. -n[FILE] Enter network namespace
  2134. -p[FILE] Enter pid namespace
  2135. -U[FILE] Enter user namespace
  2136. -S UID Set uid in entered namespace
  2137. -G GID Set gid in entered namespace
  2138. --preserve-credentials Don&#39;t touch uids or gids
  2139. -r[DIR] Set root directory
  2140. -w[DIR] Set working directory
  2141. -F Don&#39;t fork before exec&#39;ing PROG</code></pre>
  2142. </dd>
  2143. <dt id="nslookup"><b>nslookup</b></dt>
  2144. <dd>
  2145. <p>nslookup [HOST] [SERVER]</p>
  2146. <p>Query the nameserver for the IP address of the given HOST optionally using a specified DNS server</p>
  2147. </dd>
  2148. <dt id="ntpd"><b>ntpd</b></dt>
  2149. <dd>
  2150. <p>ntpd [-dnqNwl -I IFACE] [-S PROG] [-p PEER]...</p>
  2151. <p>NTP client/server</p>
  2152. <pre><code> -d Verbose (may be repeated)
  2153. -n Do not daemonize
  2154. -q Quit after clock is set
  2155. -N Run at high priority
  2156. -w Do not set time (only query peers), implies -n
  2157. -S PROG Run PROG after stepping time, stratum change, and every 11 mins
  2158. -p PEER Obtain time from PEER (may be repeated)
  2159. If -p is not given, &#39;server HOST&#39; lines
  2160. from /etc/ntp.conf are used
  2161. -l Also run as server on port 123
  2162. -I IFACE Bind server to IFACE, implies -l</code></pre>
  2163. </dd>
  2164. <dt id="nuke"><b>nuke</b></dt>
  2165. <dd>
  2166. <p>nuke DIR...</p>
  2167. <p>Remove DIRs</p>
  2168. </dd>
  2169. <dt id="od"><b>od</b></dt>
  2170. <dd>
  2171. <p>od [-abcdfhilovxs] [-t TYPE] [-A RADIX] [-N SIZE] [-j SKIP] [-S MINSTR] [-w WIDTH] [FILE]...</p>
  2172. <p>Print FILEs (or stdin) unambiguously, as octal bytes by default</p>
  2173. </dd>
  2174. <dt id="openvt"><b>openvt</b></dt>
  2175. <dd>
  2176. <p>openvt [-c N] [-sw] [PROG ARGS]</p>
  2177. <p>Start PROG on a new virtual terminal</p>
  2178. <pre><code> -c N Use specified VT
  2179. -s Switch to the VT
  2180. -w Wait for PROG to exit</code></pre>
  2181. </dd>
  2182. <dt id="partprobe"><b>partprobe</b></dt>
  2183. <dd>
  2184. <p>partprobe DEVICE...</p>
  2185. <p>Ask kernel to rescan partition table</p>
  2186. </dd>
  2187. <dt id="passwd"><b>passwd</b></dt>
  2188. <dd>
  2189. <p>passwd [OPTIONS] [USER]</p>
  2190. <p>Change USER&#39;s password (default: current user)</p>
  2191. <pre><code> -a ALG des,md5,sha256/512 (default des)
  2192. -d Set password to &#39;&#39;
  2193. -l Lock (disable) account
  2194. -u Unlock (enable) account</code></pre>
  2195. </dd>
  2196. <dt id="paste"><b>paste</b></dt>
  2197. <dd>
  2198. <p>paste [OPTIONS] [FILE]...</p>
  2199. <p>Paste lines from each input file, separated with tab</p>
  2200. <pre><code> -d LIST Use delimiters from LIST, not tab
  2201. -s Serial: one file at a time</code></pre>
  2202. </dd>
  2203. <dt id="patch"><b>patch</b></dt>
  2204. <dd>
  2205. <p>patch [OPTIONS] [ORIGFILE [PATCHFILE]]</p>
  2206. <pre><code> -p,--strip N Strip N leading components from file names
  2207. -i,--input DIFF Read DIFF instead of stdin
  2208. -R,--reverse Reverse patch
  2209. -N,--forward Ignore already applied patches
  2210. -E,--remove-empty-files Remove output files if they become empty</code></pre>
  2211. </dd>
  2212. <dt id="pgrep"><b>pgrep</b></dt>
  2213. <dd>
  2214. <p>pgrep [-flanovx] [-s SID|-P PPID|PATTERN]</p>
  2215. <p>Display process(es) selected by regex PATTERN</p>
  2216. <pre><code> -l Show command name too
  2217. -a Show command line too
  2218. -f Match against entire command line
  2219. -n Show the newest process only
  2220. -o Show the oldest process only
  2221. -v Negate the match
  2222. -x Match whole name (not substring)
  2223. -s Match session ID (0 for current)
  2224. -P Match parent process ID</code></pre>
  2225. </dd>
  2226. <dt id="pidof"><b>pidof</b></dt>
  2227. <dd>
  2228. <p>pidof [OPTIONS] [NAME]...</p>
  2229. <p>List PIDs of all processes with names that match NAMEs</p>
  2230. <pre><code> -s Show only one PID
  2231. -o PID Omit given pid
  2232. Use %PPID to omit pid of pidof&#39;s parent</code></pre>
  2233. </dd>
  2234. <dt id="ping"><b>ping</b></dt>
  2235. <dd>
  2236. <p>ping [OPTIONS] HOST</p>
  2237. <p>Send ICMP ECHO_REQUEST packets to network hosts</p>
  2238. <pre><code> -4,-6 Force IP or IPv6 name resolution
  2239. -c CNT Send only CNT pings
  2240. -s SIZE Send SIZE data bytes in packets (default 56)
  2241. -t TTL Set TTL
  2242. -I IFACE/IP Source interface or IP address
  2243. -W SEC Seconds to wait for the first response (default 10)
  2244. (after all -c CNT packets are sent)
  2245. -w SEC Seconds until ping exits (default:infinite)
  2246. (can exit earlier with -c CNT)
  2247. -q Quiet, only display output at start
  2248. and when finished
  2249. -p HEXBYTE Pattern to use for payload</code></pre>
  2250. </dd>
  2251. <dt id="ping6"><b>ping6</b></dt>
  2252. <dd>
  2253. <p>ping6 [OPTIONS] HOST</p>
  2254. <p>Send ICMP ECHO_REQUEST packets to network hosts</p>
  2255. <pre><code> -c CNT Send only CNT pings
  2256. -s SIZE Send SIZE data bytes in packets (default 56)
  2257. -I IFACE/IP Source interface or IP address
  2258. -q Quiet, only display output at start
  2259. and when finished
  2260. -p HEXBYTE Pattern to use for payload</code></pre>
  2261. </dd>
  2262. <dt id="pivot_root"><b>pivot_root</b></dt>
  2263. <dd>
  2264. <p>pivot_root NEW_ROOT PUT_OLD</p>
  2265. <p>Move the current root file system to PUT_OLD and make NEW_ROOT the new root file system</p>
  2266. </dd>
  2267. <dt id="pkill"><b>pkill</b></dt>
  2268. <dd>
  2269. <p>pkill [-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]</p>
  2270. <p>Send a signal to process(es) selected by regex PATTERN</p>
  2271. <pre><code> -l List all signals
  2272. -f Match against entire command line
  2273. -n Signal the newest process only
  2274. -o Signal the oldest process only
  2275. -v Negate the match
  2276. -x Match whole name (not substring)
  2277. -s Match session ID (0 for current)
  2278. -P Match parent process ID</code></pre>
  2279. </dd>
  2280. <dt id="pmap"><b>pmap</b></dt>
  2281. <dd>
  2282. <p>pmap [-xq] PID...</p>
  2283. <p>Display process memory usage</p>
  2284. <pre><code> -x Show details
  2285. -q Quiet</code></pre>
  2286. </dd>
  2287. <dt id="popmaildir"><b>popmaildir</b></dt>
  2288. <dd>
  2289. <p>popmaildir [OPTIONS] MAILDIR [CONN_HELPER ARGS]</p>
  2290. <p>Fetch content of remote mailbox to local maildir</p>
  2291. <pre><code> -s Skip authorization
  2292. -T Get messages with TOP instead of RETR
  2293. -k Keep retrieved messages on the server
  2294. -t SEC Network timeout
  2295. -F &quot;PROG ARGS&quot; Filter program (may be repeated)
  2296. -M &quot;PROG ARGS&quot; Delivery program</code></pre>
  2297. <p>Fetch from plain POP3 server: popmaildir -k DIR nc pop3.server.com 110 &lt;user_and_pass.txt Fetch from SSLed POP3 server and delete fetched emails: popmaildir DIR -- openssl s_client -quiet -connect pop3.server.com:995 &lt;user_and_pass.txt</p>
  2298. </dd>
  2299. <dt id="poweroff"><b>poweroff</b></dt>
  2300. <dd>
  2301. <p>poweroff [-d DELAY] [-n] [-f]</p>
  2302. <p>Halt and shut off power</p>
  2303. <pre><code> -d SEC Delay interval
  2304. -n Do not sync
  2305. -f Force (don&#39;t go through init)</code></pre>
  2306. </dd>
  2307. <dt id="powertop"><b>powertop</b></dt>
  2308. <dd>
  2309. <p>powertop</p>
  2310. <p>Analyze power consumption on Intel-based laptops</p>
  2311. </dd>
  2312. <dt id="printenv"><b>printenv</b></dt>
  2313. <dd>
  2314. <p>printenv [VARIABLE]...</p>
  2315. <p>Print environment VARIABLEs. If no VARIABLE specified, print all.</p>
  2316. </dd>
  2317. <dt id="printf"><b>printf</b></dt>
  2318. <dd>
  2319. <p>printf FORMAT [ARG]...</p>
  2320. <p>Format and print ARG(s) according to FORMAT (a-la C printf)</p>
  2321. </dd>
  2322. <dt id="ps"><b>ps</b></dt>
  2323. <dd>
  2324. <p>ps [-o COL1,COL2=HEADER] [-T]</p>
  2325. <p>Show list of processes</p>
  2326. <pre><code> -o COL1,COL2=HEADER Select columns for display
  2327. -T Show threads</code></pre>
  2328. </dd>
  2329. <dt id="pscan"><b>pscan</b></dt>
  2330. <dd>
  2331. <p>pscan [-cb] [-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST</p>
  2332. <p>Scan a host, print all open ports</p>
  2333. <pre><code> -c Show closed ports too
  2334. -b Show blocked ports too
  2335. -p Scan from this port (default 1)
  2336. -P Scan up to this port (default 1024)
  2337. -t Timeout (default 5000 ms)
  2338. -T Minimum rtt (default 5 ms, increase for congested hosts)</code></pre>
  2339. </dd>
  2340. <dt id="pstree"><b>pstree</b></dt>
  2341. <dd>
  2342. <p>pstree [-p] [PID|USER]</p>
  2343. <p>Display process tree, optionally start from USER or PID</p>
  2344. <pre><code> -p Show pids</code></pre>
  2345. </dd>
  2346. <dt id="pwd"><b>pwd</b></dt>
  2347. <dd>
  2348. <p>pwd</p>
  2349. <p>Print the full filename of the current working directory</p>
  2350. </dd>
  2351. <dt id="pwdx"><b>pwdx</b></dt>
  2352. <dd>
  2353. <p>pwdx PID...</p>
  2354. <p>Show current directory for PIDs</p>
  2355. </dd>
  2356. <dt id="raidautorun"><b>raidautorun</b></dt>
  2357. <dd>
  2358. <p>raidautorun DEVICE</p>
  2359. <p>Tell the kernel to automatically search and start RAID arrays</p>
  2360. </dd>
  2361. <dt id="rdate"><b>rdate</b></dt>
  2362. <dd>
  2363. <p>rdate [-s/-p] HOST</p>
  2364. <p>Set and print time from HOST using RFC 868</p>
  2365. <pre><code> -s Only set system time
  2366. -p Only print time</code></pre>
  2367. </dd>
  2368. <dt id="rdev"><b>rdev</b></dt>
  2369. <dd>
  2370. <p>rdev</p>
  2371. <p>Print the device node associated with the filesystem mounted at &#39;/&#39;</p>
  2372. </dd>
  2373. <dt id="readahead"><b>readahead</b></dt>
  2374. <dd>
  2375. <p>readahead [FILE]...</p>
  2376. <p>Preload FILEs to RAM</p>
  2377. </dd>
  2378. <dt id="readlink"><b>readlink</b></dt>
  2379. <dd>
  2380. <p>readlink [-fnv] FILE</p>
  2381. <p>Display the value of a symlink</p>
  2382. <pre><code> -f Canonicalize by following all symlinks
  2383. -n Don&#39;t add newline
  2384. -v Verbose</code></pre>
  2385. </dd>
  2386. <dt id="readprofile"><b>readprofile</b></dt>
  2387. <dd>
  2388. <p>readprofile [OPTIONS]</p>
  2389. <pre><code> -m mapfile (Default: /boot/System.map)
  2390. -p profile (Default: /proc/profile)
  2391. -M NUM Set the profiling multiplier to NUM
  2392. -i Print only info about the sampling step
  2393. -v Verbose
  2394. -a Print all symbols, even if count is 0
  2395. -b Print individual histogram-bin counts
  2396. -s Print individual counters within functions
  2397. -r Reset all the counters (root only)
  2398. -n Disable byte order auto-detection</code></pre>
  2399. </dd>
  2400. <dt id="realpath"><b>realpath</b></dt>
  2401. <dd>
  2402. <p>realpath FILE...</p>
  2403. <p>Return the absolute pathnames of given FILE</p>
  2404. </dd>
  2405. <dt id="reboot"><b>reboot</b></dt>
  2406. <dd>
  2407. <p>reboot [-d DELAY] [-n] [-f]</p>
  2408. <p>Reboot the system</p>
  2409. <pre><code> -d SEC Delay interval
  2410. -n Do not sync
  2411. -f Force (don&#39;t go through init)</code></pre>
  2412. </dd>
  2413. <dt id="reformime"><b>reformime</b></dt>
  2414. <dd>
  2415. <p>reformime [OPTIONS]</p>
  2416. <p>Parse MIME-encoded message on stdin</p>
  2417. <pre><code> -x PREFIX Extract content of MIME sections to files
  2418. -X PROG ARGS Filter content of MIME sections through PROG
  2419. Must be the last option</code></pre>
  2420. <p>Other options are silently ignored</p>
  2421. </dd>
  2422. <dt id="remove-shell"><b>remove-shell</b></dt>
  2423. <dd>
  2424. <p>remove-shell SHELL...</p>
  2425. <p>Remove SHELLs from /etc/shells</p>
  2426. </dd>
  2427. <dt id="renice"><b>renice</b></dt>
  2428. <dd>
  2429. <p>renice [-n] PRIORITY [[-p | -g | -u] ID...]...</p>
  2430. <p>Change scheduling priority of a running process</p>
  2431. <pre><code> -n Add PRIORITY to current nice value
  2432. Without -n, nice value is set to PRIORITY
  2433. -p Process ids (default)
  2434. -g Process group ids
  2435. -u Process user names</code></pre>
  2436. </dd>
  2437. <dt id="reset"><b>reset</b></dt>
  2438. <dd>
  2439. <p>reset</p>
  2440. <p>Reset the screen</p>
  2441. </dd>
  2442. <dt id="resize"><b>resize</b></dt>
  2443. <dd>
  2444. <p>resize</p>
  2445. <p>Resize the screen</p>
  2446. </dd>
  2447. <dt id="resume"><b>resume</b></dt>
  2448. <dd>
  2449. <p>resume BLOCKDEV [OFFSET]</p>
  2450. <p>Restore system state from &#39;suspend-to-disk&#39; data in BLOCKDEV</p>
  2451. </dd>
  2452. <dt id="rev"><b>rev</b></dt>
  2453. <dd>
  2454. <p>rev [FILE]...</p>
  2455. <p>Reverse lines of FILE</p>
  2456. </dd>
  2457. <dt id="rm"><b>rm</b></dt>
  2458. <dd>
  2459. <p>rm [-irf] FILE...</p>
  2460. <p>Remove (unlink) FILEs</p>
  2461. <pre><code> -i Always prompt before removing
  2462. -f Never prompt
  2463. -R,-r Recurse</code></pre>
  2464. </dd>
  2465. <dt id="rmdir"><b>rmdir</b></dt>
  2466. <dd>
  2467. <p>rmdir [OPTIONS] DIRECTORY...</p>
  2468. <p>Remove DIRECTORY if it is empty</p>
  2469. <pre><code> -p Include parents
  2470. --ignore-fail-on-non-empty</code></pre>
  2471. </dd>
  2472. <dt id="rmmod"><b>rmmod</b></dt>
  2473. <dd>
  2474. <p>rmmod MODULE...</p>
  2475. <p>Unload kernel modules</p>
  2476. </dd>
  2477. <dt id="route"><b>route</b></dt>
  2478. <dd>
  2479. <p>route [{add|del|delete}]</p>
  2480. <p>Edit kernel routing tables</p>
  2481. <pre><code> -n Don&#39;t resolve names
  2482. -e Display other/more information
  2483. -A inet{6} Select address family</code></pre>
  2484. </dd>
  2485. <dt id="rpm"><b>rpm</b></dt>
  2486. <dd>
  2487. <p>rpm -i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm</p>
  2488. <p>Manipulate RPM packages</p>
  2489. <p>Commands:</p>
  2490. <pre><code> -i Install package
  2491. -qp Query package
  2492. -qpi Show information
  2493. -qpl List contents
  2494. -qpd List documents
  2495. -qpc List config files</code></pre>
  2496. </dd>
  2497. <dt id="rpm2cpio"><b>rpm2cpio</b></dt>
  2498. <dd>
  2499. <p>rpm2cpio PACKAGE.rpm</p>
  2500. <p>Output a cpio archive of the rpm file</p>
  2501. </dd>
  2502. <dt id="rtcwake"><b>rtcwake</b></dt>
  2503. <dd>
  2504. <p>rtcwake [-a | -l | -u] [-d DEV] [-m MODE] [-s SEC | -t TIME]</p>
  2505. <p>Enter a system sleep state until specified wakeup time</p>
  2506. <pre><code> -a,--auto Read clock mode from adjtime
  2507. -l,--local Clock is set to local time
  2508. -u,--utc Clock is set to UTC time
  2509. -d,--device DEV Specify the RTC device
  2510. -m,--mode MODE Set sleep state (default: standby)
  2511. -s,--seconds SEC Set timeout in SEC seconds from now
  2512. -t,--time TIME Set timeout to TIME seconds from epoch</code></pre>
  2513. </dd>
  2514. <dt id="run-init"><b>run-init</b></dt>
  2515. <dd>
  2516. <p>run-init [-d CAP,CAP...] [-n] [-c CONSOLE_DEV] NEW_ROOT NEW_INIT [ARGS]</p>
  2517. <p>Free initramfs and switch to another root fs:</p>
  2518. <p>chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /, execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.</p>
  2519. <pre><code> -c DEV Reopen stdio to DEV after switch
  2520. -d CAPS Drop capabilities
  2521. -n Dry run</code></pre>
  2522. </dd>
  2523. <dt id="run-parts"><b>run-parts</b></dt>
  2524. <dd>
  2525. <p>run-parts [-a ARG]... [-u UMASK] [--reverse] [--test] [--exit-on-error] [--list] DIRECTORY</p>
  2526. <p>Run a bunch of scripts in DIRECTORY</p>
  2527. <pre><code> -a ARG Pass ARG as argument to scripts
  2528. -u UMASK Set UMASK before running scripts
  2529. --reverse Reverse execution order
  2530. --test Dry run
  2531. --exit-on-error Exit if a script exits with non-zero
  2532. --list Print names of matching files even if they are not executable</code></pre>
  2533. </dd>
  2534. <dt id="runlevel"><b>runlevel</b></dt>
  2535. <dd>
  2536. <p>runlevel [FILE]</p>
  2537. <p>Find the current and previous system runlevel</p>
  2538. <p>If no utmp FILE exists or if no runlevel record can be found, print &quot;unknown&quot;</p>
  2539. </dd>
  2540. <dt id="runsv"><b>runsv</b></dt>
  2541. <dd>
  2542. <p>runsv DIR</p>
  2543. <p>Start and monitor a service and optionally an appendant log service</p>
  2544. </dd>
  2545. <dt id="runsvdir"><b>runsvdir</b></dt>
  2546. <dd>
  2547. <p>runsvdir [-P] [-s SCRIPT] DIR</p>
  2548. <p>Start a runsv process for each subdirectory. If it exits, restart it.</p>
  2549. <pre><code> -P Put each runsv in a new session
  2550. -s SCRIPT Run SCRIPT &lt;signo&gt; after signal is processed</code></pre>
  2551. </dd>
  2552. <dt id="rx"><b>rx</b></dt>
  2553. <dd>
  2554. <p>rx FILE</p>
  2555. <p>Receive a file using the xmodem protocol</p>
  2556. </dd>
  2557. <dt id="script"><b>script</b></dt>
  2558. <dd>
  2559. <p>script [-afq] [-t[FILE]] [-c PROG] [OUTFILE]</p>
  2560. <p>Default OUTFILE is &#39;typescript&#39;</p>
  2561. <pre><code> -a Append output
  2562. -c PROG Run PROG, not shell
  2563. -q Quiet
  2564. -t[FILE] Send timing to stderr or FILE</code></pre>
  2565. </dd>
  2566. <dt id="scriptreplay"><b>scriptreplay</b></dt>
  2567. <dd>
  2568. <p>scriptreplay TIMINGFILE [TYPESCRIPT [DIVISOR]]</p>
  2569. <p>Play back typescripts, using timing information</p>
  2570. </dd>
  2571. <dt id="sed"><b>sed</b></dt>
  2572. <dd>
  2573. <p>sed [-i[SFX]] [-nrE] [-f FILE]... [-e CMD]... [FILE]... or: sed [-i[SFX]] [-nrE] CMD [FILE]...</p>
  2574. <pre><code> -e CMD Add CMD to sed commands to be executed
  2575. -f FILE Add FILE contents to sed commands to be executed
  2576. -i[SFX] Edit files in-place (otherwise sends to stdout)
  2577. Optionally back files up, appending SFX
  2578. -n Suppress automatic printing of pattern space
  2579. -r,-E Use extended regex syntax</code></pre>
  2580. <p>If no -e or -f, the first non-option argument is the sed command string. Remaining arguments are input files (stdin if none).</p>
  2581. </dd>
  2582. <dt id="sendmail"><b>sendmail</b></dt>
  2583. <dd>
  2584. <p>sendmail [-tv] [-f SENDER] [-amLOGIN 4&lt;user_pass.txt | -auUSER -apPASS] [-w SECS] [-H &#39;PROG ARGS&#39; | -S HOST] [RECIPIENT_EMAIL]...</p>
  2585. <p>Read email from stdin and send it</p>
  2586. <p>Standard options:</p>
  2587. <pre><code> -t Read additional recipients from message body
  2588. -f SENDER For use in MAIL FROM:&lt;sender&gt;. Can be empty string
  2589. Default: -auUSER, or username of current UID
  2590. -o OPTIONS Various options. -oi implied, others are ignored
  2591. -i -oi synonym, implied and ignored</code></pre>
  2592. <p>Busybox specific options:</p>
  2593. <pre><code> -v Verbose
  2594. -w SECS Network timeout
  2595. -H &#39;PROG ARGS&#39; Run connection helper. Examples:
  2596. openssl s_client -quiet -tls1 -starttls smtp -connect smtp.gmail.com:25
  2597. openssl s_client -quiet -tls1 -connect smtp.gmail.com:465
  2598. $SMTP_ANTISPAM_DELAY: seconds to wait after helper connect
  2599. -S HOST[:PORT] Server (default $SMTPHOST or 127.0.0.1)
  2600. -amLOGIN Log in using AUTH LOGIN (-amCRAM-MD5 not supported)
  2601. -auUSER Username for AUTH
  2602. -apPASS Password for AUTH</code></pre>
  2603. <p>If no -a options are given, authentication is not done. If -amLOGIN is given but no -au/-ap, user/password is read from fd #4. Other options are silently ignored; -oi is implied. Use makemime to create emails with attachments.</p>
  2604. </dd>
  2605. <dt id="seq"><b>seq</b></dt>
  2606. <dd>
  2607. <p>seq [-w] [-s SEP] [FIRST [INC]] LAST</p>
  2608. <p>Print numbers from FIRST to LAST, in steps of INC. FIRST, INC default to 1.</p>
  2609. <pre><code> -w Pad to last with leading zeros
  2610. -s SEP String separator</code></pre>
  2611. </dd>
  2612. <dt id="setarch"><b>setarch</b></dt>
  2613. <dd>
  2614. <p>setarch PERSONALITY [-R] PROG ARGS</p>
  2615. <p>PERSONALITY may be:</p>
  2616. <pre><code> linux32 Set 32bit uname emulation
  2617. linux64 Set 64bit uname emulation
  2618. -R Disable address space randomization</code></pre>
  2619. </dd>
  2620. <dt id="setconsole"><b>setconsole</b></dt>
  2621. <dd>
  2622. <p>setconsole [-r] [DEVICE]</p>
  2623. <p>Make writes to /dev/console appear on DEVICE (default: /dev/tty). Does not redirect kernel log output or reads from /dev/console.</p>
  2624. <pre><code> -r Reset: writes to /dev/console go to kernel log tty(s)</code></pre>
  2625. </dd>
  2626. <dt id="setfattr"><b>setfattr</b></dt>
  2627. <dd>
  2628. <p>setfattr [-h] -n|-x ATTR [-v VALUE] FILE...</p>
  2629. <p>Set extended attributes</p>
  2630. <pre><code> -h Do not follow symlinks
  2631. -x ATTR Remove attribute ATTR
  2632. -n ATTR Set attribute ATTR to VALUE
  2633. -v VALUE (default: empty)</code></pre>
  2634. </dd>
  2635. <dt id="setfont"><b>setfont</b></dt>
  2636. <dd>
  2637. <p>setfont FONT [-m MAPFILE] [-C TTY]</p>
  2638. <p>Load a console font</p>
  2639. <pre><code> -m MAPFILE Load console screen map
  2640. -C TTY Affect TTY instead of /dev/tty</code></pre>
  2641. </dd>
  2642. <dt id="setkeycodes"><b>setkeycodes</b></dt>
  2643. <dd>
  2644. <p>setkeycodes { SCANCODE KEYCODE }...</p>
  2645. <p>Modify kernel&#39;s scancode-to-keycode map, allowing unusual keyboards to generate usable keycodes.</p>
  2646. <p>SCANCODE is either xx or e0xx (hexadecimal), KEYCODE is decimal.</p>
  2647. </dd>
  2648. <dt id="setlogcons"><b>setlogcons</b></dt>
  2649. <dd>
  2650. <p>setlogcons [N]</p>
  2651. <p>Pin kernel output to VT console N. Default:0 (do not pin)</p>
  2652. </dd>
  2653. <dt id="setpriv"><b>setpriv</b></dt>
  2654. <dd>
  2655. <p>setpriv [OPTIONS] PROG [ARGS]</p>
  2656. <p>Run PROG with different privilege settings</p>
  2657. <p>-d,--dump Show current capabilities --nnp,--no-new-privs Ignore setuid/setgid bits and file capabilities --inh-caps CAP,CAP Set inheritable capabilities --ambient-caps CAP,CAP Set ambient capabilities</p>
  2658. </dd>
  2659. <dt id="setserial"><b>setserial</b></dt>
  2660. <dd>
  2661. <p>setserial [-abGvz] { DEVICE [PARAMETER [ARG]]... | -g DEVICE... }</p>
  2662. <p>Print or set serial port parameters</p>
  2663. <pre><code> -a Print all
  2664. -b Print summary
  2665. -G Print as setserial PARAMETERs
  2666. -v Verbose
  2667. -z Zero out serial flags before setting
  2668. -g All args are device names</code></pre>
  2669. <p>PARAMETERs: (* = takes ARG, ^ = can be turned off by preceding ^) *port, *irq, *divisor, *uart, *baud_base, *close_delay, *closing_wait, ^fourport, ^auto_irq, ^skip_test, ^sak, ^session_lockout, ^pgrp_lockout, ^callout_nohup, ^split_termios, ^hup_notify, ^low_latency, autoconfig, spd_normal, spd_hi, spd_vhi, spd_shi, spd_warp, spd_cust ARG for uart:</p>
  2670. <pre><code> unknown, 8250, 16450, 16550, 16550A, Cirrus, 16650, 16650V2, 16750,
  2671. 16950, 16954, 16654, 16850, RSA, NS16550A, XSCALE, RM9000, OCTEON, AR7,
  2672. U6_16550A</code></pre>
  2673. </dd>
  2674. <dt id="setsid"><b>setsid</b></dt>
  2675. <dd>
  2676. <p>setsid [-c] PROG ARGS</p>
  2677. <p>Run PROG in a new session. PROG will have no controlling terminal and will not be affected by keyboard signals (^C etc).</p>
  2678. <pre><code> -c Set controlling terminal to stdin</code></pre>
  2679. </dd>
  2680. <dt id="setuidgid"><b>setuidgid</b></dt>
  2681. <dd>
  2682. <p>setuidgid USER PROG ARGS</p>
  2683. <p>Set uid and gid to USER&#39;s uid and gid, drop supplementary group ids, run PROG</p>
  2684. </dd>
  2685. <dt id="sh"><b>sh</b></dt>
  2686. <dd>
  2687. <p>sh [-/+OPTIONS] [-/+o OPT]... [-c &#39;SCRIPT&#39; [ARG0 [ARGS]] / FILE [ARGS]]</p>
  2688. <p>Unix shell interpreter</p>
  2689. </dd>
  2690. <dt id="sha1sum"><b>sha1sum</b></dt>
  2691. <dd>
  2692. <p>sha1sum [-c[sw]] [FILE]...</p>
  2693. <p>Print or check SHA1 checksums</p>
  2694. <pre><code> -c Check sums against list in FILEs
  2695. -s Don&#39;t output anything, status code shows success
  2696. -w Warn about improperly formatted checksum lines</code></pre>
  2697. </dd>
  2698. <dt id="sha256sum"><b>sha256sum</b></dt>
  2699. <dd>
  2700. <p>sha256sum [-c[sw]] [FILE]...</p>
  2701. <p>Print or check SHA256 checksums</p>
  2702. <pre><code> -c Check sums against list in FILEs
  2703. -s Don&#39;t output anything, status code shows success
  2704. -w Warn about improperly formatted checksum lines</code></pre>
  2705. </dd>
  2706. <dt id="sha3sum"><b>sha3sum</b></dt>
  2707. <dd>
  2708. <p>sha3sum [-c[sw]] [-a BITS] [FILE]...</p>
  2709. <p>Print or check SHA3 checksums</p>
  2710. <pre><code> -c Check sums against list in FILEs
  2711. -s Don&#39;t output anything, status code shows success
  2712. -w Warn about improperly formatted checksum lines
  2713. -a BITS 224 (default), 256, 384, 512</code></pre>
  2714. </dd>
  2715. <dt id="sha512sum"><b>sha512sum</b></dt>
  2716. <dd>
  2717. <p>sha512sum [-c[sw]] [FILE]...</p>
  2718. <p>Print or check SHA512 checksums</p>
  2719. <pre><code> -c Check sums against list in FILEs
  2720. -s Don&#39;t output anything, status code shows success
  2721. -w Warn about improperly formatted checksum lines</code></pre>
  2722. </dd>
  2723. <dt id="showkey"><b>showkey</b></dt>
  2724. <dd>
  2725. <p>showkey [-a | -k | -s]</p>
  2726. <p>Show keys pressed</p>
  2727. <pre><code> -a Display decimal/octal/hex values of the keys
  2728. -k Display interpreted keycodes (default)
  2729. -s Display raw scan-codes</code></pre>
  2730. </dd>
  2731. <dt id="shred"><b>shred</b></dt>
  2732. <dd>
  2733. <p>shred FILE...</p>
  2734. <p>Overwrite/delete FILEs</p>
  2735. <pre><code> -f Chmod to ensure writability
  2736. -n N Overwrite N times (default 3)
  2737. -z Final overwrite with zeros
  2738. -u Remove file</code></pre>
  2739. </dd>
  2740. <dt id="shuf"><b>shuf</b></dt>
  2741. <dd>
  2742. <p>shuf [-e|-i L-H] [-n NUM] [-o FILE] [-z] [FILE|ARG...]</p>
  2743. <p>Randomly permute lines</p>
  2744. <pre><code> -e Treat ARGs as lines
  2745. -i L-H Treat numbers L-H as lines
  2746. -n NUM Output at most NUM lines
  2747. -o FILE Write to FILE, not standard output
  2748. -z End lines with zero byte, not newline</code></pre>
  2749. </dd>
  2750. <dt id="slattach"><b>slattach</b></dt>
  2751. <dd>
  2752. <p>slattach [-ehmLF] [-c SCRIPT] [-s BAUD] [-p PROTOCOL] SERIAL_DEVICE</p>
  2753. <p>Configure serial line as SLIP network interface</p>
  2754. <pre><code> -p PROT Protocol: slip, cslip (default), slip6, clisp6, adaptive
  2755. -s BAUD Line speed
  2756. -e Exit after initialization
  2757. -h Exit if carrier is lost (else never exits)
  2758. -c PROG Run PROG on carrier loss
  2759. -m Do NOT set raw 8bit mode
  2760. -L Enable 3-wire operation
  2761. -F Disable RTS/CTS flow control</code></pre>
  2762. </dd>
  2763. <dt id="sleep"><b>sleep</b></dt>
  2764. <dd>
  2765. <p>sleep [N]...</p>
  2766. <p>Pause for a time equal to the total of the args given, where each arg can have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays</p>
  2767. </dd>
  2768. <dt id="smemcap"><b>smemcap</b></dt>
  2769. <dd>
  2770. <p>smemcap &gt;SMEMDATA.TAR</p>
  2771. <p>Collect memory usage data in /proc and write it to stdout</p>
  2772. </dd>
  2773. <dt id="softlimit"><b>softlimit</b></dt>
  2774. <dd>
  2775. <p>softlimit [-a BYTES] [-m BYTES] [-d BYTES] [-s BYTES] [-l BYTES] [-f BYTES] [-c BYTES] [-r BYTES] [-o N] [-p N] [-t N] PROG ARGS</p>
  2776. <p>Set soft resource limits, then run PROG</p>
  2777. <pre><code> -a BYTES Limit total size of all segments
  2778. -m BYTES Same as -d BYTES -s BYTES -l BYTES -a BYTES
  2779. -d BYTES Limit data segment
  2780. -s BYTES Limit stack segment
  2781. -l BYTES Limit locked memory size
  2782. -o N Limit number of open files per process
  2783. -p N Limit number of processes per uid
  2784. Options controlling file sizes:
  2785. -f BYTES Limit output file sizes
  2786. -c BYTES Limit core file size
  2787. Efficiency opts:
  2788. -r BYTES Limit resident set size
  2789. -t N Limit CPU time, process receives
  2790. a SIGXCPU after N seconds</code></pre>
  2791. </dd>
  2792. <dt id="sort"><b>sort</b></dt>
  2793. <dd>
  2794. <p>sort [-nrugMcszbdfiokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR] [FILE]...</p>
  2795. <p>Sort lines of text</p>
  2796. <pre><code> -o FILE Output to FILE
  2797. -c Check whether input is sorted
  2798. -b Ignore leading blanks
  2799. -f Ignore case
  2800. -i Ignore unprintable characters
  2801. -d Dictionary order (blank or alphanumeric only)
  2802. -g General numerical sort
  2803. -M Sort month
  2804. -n Sort numbers
  2805. -t CHAR Field separator
  2806. -k N[,M] Sort by Nth field
  2807. -r Reverse sort order
  2808. -s Stable (don&#39;t sort ties alphabetically)
  2809. -u Suppress duplicate lines
  2810. -z Lines are terminated by NUL, not newline</code></pre>
  2811. </dd>
  2812. <dt id="split"><b>split</b></dt>
  2813. <dd>
  2814. <p>split [OPTIONS] [INPUT [PREFIX]]</p>
  2815. <pre><code> -b N[k|m] Split by N (kilo|mega)bytes
  2816. -l N Split by N lines
  2817. -a N Use N letters as suffix</code></pre>
  2818. </dd>
  2819. <dt id="ssl_client"><b>ssl_client</b></dt>
  2820. <dd>
  2821. <p>ssl_client -s FD [-r FD] [-n SNI]</p>
  2822. </dd>
  2823. <dt id="start-stop-daemon"><b>start-stop-daemon</b></dt>
  2824. <dd>
  2825. <p>start-stop-daemon [OPTIONS] [-S|-K] ... [-- ARGS...]</p>
  2826. <p>Search for matching processes, and then -K: stop all matching processes -S: start a process unless a matching process is found</p>
  2827. <p>Process matching:</p>
  2828. <pre><code> -u USERNAME|UID Match only this user&#39;s processes
  2829. -n NAME Match processes with NAME
  2830. in comm field in /proc/PID/stat
  2831. -x EXECUTABLE Match processes with this command
  2832. command in /proc/PID/cmdline
  2833. -p FILE Match a process with PID from FILE
  2834. All specified conditions must match
  2835. -S only:
  2836. -x EXECUTABLE Program to run
  2837. -a NAME Zeroth argument
  2838. -b Background
  2839. -N N Change nice level
  2840. -c USER[:[GRP]] Change user/group
  2841. -m Write PID to pidfile specified by -p
  2842. -K only:
  2843. -s SIG Signal to send
  2844. -t Match only, exit with 0 if found
  2845. Other:
  2846. -o Exit with status 0 if nothing is done
  2847. -v Verbose
  2848. -q Quiet</code></pre>
  2849. </dd>
  2850. <dt id="stat"><b>stat</b></dt>
  2851. <dd>
  2852. <p>stat [OPTIONS] FILE...</p>
  2853. <p>Display file (default) or filesystem status</p>
  2854. <pre><code> -c FMT Use the specified format
  2855. -f Display filesystem status
  2856. -L Follow links
  2857. -t Terse display</code></pre>
  2858. <p>FMT sequences for files:</p>
  2859. <pre><code> %a Access rights in octal
  2860. %A Access rights in human readable form
  2861. %b Number of blocks allocated (see %B)
  2862. %B Size in bytes of each block reported by %b
  2863. %d Device number in decimal
  2864. %D Device number in hex
  2865. %f Raw mode in hex
  2866. %F File type
  2867. %g Group ID
  2868. %G Group name
  2869. %h Number of hard links
  2870. %i Inode number
  2871. %n File name
  2872. %N File name, with -&gt; TARGET if symlink
  2873. %o I/O block size
  2874. %s Total size in bytes
  2875. %t Major device type in hex
  2876. %T Minor device type in hex
  2877. %u User ID
  2878. %U User name
  2879. %x Time of last access
  2880. %X Time of last access as seconds since Epoch
  2881. %y Time of last modification
  2882. %Y Time of last modification as seconds since Epoch
  2883. %z Time of last change
  2884. %Z Time of last change as seconds since Epoch</code></pre>
  2885. <p>FMT sequences for file systems:</p>
  2886. <pre><code> %a Free blocks available to non-superuser
  2887. %b Total data blocks
  2888. %c Total file nodes
  2889. %d Free file nodes
  2890. %f Free blocks
  2891. %i File System ID in hex
  2892. %l Maximum length of filenames
  2893. %n File name
  2894. %s Block size (for faster transfer)
  2895. %S Fundamental block size (for block counts)
  2896. %t Type in hex
  2897. %T Type in human readable form</code></pre>
  2898. </dd>
  2899. <dt id="strings"><b>strings</b></dt>
  2900. <dd>
  2901. <p>strings [-fo] [-t o/d/x] [-n LEN] [FILE]...</p>
  2902. <p>Display printable strings in a binary file</p>
  2903. <pre><code> -f Precede strings with filenames
  2904. -o Precede strings with octal offsets
  2905. -t o/d/x Precede strings with offsets in base 8/10/16
  2906. -n LEN At least LEN characters form a string (default 4)</code></pre>
  2907. </dd>
  2908. <dt id="stty"><b>stty</b></dt>
  2909. <dd>
  2910. <p>stty [-a|g] [-F DEVICE] [SETTING]...</p>
  2911. <p>Without arguments, prints baud rate, line discipline, and deviations from stty sane</p>
  2912. <pre><code> -F DEVICE Open device instead of stdin
  2913. -a Print all current settings in human-readable form
  2914. -g Print in stty-readable form
  2915. [SETTING] See manpage</code></pre>
  2916. </dd>
  2917. <dt id="su"><b>su</b></dt>
  2918. <dd>
  2919. <p>su [-lmp] [-] [-s SH] [USER [SCRIPT ARGS / -c &#39;CMD&#39; ARG0 ARGS]]</p>
  2920. <p>Run shell under USER (by default, root)</p>
  2921. <pre><code> -,-l Clear environment, go to home dir, run shell as login shell
  2922. -p,-m Do not set new $HOME, $SHELL, $USER, $LOGNAME
  2923. -c CMD Command to pass to &#39;sh -c&#39;
  2924. -s SH Shell to use instead of user&#39;s default</code></pre>
  2925. </dd>
  2926. <dt id="sulogin"><b>sulogin</b></dt>
  2927. <dd>
  2928. <p>sulogin [-t N] [TTY]</p>
  2929. <p>Single user login</p>
  2930. <pre><code> -t N Timeout</code></pre>
  2931. </dd>
  2932. <dt id="sum"><b>sum</b></dt>
  2933. <dd>
  2934. <p>sum [-rs] [FILE]...</p>
  2935. <p>Checksum and count the blocks in a file</p>
  2936. <pre><code> -r Use BSD sum algorithm (1K blocks)
  2937. -s Use System V sum algorithm (512byte blocks)</code></pre>
  2938. </dd>
  2939. <dt id="sv"><b>sv</b></dt>
  2940. <dd>
  2941. <p>sv [-v] [-w SEC] CMD SERVICE_DIR...</p>
  2942. <p>Control services monitored by runsv supervisor. Commands (only first character is enough):</p>
  2943. <p>status: query service status up: if service isn&#39;t running, start it. If service stops, restart it once: like &#39;up&#39;, but if service stops, don&#39;t restart it down: send TERM and CONT signals. If ./run exits, start ./finish if it exists. After it stops, don&#39;t restart service exit: send TERM and CONT signals to service and log service. If they exit, runsv exits too pause, cont, hup, alarm, interrupt, quit, 1, 2, term, kill: send STOP, CONT, HUP, ALRM, INT, QUIT, USR1, USR2, TERM, KILL signal to service</p>
  2944. </dd>
  2945. <dt id="svc"><b>svc</b></dt>
  2946. <dd>
  2947. <p>svc [-udopchaitkx] SERVICE_DIR...</p>
  2948. <p>Control services monitored by runsv supervisor</p>
  2949. <pre><code> -u If service is not running, start it; restart if it stops
  2950. -d If service is running, send TERM+CONT signals; do not restart it
  2951. -o Once: if service is not running, start it; do not restart it
  2952. -pchaitk Send STOP, CONT, HUP, ALRM, INT, TERM, KILL signal to service
  2953. -x Exit: runsv will exit as soon as the service is down</code></pre>
  2954. </dd>
  2955. <dt id="svlogd"><b>svlogd</b></dt>
  2956. <dd>
  2957. <p>svlogd [-tttv] [-r C] [-R CHARS] [-l MATCHLEN] [-b BUFLEN] DIR...</p>
  2958. <p>Read log data from stdin and write to rotated log files in DIRs</p>
  2959. <p>-r C Replace non-printable characters with C -R CHARS Also replace CHARS with C (default _) -t Timestamp with @tai64n -tt Timestamp with yyyy-mm-dd_hh:mm:ss.sssss -ttt Timestamp with yyyy-mm-ddThh:mm:ss.sssss -v Verbose</p>
  2960. <p>DIR/config file modifies behavior: sSIZE - when to rotate logs (default 1000000, 0 disables) nNUM - number of files to retain !PROG - process rotated log with PROG +,-PATTERN - (de)select line for logging E,ePATTERN - (de)select line for stderr</p>
  2961. </dd>
  2962. <dt id="swapoff"><b>swapoff</b></dt>
  2963. <dd>
  2964. <p>swapoff [-a] [DEVICE]</p>
  2965. <p>Stop swapping on DEVICE</p>
  2966. <pre><code> -a Stop swapping on all swap devices</code></pre>
  2967. </dd>
  2968. <dt id="swapon"><b>swapon</b></dt>
  2969. <dd>
  2970. <p>swapon [-a] [-e] [-d[POL]] [-p PRI] [DEVICE]</p>
  2971. <p>Start swapping on DEVICE</p>
  2972. <pre><code> -a Start swapping on all swap devices
  2973. -d[POL] Discard blocks at swapon (POL=once),
  2974. as freed (POL=pages), or both (POL omitted)
  2975. -e Silently skip devices that do not exist
  2976. -p PRI Set swap device priority</code></pre>
  2977. </dd>
  2978. <dt id="switch_root"><b>switch_root</b></dt>
  2979. <dd>
  2980. <p>switch_root [-c CONSOLE_DEV] NEW_ROOT NEW_INIT [ARGS]</p>
  2981. <p>Free initramfs and switch to another root fs:</p>
  2982. <p>chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /, execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.</p>
  2983. <pre><code> -c DEV Reopen stdio to DEV after switch</code></pre>
  2984. </dd>
  2985. <dt id="sync"><b>sync</b></dt>
  2986. <dd>
  2987. <p>sync [-df] [FILE]...</p>
  2988. <p>Write all buffered blocks (in FILEs) to disk -d Avoid syncing metadata -f Sync filesystems underlying FILEs</p>
  2989. </dd>
  2990. <dt id="sysctl"><b>sysctl</b></dt>
  2991. <dd>
  2992. <p>sysctl -p [-enq] [FILE...] / [-enqaw] [KEY[=VALUE]]...</p>
  2993. <p>Show/set kernel parameters</p>
  2994. <pre><code> -p Set values from FILEs (default /etc/sysctl.conf)
  2995. -e Don&#39;t warn about unknown keys
  2996. -n Don&#39;t show key names
  2997. -q Quiet
  2998. -a Show all values
  2999. -w Set values</code></pre>
  3000. </dd>
  3001. <dt id="syslogd"><b>syslogd</b></dt>
  3002. <dd>
  3003. <p>syslogd [OPTIONS]</p>
  3004. <p>System logging utility</p>
  3005. <pre><code> -n Run in foreground
  3006. -R HOST[:PORT] Log to HOST:PORT (default PORT:514)
  3007. -L Log locally and via network (default is network only if -R)
  3008. -C[size_kb] Log to shared mem buffer (use logread to read it)
  3009. -K Log to kernel printk buffer (use dmesg to read it)
  3010. -O FILE Log to FILE (default: /var/log/messages, stdout if -)
  3011. -s SIZE Max size (KB) before rotation (default 200KB, 0=off)
  3012. -b N N rotated logs to keep (default 1, max 99, 0=purge)
  3013. -l N Log only messages more urgent than prio N (1-8)
  3014. -S Smaller output
  3015. -D Drop duplicates
  3016. -f FILE Use FILE as config (default:/etc/syslog.conf)</code></pre>
  3017. </dd>
  3018. <dt id="tac"><b>tac</b></dt>
  3019. <dd>
  3020. <p>tac [FILE]...</p>
  3021. <p>Concatenate FILEs and print them in reverse</p>
  3022. </dd>
  3023. <dt id="tail"><b>tail</b></dt>
  3024. <dd>
  3025. <p>tail [OPTIONS] [FILE]...</p>
  3026. <p>Print last 10 lines of each FILE (or stdin) to stdout. With more than one FILE, precede each with a filename header.</p>
  3027. <pre><code> -f Print data as file grows
  3028. -c [+]N[kbm] Print last N bytes
  3029. -n N[kbm] Print last N lines
  3030. -n +N[kbm] Start on Nth line and print the rest
  3031. -q Never print headers
  3032. -s SECONDS Wait SECONDS between reads with -f
  3033. -v Always print headers
  3034. -F Same as -f, but keep retrying</code></pre>
  3035. <p>N may be suffixed by k (x1024), b (x512), or m (x1024^2).</p>
  3036. </dd>
  3037. <dt id="tar"><b>tar</b></dt>
  3038. <dd>
  3039. <p>tar c|x|t [-zJjahmvO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [--exclude PATTERN]... [FILE]...</p>
  3040. <p>Create, extract, or list files from a tar file</p>
  3041. <p>Operation:</p>
  3042. <pre><code> c Create
  3043. x Extract
  3044. t List
  3045. -f FILE Name of TARFILE (&#39;-&#39; for stdin/out)
  3046. -C DIR Change to DIR before operation
  3047. -v Verbose
  3048. -z (De)compress using gzip
  3049. -J (De)compress using xz
  3050. -j (De)compress using bzip2
  3051. -a (De)compress using lzma
  3052. -O Extract to stdout
  3053. -h Follow symlinks
  3054. -m Don&#39;t restore mtime
  3055. -T FILE File with names to include
  3056. -X FILE File with glob patterns to exclude
  3057. --exclude PATTERN Glob pattern to exclude</code></pre>
  3058. </dd>
  3059. <dt id="taskset"><b>taskset</b></dt>
  3060. <dd>
  3061. <p>taskset [-p] [HEXMASK] PID | PROG ARGS</p>
  3062. <p>Set or get CPU affinity</p>
  3063. <pre><code> -p Operate on an existing PID</code></pre>
  3064. </dd>
  3065. <dt id="tcpsvd"><b>tcpsvd</b></dt>
  3066. <dd>
  3067. <p>tcpsvd [-hEv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] IP PORT PROG</p>
  3068. <p>Create TCP socket, bind to IP:PORT and listen for incoming connections. Run PROG for each connection.</p>
  3069. <pre><code> IP PORT IP:PORT to listen on
  3070. PROG ARGS Program to run
  3071. -u USER[:GRP] Change to user/group after bind
  3072. -c N Up to N connections simultaneously (default 30)
  3073. -b N Allow backlog of approximately N TCP SYNs (default 20)
  3074. -C N[:MSG] Allow only up to N connections from the same IP:
  3075. new connections from this IP address are closed
  3076. immediately, MSG is written to the peer before close
  3077. -E Don&#39;t set up environment
  3078. -h Look up peer&#39;s hostname
  3079. -l NAME Local hostname (else look up local hostname in DNS)
  3080. -v Verbose</code></pre>
  3081. <p>Environment if no -E: PROTO=&#39;TCP&#39; TCPREMOTEADDR=&#39;ip:port&#39; (&#39;[ip]:port&#39; for IPv6) TCPLOCALADDR=&#39;ip:port&#39; TCPORIGDSTADDR=&#39;ip:port&#39; of destination before firewall Useful for REDIRECTed-to-local connections: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080 TCPCONCURRENCY=num_of_connects_from_this_ip If -h: TCPLOCALHOST=&#39;hostname&#39; (-l NAME is used if specified) TCPREMOTEHOST=&#39;hostname&#39;</p>
  3082. </dd>
  3083. <dt id="tee"><b>tee</b></dt>
  3084. <dd>
  3085. <p>tee [-ai] [FILE]...</p>
  3086. <p>Copy stdin to each FILE, and also to stdout</p>
  3087. <pre><code> -a Append to the given FILEs, don&#39;t overwrite
  3088. -i Ignore interrupt signals (SIGINT)</code></pre>
  3089. </dd>
  3090. <dt id="telnet"><b>telnet</b></dt>
  3091. <dd>
  3092. <p>telnet [-a] [-l USER] HOST [PORT]</p>
  3093. <p>Connect to telnet server</p>
  3094. <pre><code> -a Automatic login with $USER variable
  3095. -l USER Automatic login as USER</code></pre>
  3096. </dd>
  3097. <dt id="telnetd"><b>telnetd</b></dt>
  3098. <dd>
  3099. <p>telnetd [OPTIONS]</p>
  3100. <p>Handle incoming telnet connections</p>
  3101. <pre><code> -l LOGIN Exec LOGIN on connect
  3102. -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue
  3103. -K Close connection as soon as login exits
  3104. (normally wait until all programs close slave pty)
  3105. -p PORT Port to listen on
  3106. -b ADDR[:PORT] Address to bind to
  3107. -F Run in foreground
  3108. -i Inetd mode
  3109. -w SEC Inetd &#39;wait&#39; mode, linger time SEC
  3110. -S Log to syslog (implied by -i or without -F and -w)</code></pre>
  3111. </dd>
  3112. <dt id="tftp"><b>tftp</b></dt>
  3113. <dd>
  3114. <p>tftp [OPTIONS] HOST [PORT]</p>
  3115. <p>Transfer a file from/to tftp server</p>
  3116. <pre><code> -l FILE Local FILE
  3117. -r FILE Remote FILE
  3118. -g Get file
  3119. -p Put file
  3120. -b SIZE Transfer blocks of SIZE octets</code></pre>
  3121. </dd>
  3122. <dt id="tftpd"><b>tftpd</b></dt>
  3123. <dd>
  3124. <p>tftpd [-cr] [-u USER] [DIR]</p>
  3125. <p>Transfer a file on tftp client&#39;s request</p>
  3126. <p>tftpd should be used as an inetd service. tftpd&#39;s line for inetd.conf: 69 dgram udp nowait root tftpd tftpd -l /files/to/serve It also can be ran from udpsvd:</p>
  3127. <pre><code> udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve
  3128. -r Prohibit upload
  3129. -c Allow file creation via upload
  3130. -u Access files as USER
  3131. -l Log to syslog (inetd mode requires this)</code></pre>
  3132. </dd>
  3133. <dt id="time"><b>time</b></dt>
  3134. <dd>
  3135. <p>time [-vpa] [-o FILE] PROG ARGS</p>
  3136. <p>Run PROG, display resource usage when it exits</p>
  3137. <pre><code> -v Verbose
  3138. -p POSIX output format
  3139. -f FMT Custom format
  3140. -o FILE Write result to FILE
  3141. -a Append (else overwrite)</code></pre>
  3142. </dd>
  3143. <dt id="timeout"><b>timeout</b></dt>
  3144. <dd>
  3145. <p>timeout [-t SECS] [-s SIG] PROG ARGS</p>
  3146. <p>Runs PROG. Sends SIG to it if it is not gone in SECS seconds. Defaults: SECS: 10, SIG: TERM.</p>
  3147. </dd>
  3148. <dt id="top"><b>top</b></dt>
  3149. <dd>
  3150. <p>top [-b] [-nCOUNT] [-dSECONDS] [-m]</p>
  3151. <p>Provide a view of process activity in real time. Read the status of all processes from /proc each SECONDS and display a screenful of them. Keys:</p>
  3152. <pre><code> N/M/P/T: show CPU usage, sort by pid/mem/cpu/time
  3153. S: show memory
  3154. R: reverse sort
  3155. H: toggle threads, 1: toggle SMP
  3156. Q,^C: exit</code></pre>
  3157. <p>Options:</p>
  3158. <pre><code> -b Batch mode
  3159. -n N Exit after N iterations
  3160. -d N Delay between updates
  3161. -m Same as &#39;s&#39; key</code></pre>
  3162. </dd>
  3163. <dt id="touch"><b>touch</b></dt>
  3164. <dd>
  3165. <p>touch [-c] [-d DATE] [-t DATE] [-r FILE] FILE...</p>
  3166. <p>Update the last-modified date on the given FILE[s]</p>
  3167. <pre><code> -c Don&#39;t create files
  3168. -h Don&#39;t follow links
  3169. -d DT Date/time to use
  3170. -t DT Date/time to use
  3171. -r FILE Use FILE&#39;s date/time</code></pre>
  3172. </dd>
  3173. <dt id="tr"><b>tr</b></dt>
  3174. <dd>
  3175. <p>tr [-cds] STRING1 [STRING2]</p>
  3176. <p>Translate, squeeze, or delete characters from stdin, writing to stdout</p>
  3177. <pre><code> -c Take complement of STRING1
  3178. -d Delete input characters coded STRING1
  3179. -s Squeeze multiple output characters of STRING2 into one character</code></pre>
  3180. </dd>
  3181. <dt id="traceroute"><b>traceroute</b></dt>
  3182. <dd>
  3183. <p>traceroute [-46FIlnrv] [-f 1ST_TTL] [-m MAXTTL] [-q PROBES] [-p PORT] [-t TOS] [-w WAIT_SEC] [-s SRC_IP] [-i IFACE] [-z PAUSE_MSEC] HOST [BYTES]</p>
  3184. <p>Trace the route to HOST</p>
  3185. <pre><code> -4,-6 Force IP or IPv6 name resolution
  3186. -F Set don&#39;t fragment bit
  3187. -I Use ICMP ECHO instead of UDP datagrams
  3188. -l Display TTL value of the returned packet
  3189. -n Print numeric addresses
  3190. -r Bypass routing tables, send directly to HOST
  3191. -v Verbose
  3192. -f N First number of hops (default 1)
  3193. -m N Max number of hops
  3194. -q N Number of probes per hop (default 3)
  3195. -p N Base UDP port number used in probes
  3196. (default 33434)
  3197. -s IP Source address
  3198. -i IFACE Source interface
  3199. -t N Type-of-service in probe packets (default 0)
  3200. -w SEC Time to wait for a response (default 3)
  3201. -g IP Loose source route gateway (8 max)</code></pre>
  3202. </dd>
  3203. <dt id="traceroute6"><b>traceroute6</b></dt>
  3204. <dd>
  3205. <p>traceroute6 [-nrv] [-m MAXTTL] [-q PROBES] [-p PORT] [-t TOS] [-w WAIT_SEC] [-s SRC_IP] [-i IFACE] HOST [BYTES]</p>
  3206. <p>Trace the route to HOST</p>
  3207. <pre><code> -n Print numeric addresses
  3208. -r Bypass routing tables, send directly to HOST
  3209. -v Verbose
  3210. -m N Max number of hops
  3211. -q N Number of probes per hop (default 3)
  3212. -p N Base UDP port number used in probes
  3213. (default 33434)
  3214. -s IP Source address
  3215. -i IFACE Source interface
  3216. -t N Type-of-service in probe packets (default 0)
  3217. -w SEC Time wait for a response (default 3)</code></pre>
  3218. </dd>
  3219. <dt id="truncate"><b>truncate</b></dt>
  3220. <dd>
  3221. <p>truncate [-c] -s SIZE FILE...</p>
  3222. <p>Truncate FILEs to the given size</p>
  3223. <pre><code> -c Do not create files
  3224. -s SIZE Truncate to SIZE</code></pre>
  3225. </dd>
  3226. <dt id="tty"><b>tty</b></dt>
  3227. <dd>
  3228. <p>tty</p>
  3229. <p>Print file name of stdin&#39;s terminal</p>
  3230. <pre><code> -s Print nothing, only return exit status</code></pre>
  3231. </dd>
  3232. <dt id="ttysize"><b>ttysize</b></dt>
  3233. <dd>
  3234. <p>ttysize [w] [h]</p>
  3235. <p>Print dimensions of stdin tty, or 80x24</p>
  3236. </dd>
  3237. <dt id="tunctl"><b>tunctl</b></dt>
  3238. <dd>
  3239. <p>tunctl [-f device] ([-t name] | -d name) [-u owner] [-g group] [-b]</p>
  3240. <p>Create or delete tun interfaces</p>
  3241. <pre><code> -f name tun device (/dev/net/tun)
  3242. -t name Create iface &#39;name&#39;
  3243. -d name Delete iface &#39;name&#39;
  3244. -u owner Set iface owner
  3245. -g group Set iface group
  3246. -b Brief output</code></pre>
  3247. </dd>
  3248. <dt id="ubiattach"><b>ubiattach</b></dt>
  3249. <dd>
  3250. <p>ubiattach -m MTD_NUM [-d UBI_NUM] [-O VID_HDR_OFF] UBI_CTRL_DEV</p>
  3251. <p>Attach MTD device to UBI</p>
  3252. <pre><code> -m MTD_NUM MTD device number to attach
  3253. -d UBI_NUM UBI device number to assign
  3254. -O VID_HDR_OFF VID header offset</code></pre>
  3255. </dd>
  3256. <dt id="ubidetach"><b>ubidetach</b></dt>
  3257. <dd>
  3258. <p>ubidetach -d UBI_NUM UBI_CTRL_DEV</p>
  3259. <p>Detach MTD device from UBI</p>
  3260. <pre><code> -d UBI_NUM UBI device number</code></pre>
  3261. </dd>
  3262. <dt id="ubimkvol"><b>ubimkvol</b></dt>
  3263. <dd>
  3264. <p>ubimkvol -N NAME [-s SIZE | -m] UBI_DEVICE</p>
  3265. <p>Create UBI volume</p>
  3266. <pre><code> -a ALIGNMENT Volume alignment (default 1)
  3267. -m Set volume size to maximum available
  3268. -n VOLID Volume ID. If not specified,
  3269. assigned automatically
  3270. -N NAME Volume name
  3271. -s SIZE Size in bytes
  3272. -t TYPE Volume type (static|dynamic)</code></pre>
  3273. </dd>
  3274. <dt id="ubirename"><b>ubirename</b></dt>
  3275. <dd>
  3276. <p>ubirename UBI_DEVICE OLD_VOLNAME NEW_VOLNAME [OLD2 NEW2]...</p>
  3277. <p>Rename UBI volumes on UBI_DEVICE</p>
  3278. </dd>
  3279. <dt id="ubirmvol"><b>ubirmvol</b></dt>
  3280. <dd>
  3281. <p>ubirmvol -n VOLID / -N VOLNAME UBI_DEVICE</p>
  3282. <p>Remove UBI volume</p>
  3283. <pre><code> -n VOLID Volume ID
  3284. -N VOLNAME Volume name</code></pre>
  3285. </dd>
  3286. <dt id="ubirsvol"><b>ubirsvol</b></dt>
  3287. <dd>
  3288. <p>ubirsvol -n VOLID -s SIZE UBI_DEVICE</p>
  3289. <p>Resize UBI volume</p>
  3290. <pre><code> -n VOLID Volume ID
  3291. -s SIZE Size in bytes</code></pre>
  3292. </dd>
  3293. <dt id="ubiupdatevol"><b>ubiupdatevol</b></dt>
  3294. <dd>
  3295. <p>ubiupdatevol -t UBI_DEVICE | [-s SIZE] UBI_DEVICE IMG_FILE</p>
  3296. <p>Update UBI volume</p>
  3297. <pre><code> -t Truncate to zero size
  3298. -s SIZE Size in bytes to resize to</code></pre>
  3299. </dd>
  3300. <dt id="udhcpc"><b>udhcpc</b></dt>
  3301. <dd>
  3302. <p>udhcpc [-fbqvRB] [-a[MSEC]] [-t N] [-T SEC] [-A SEC/-n] [-i IFACE] [-s PROG] [-p PIDFILE] [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]...</p>
  3303. <pre><code> -i IFACE Interface to use (default eth0)
  3304. -s PROG Run PROG at DHCP events (default /usr/share/udhcpc/default.script)
  3305. -p FILE Create pidfile
  3306. -B Request broadcast replies
  3307. -t N Send up to N discover packets (default 3)
  3308. -T SEC Pause between packets (default 3)
  3309. -A SEC Wait if lease is not obtained (default 20)
  3310. -n Exit if lease is not obtained
  3311. -q Exit after obtaining lease
  3312. -R Release IP on exit
  3313. -f Run in foreground
  3314. -b Background if lease is not obtained
  3315. -S Log to syslog too
  3316. -a[MSEC] Validate offered address with ARP ping
  3317. -r IP Request this IP address
  3318. -o Don&#39;t request any options (unless -O is given)
  3319. -O OPT Request option OPT from server (cumulative)
  3320. -x OPT:VAL Include option OPT in sent packets (cumulative)
  3321. Examples of string, numeric, and hex byte opts:
  3322. -x hostname:bbox - option 12
  3323. -x lease:3600 - option 51 (lease time)
  3324. -x 0x3d:0100BEEFC0FFEE - option 61 (client id)
  3325. -F NAME Ask server to update DNS mapping for NAME
  3326. -V VENDOR Vendor identifier (default &#39;udhcp VERSION&#39;)
  3327. -C Don&#39;t send MAC as client identifier
  3328. -v Verbose
  3329. Signals:
  3330. USR1 Renew lease
  3331. USR2 Release lease</code></pre>
  3332. </dd>
  3333. <dt id="udhcpd"><b>udhcpd</b></dt>
  3334. <dd>
  3335. <p>udhcpd [-fS] [-I ADDR] [CONFFILE]</p>
  3336. <p>DHCP server</p>
  3337. <pre><code> -f Run in foreground
  3338. -S Log to syslog too
  3339. -I ADDR Local address
  3340. -a MSEC Timeout for ARP ping (default 2000)</code></pre>
  3341. </dd>
  3342. <dt id="udpsvd"><b>udpsvd</b></dt>
  3343. <dd>
  3344. <p>udpsvd [-hEv] [-c N] [-u USER] [-l NAME] IP PORT PROG</p>
  3345. <p>Create UDP socket, bind to IP:PORT and wait for incoming packets. Run PROG for each packet, redirecting all further packets with same peer ip:port to it.</p>
  3346. <pre><code> IP PORT IP:PORT to listen on
  3347. PROG ARGS Program to run
  3348. -u USER[:GRP] Change to user/group after bind
  3349. -c N Up to N connections simultaneously (default 30)
  3350. -E Don&#39;t set up environment
  3351. -h Look up peer&#39;s hostname
  3352. -l NAME Local hostname (else look up local hostname in DNS)
  3353. -v Verbose</code></pre>
  3354. <p>Environment if no -E: PROTO=&#39;UDP&#39; UDPREMOTEADDR=&#39;ip:port&#39; (&#39;[ip]:port&#39; for IPv6) UDPLOCALADDR=&#39;ip:port&#39; If -h: UDPLOCALHOST=&#39;hostname&#39; (-l NAME is used if specified) UDPREMOTEHOST=&#39;hostname&#39;</p>
  3355. </dd>
  3356. <dt id="uevent"><b>uevent</b></dt>
  3357. <dd>
  3358. <p>uevent [PROG [ARGS]]</p>
  3359. <p>uevent runs PROG for every netlink notification. PROG&#39;s environment contains data passed from the kernel. Typical usage (daemon for dynamic device node creation): # uevent mdev &amp; mdev -s</p>
  3360. </dd>
  3361. <dt id="umount"><b>umount</b></dt>
  3362. <dd>
  3363. <p>umount [OPTIONS] FILESYSTEM|DIRECTORY</p>
  3364. <p>Unmount file systems</p>
  3365. <pre><code> -a Unmount all file systems
  3366. -r Try to remount devices as read-only if mount is busy
  3367. -l Lazy umount (detach filesystem)
  3368. -f Force umount (i.e., unreachable NFS server)
  3369. -d Free loop device if it has been used</code></pre>
  3370. </dd>
  3371. <dt id="uname"><b>uname</b></dt>
  3372. <dd>
  3373. <p>uname [-amnrspvio]</p>
  3374. <p>Print system information</p>
  3375. <pre><code> -a Print all
  3376. -m The machine (hardware) type
  3377. -n Hostname
  3378. -r Kernel release
  3379. -s Kernel name (default)
  3380. -p Processor type
  3381. -v Kernel version
  3382. -i The hardware platform
  3383. -o OS name</code></pre>
  3384. </dd>
  3385. <dt id="unexpand"><b>unexpand</b></dt>
  3386. <dd>
  3387. <p>unexpand [-fa][-t N] [FILE]...</p>
  3388. <p>Convert spaces to tabs, writing to stdout</p>
  3389. <pre><code> -a Convert all blanks
  3390. -f Convert only leading blanks
  3391. -t N Tabstops every N chars</code></pre>
  3392. </dd>
  3393. <dt id="uniq"><b>uniq</b></dt>
  3394. <dd>
  3395. <p>uniq [-cdu][-f,s,w N] [INPUT [OUTPUT]]</p>
  3396. <p>Discard duplicate lines</p>
  3397. <pre><code> -c Prefix lines by the number of occurrences
  3398. -d Only print duplicate lines
  3399. -u Only print unique lines
  3400. -i Ignore case
  3401. -f N Skip first N fields
  3402. -s N Skip first N chars (after any skipped fields)
  3403. -w N Compare N characters in line</code></pre>
  3404. </dd>
  3405. <dt id="unix2dos"><b>unix2dos</b></dt>
  3406. <dd>
  3407. <p>unix2dos [-ud] [FILE]</p>
  3408. <p>Convert FILE in-place from Unix to DOS format. When no file is given, use stdin/stdout.</p>
  3409. <pre><code> -u dos2unix
  3410. -d unix2dos</code></pre>
  3411. </dd>
  3412. <dt id="unlink"><b>unlink</b></dt>
  3413. <dd>
  3414. <p>unlink FILE</p>
  3415. <p>Delete FILE by calling unlink()</p>
  3416. </dd>
  3417. <dt id="unlzma"><b>unlzma</b></dt>
  3418. <dd>
  3419. <p>unlzma [-cfk] [FILE]...</p>
  3420. <p>Decompress FILE (or stdin)</p>
  3421. <pre><code> -c Write to stdout
  3422. -f Force
  3423. -k Keep input files</code></pre>
  3424. </dd>
  3425. <dt id="unshare"><b>unshare</b></dt>
  3426. <dd>
  3427. <p>unshare [OPTIONS] [PROG [ARGS]]</p>
  3428. <pre><code> -m,--mount[=FILE] Unshare mount namespace
  3429. -u,--uts[=FILE] Unshare UTS namespace (hostname etc.)
  3430. -i,--ipc[=FILE] Unshare System V IPC namespace
  3431. -n,--net[=FILE] Unshare network namespace
  3432. -p,--pid[=FILE] Unshare PID namespace
  3433. -U,--user[=FILE] Unshare user namespace
  3434. -f,--fork Fork before execing PROG
  3435. -r,--map-root-user Map current user to root (implies -U)
  3436. --mount-proc[=DIR] Mount /proc filesystem first (implies -m)
  3437. --propagation slave|shared|private|unchanged
  3438. Modify mount propagation in mount namespace
  3439. --setgroups allow|deny Control the setgroups syscall in user namespaces</code></pre>
  3440. </dd>
  3441. <dt id="unxz"><b>unxz</b></dt>
  3442. <dd>
  3443. <p>unxz [-cfk] [FILE]...</p>
  3444. <p>Decompress FILE (or stdin)</p>
  3445. <pre><code> -c Write to stdout
  3446. -f Force
  3447. -k Keep input files</code></pre>
  3448. </dd>
  3449. <dt id="unzip"><b>unzip</b></dt>
  3450. <dd>
  3451. <p>unzip [-lnojpq] FILE[.zip] [FILE]... [-x FILE...] [-d DIR]</p>
  3452. <p>Extract FILEs from ZIP archive</p>
  3453. <pre><code> -l List contents (with -q for short form)
  3454. -n Never overwrite files (default: ask)
  3455. -o Overwrite
  3456. -j Do not restore paths
  3457. -p Print to stdout
  3458. -q Quiet
  3459. -x FILE Exclude FILEs
  3460. -d DIR Extract into DIR</code></pre>
  3461. </dd>
  3462. <dt id="uptime"><b>uptime</b></dt>
  3463. <dd>
  3464. <p>uptime</p>
  3465. <p>Display the time since the last boot</p>
  3466. </dd>
  3467. <dt id="users"><b>users</b></dt>
  3468. <dd>
  3469. <p>users</p>
  3470. <p>Print the users currently logged on</p>
  3471. </dd>
  3472. <dt id="usleep"><b>usleep</b></dt>
  3473. <dd>
  3474. <p>usleep N</p>
  3475. <p>Pause for N microseconds</p>
  3476. </dd>
  3477. <dt id="uudecode"><b>uudecode</b></dt>
  3478. <dd>
  3479. <p>uudecode [-o OUTFILE] [INFILE]</p>
  3480. <p>Uudecode a file Finds OUTFILE in uuencoded source unless -o is given</p>
  3481. </dd>
  3482. <dt id="uuencode"><b>uuencode</b></dt>
  3483. <dd>
  3484. <p>uuencode [-m] [FILE] STORED_FILENAME</p>
  3485. <p>Uuencode FILE (or stdin) to stdout</p>
  3486. <pre><code> -m Use base64 encoding per RFC1521</code></pre>
  3487. </dd>
  3488. <dt id="vconfig"><b>vconfig</b></dt>
  3489. <dd>
  3490. <p>vconfig COMMAND [OPTIONS]</p>
  3491. <p>Create and remove virtual ethernet devices</p>
  3492. <pre><code> add IFACE VLAN_ID
  3493. rem VLAN_NAME
  3494. set_flag IFACE 0|1 VLAN_QOS
  3495. set_egress_map VLAN_NAME SKB_PRIO VLAN_QOS
  3496. set_ingress_map VLAN_NAME SKB_PRIO VLAN_QOS
  3497. set_name_type NAME_TYPE</code></pre>
  3498. </dd>
  3499. <dt id="vi"><b>vi</b></dt>
  3500. <dd>
  3501. <p>vi [OPTIONS] [FILE]...</p>
  3502. <p>Edit FILE</p>
  3503. <pre><code> -c CMD Initial command to run ($EXINIT also available)
  3504. -R Read-only
  3505. -H List available features</code></pre>
  3506. </dd>
  3507. <dt id="vlock"><b>vlock</b></dt>
  3508. <dd>
  3509. <p>vlock [-a]</p>
  3510. <p>Lock a virtual terminal. A password is required to unlock.</p>
  3511. <pre><code> -a Lock all VTs</code></pre>
  3512. </dd>
  3513. <dt id="volname"><b>volname</b></dt>
  3514. <dd>
  3515. <p>volname [DEVICE]</p>
  3516. <p>Show CD volume name of the DEVICE (default /dev/cdrom)</p>
  3517. </dd>
  3518. <dt id="w"><b>w</b></dt>
  3519. <dd>
  3520. <p>w</p>
  3521. <p>Show who is logged on</p>
  3522. </dd>
  3523. <dt id="wall"><b>wall</b></dt>
  3524. <dd>
  3525. <p>wall [FILE]</p>
  3526. <p>Write content of FILE or stdin to all logged-in users</p>
  3527. </dd>
  3528. <dt id="watch"><b>watch</b></dt>
  3529. <dd>
  3530. <p>watch [-n SEC] [-t] PROG ARGS</p>
  3531. <p>Run PROG periodically</p>
  3532. <pre><code> -n Loop period in seconds (default 2)
  3533. -t Don&#39;t print header</code></pre>
  3534. </dd>
  3535. <dt id="watchdog"><b>watchdog</b></dt>
  3536. <dd>
  3537. <p>watchdog [-t N[ms]] [-T N[ms]] [-F] DEV</p>
  3538. <p>Periodically write to watchdog device DEV</p>
  3539. <pre><code> -T N Reboot after N seconds if not reset (default 60)
  3540. -t N Reset every N seconds (default 30)
  3541. -F Run in foreground</code></pre>
  3542. <p>Use 500ms to specify period in milliseconds</p>
  3543. </dd>
  3544. <dt id="wc"><b>wc</b></dt>
  3545. <dd>
  3546. <p>wc [-cmlwL] [FILE]...</p>
  3547. <p>Count lines, words, and bytes for each FILE (or stdin)</p>
  3548. <pre><code> -c Count bytes
  3549. -m Count characters
  3550. -l Count newlines
  3551. -w Count words
  3552. -L Print longest line length</code></pre>
  3553. </dd>
  3554. <dt id="wget"><b>wget</b></dt>
  3555. <dd>
  3556. <p>wget [-c|--continue] [--spider] [-q|--quiet] [-O|--output-document FILE] [--header &#39;header: value&#39;] [-Y|--proxy on/off] [-P DIR] [-S|--server-response] [-U|--user-agent AGENT] [-T SEC] URL...</p>
  3557. <p>Retrieve files via HTTP or FTP</p>
  3558. <pre><code> --spider Only check URL existence: $? is 0 if exists
  3559. -c Continue retrieval of aborted transfer
  3560. -q Quiet
  3561. -P DIR Save to DIR (default .)
  3562. -S Show server response
  3563. -T SEC Network read timeout is SEC seconds
  3564. -O FILE Save to FILE (&#39;-&#39; for stdout)
  3565. -U STR Use STR for User-Agent header
  3566. -Y on/off Use proxy</code></pre>
  3567. </dd>
  3568. <dt id="which"><b>which</b></dt>
  3569. <dd>
  3570. <p>which [COMMAND]...</p>
  3571. <p>Locate a COMMAND</p>
  3572. </dd>
  3573. <dt id="who"><b>who</b></dt>
  3574. <dd>
  3575. <p>who [-a]</p>
  3576. <p>Show who is logged on</p>
  3577. <pre><code> -a Show all
  3578. -H Print column headers</code></pre>
  3579. </dd>
  3580. <dt id="whoami"><b>whoami</b></dt>
  3581. <dd>
  3582. <p>whoami</p>
  3583. <p>Print the user name associated with the current effective user id</p>
  3584. </dd>
  3585. <dt id="whois"><b>whois</b></dt>
  3586. <dd>
  3587. <p>whois [-i] [-h SERVER] [-p PORT] NAME...</p>
  3588. <p>Query WHOIS info about NAME</p>
  3589. <pre><code> -i Show redirect results too
  3590. -h,-p Server to query</code></pre>
  3591. </dd>
  3592. <dt id="xargs"><b>xargs</b></dt>
  3593. <dd>
  3594. <p>xargs [OPTIONS] [PROG ARGS]</p>
  3595. <p>Run PROG on every item given by stdin</p>
  3596. <pre><code> -p Ask user whether to run each command
  3597. -r Don&#39;t run command if input is empty
  3598. -0 Input is separated by NUL characters
  3599. -a FILE Read from FILE instead of stdin
  3600. -t Print the command on stderr before execution
  3601. -e[STR] STR stops input processing
  3602. -n N Pass no more than N args to PROG
  3603. -s N Pass command line of no more than N bytes
  3604. -I STR Replace STR within PROG ARGS with input line
  3605. -P N Run up to N PROGs in parallel
  3606. -x Exit if size is exceeded</code></pre>
  3607. </dd>
  3608. <dt id="xxd"><b>xxd</b></dt>
  3609. <dd>
  3610. <p>xxd [OPTIONS] [FILE]</p>
  3611. <p>Hex dump FILE (or stdin)</p>
  3612. <pre><code> -g N Bytes per group
  3613. -c N Bytes per line
  3614. -p Show only hex bytes, assumes -c30
  3615. -l LENGTH Show only first LENGTH bytes
  3616. -s OFFSET Skip OFFSET bytes</code></pre>
  3617. </dd>
  3618. <dt id="xz"><b>xz</b></dt>
  3619. <dd>
  3620. <p>xz -d [-cfk] [FILE]...</p>
  3621. <p>Decompress FILE (or stdin)</p>
  3622. <pre><code> -d Decompress
  3623. -c Write to stdout
  3624. -f Force
  3625. -k Keep input files</code></pre>
  3626. </dd>
  3627. <dt id="xzcat"><b>xzcat</b></dt>
  3628. <dd>
  3629. <p>xzcat [FILE]...</p>
  3630. <p>Decompress to stdout</p>
  3631. </dd>
  3632. <dt id="yes"><b>yes</b></dt>
  3633. <dd>
  3634. <p>yes [STRING]</p>
  3635. <p>Repeatedly output a line with STRING, or &#39;y&#39;</p>
  3636. </dd>
  3637. <dt id="zcat"><b>zcat</b></dt>
  3638. <dd>
  3639. <p>zcat [FILE]...</p>
  3640. <p>Decompress to stdout</p>
  3641. </dd>
  3642. <dt id="zcip"><b>zcip</b></dt>
  3643. <dd>
  3644. <p>zcip [OPTIONS] IFACE SCRIPT</p>
  3645. <p>Manage a ZeroConf IPv4 link-local address</p>
  3646. <pre><code> -f Run in foreground
  3647. -q Quit after obtaining address
  3648. -r 169.254.x.x Request this address first
  3649. -l x.x.0.0 Use this range instead of 169.254
  3650. -v Verbose</code></pre>
  3651. <p>$LOGGING=none Suppress logging $LOGGING=syslog Log to syslog</p>
  3652. <p>With no -q, runs continuously monitoring for ARP conflicts, exits only on I/O errors (link down etc)</p>
  3653. </dd>
  3654. </dl>
  3655. <h1 id="LIBC-NSS">LIBC NSS</h1>
  3656. <p>GNU Libc (glibc) uses the Name Service Switch (NSS) to configure the behavior of the C library for the local environment, and to configure how it reads system data, such as passwords and group information. This is implemented using an /etc/nsswitch.conf configuration file, and using one or more of the /lib/libnss_* libraries. BusyBox tries to avoid using any libc calls that make use of NSS. Some applets however, such as login and su, will use libc functions that require NSS.</p>
  3657. <p>If you enable CONFIG_USE_BB_PWD_GRP, BusyBox will use internal functions to directly access the /etc/passwd, /etc/group, and /etc/shadow files without using NSS. This may allow you to run your system without the need for installing any of the NSS configuration files and libraries.</p>
  3658. <p>When used with glibc, the BusyBox &#39;networking&#39; applets will similarly require that you install at least some of the glibc NSS stuff (in particular, /etc/nsswitch.conf, /lib/libnss_dns*, /lib/libnss_files*, and /lib/libresolv*).</p>
  3659. <p>Shameless Plug: As an alternative, one could use a C library such as uClibc. In addition to making your system significantly smaller, uClibc does not require the use of any NSS support files or libraries.</p>
  3660. <h1 id="MAINTAINER">MAINTAINER</h1>
  3661. <p>Denis Vlasenko &lt;vda.linux@googlemail.com&gt;</p>
  3662. <h1 id="AUTHORS">AUTHORS</h1>
  3663. <p>The following people have contributed code to BusyBox whether they know it or not. If you have written code included in BusyBox, you should probably be listed here so you can obtain your bit of eternal glory. If you should be listed here, or the description of what you have done needs more detail, or is incorrect, please send in an update.</p>
  3664. <br>
  3665. <p>Emanuele Aina &lt;emanuele.aina@tiscali.it&gt; run-parts</p>
  3666. <br>
  3667. <p>Erik Andersen &lt;andersen@codepoet.org&gt;</p>
  3668. <pre><code> Tons of new stuff, major rewrite of most of the
  3669. core apps, tons of new apps as noted in header files.
  3670. Lots of tedious effort writing these boring docs that
  3671. nobody is going to actually read.</code></pre>
  3672. <br>
  3673. <p>Laurence Anderson &lt;l.d.anderson@warwick.ac.uk&gt;</p>
  3674. <pre><code> rpm2cpio, unzip, get_header_cpio, read_gz interface, rpm</code></pre>
  3675. <br>
  3676. <p>Jeff Angielski &lt;jeff@theptrgroup.com&gt;</p>
  3677. <pre><code> ftpput, ftpget</code></pre>
  3678. <br>
  3679. <p>Edward Betts &lt;edward@debian.org&gt;</p>
  3680. <pre><code> expr, hostid, logname, whoami</code></pre>
  3681. <br>
  3682. <p>John Beppu &lt;beppu@codepoet.org&gt;</p>
  3683. <pre><code> du, nslookup, sort</code></pre>
  3684. <br>
  3685. <p>Brian Candler &lt;B.Candler@pobox.com&gt;</p>
  3686. <pre><code> tiny-ls(ls)</code></pre>
  3687. <br>
  3688. <p>Randolph Chung &lt;tausq@debian.org&gt;</p>
  3689. <pre><code> fbset, ping, hostname</code></pre>
  3690. <br>
  3691. <p>Dave Cinege &lt;dcinege@psychosis.com&gt;</p>
  3692. <pre><code> more(v2), makedevs, dutmp, modularization, auto links file,
  3693. various fixes, Linux Router Project maintenance</code></pre>
  3694. <br>
  3695. <p>Jordan Crouse &lt;jordan@cosmicpenguin.net&gt;</p>
  3696. <pre><code> ipcalc</code></pre>
  3697. <br>
  3698. <p>Magnus Damm &lt;damm@opensource.se&gt;</p>
  3699. <pre><code> tftp client insmod powerpc support</code></pre>
  3700. <br>
  3701. <p>Larry Doolittle &lt;ldoolitt@recycle.lbl.gov&gt;</p>
  3702. <pre><code> pristine source directory compilation, lots of patches and fixes.</code></pre>
  3703. <br>
  3704. <p>Glenn Engel &lt;glenne@engel.org&gt;</p>
  3705. <pre><code> httpd</code></pre>
  3706. <br>
  3707. <p>Gennady Feldman &lt;gfeldman@gena01.com&gt;</p>
  3708. <pre><code> Sysklogd (single threaded syslogd, IPC Circular buffer support,
  3709. logread), various fixes.</code></pre>
  3710. <br>
  3711. <p>Karl M. Hegbloom &lt;karlheg@debian.org&gt;</p>
  3712. <pre><code> cp_mv.c, the test suite, various fixes to utility.c, &amp;c.</code></pre>
  3713. <br>
  3714. <p>Daniel Jacobowitz &lt;dan@debian.org&gt;</p>
  3715. <pre><code> mktemp.c</code></pre>
  3716. <br>
  3717. <p>Matt Kraai &lt;kraai@alumni.cmu.edu&gt;</p>
  3718. <pre><code> documentation, bugfixes, test suite</code></pre>
  3719. <br>
  3720. <p>Stephan Linz &lt;linz@li-pro.net&gt;</p>
  3721. <pre><code> ipcalc, Red Hat equivalence</code></pre>
  3722. <br>
  3723. <p>John Lombardo &lt;john@deltanet.com&gt;</p>
  3724. <pre><code> tr</code></pre>
  3725. <br>
  3726. <p>Glenn McGrath &lt;bug1@iinet.net.au&gt;</p>
  3727. <pre><code> Common unarchiving code and unarchiving applets, ifupdown, ftpgetput,
  3728. nameif, sed, patch, fold, install, uudecode.
  3729. Various bugfixes, review and apply numerous patches.</code></pre>
  3730. <br>
  3731. <p>Manuel Novoa III &lt;mjn3@codepoet.org&gt;</p>
  3732. <pre><code> cat, head, mkfifo, mknod, rmdir, sleep, tee, tty, uniq, usleep, wc, yes,
  3733. mesg, vconfig, make_directory, parse_mode, dirname, mode_string,
  3734. get_last_path_component, simplify_path, and a number trivial libbb routines
  3735. also bug fixes, partial rewrites, and size optimizations in
  3736. ash, basename, cal, cmp, cp, df, du, echo, env, ln, logname, md5sum, mkdir,
  3737. mv, realpath, rm, sort, tail, touch, uname, watch, arith, human_readable,
  3738. interface, dutmp, ifconfig, route</code></pre>
  3739. <br>
  3740. <p>Vladimir Oleynik &lt;dzo@simtreas.ru&gt;</p>
  3741. <pre><code> cmdedit; xargs(current), httpd(current);
  3742. ports: ash, crond, fdisk, inetd, stty, traceroute, top;
  3743. locale, various fixes
  3744. and irreconcilable critic of everything not perfect.</code></pre>
  3745. <br>
  3746. <p>Bruce Perens &lt;bruce@pixar.com&gt;</p>
  3747. <pre><code> Original author of BusyBox in 1995, 1996. Some of his code can
  3748. still be found hiding here and there...</code></pre>
  3749. <br>
  3750. <p>Tim Riker &lt;Tim@Rikers.org&gt;</p>
  3751. <pre><code> bug fixes, member of fan club</code></pre>
  3752. <br>
  3753. <p>Kent Robotti &lt;robotti@metconnect.com&gt;</p>
  3754. <pre><code> reset, tons and tons of bug reports and patches.</code></pre>
  3755. <br>
  3756. <p>Chip Rosenthal &lt;chip@unicom.com&gt;, &lt;crosenth@covad.com&gt;</p>
  3757. <pre><code> wget - Contributed by permission of Covad Communications</code></pre>
  3758. <br>
  3759. <p>Pavel Roskin &lt;proski@gnu.org&gt;</p>
  3760. <pre><code> Lots of bugs fixes and patches.</code></pre>
  3761. <br>
  3762. <p>Gyepi Sam &lt;gyepi@praxis-sw.com&gt;</p>
  3763. <pre><code> Remote logging feature for syslogd</code></pre>
  3764. <br>
  3765. <p>Linus Torvalds &lt;torvalds@transmeta.com&gt;</p>
  3766. <pre><code> mkswap, fsck.minix, mkfs.minix</code></pre>
  3767. <br>
  3768. <p>Mark Whitley &lt;markw@codepoet.org&gt;</p>
  3769. <pre><code> grep, sed, cut, xargs(previous),
  3770. style-guide, new-applet-HOWTO, bug fixes, etc.</code></pre>
  3771. <br>
  3772. <p>Charles P. Wright &lt;cpwright@villagenet.com&gt;</p>
  3773. <pre><code> gzip, mini-netcat(nc)</code></pre>
  3774. <br>
  3775. <p>Enrique Zanardi &lt;ezanardi@ull.es&gt;</p>
  3776. <pre><code> tarcat (since removed), loadkmap, various fixes, Debian maintenance</code></pre>
  3777. <br>
  3778. <p>Tito Ragusa &lt;farmatito@tiscali.it&gt;</p>
  3779. <pre><code> devfsd and size optimizations in strings, openvt and deallocvt.</code></pre>
  3780. <br>
  3781. <p>Paul Fox &lt;pgf@foxharp.boston.ma.us&gt;</p>
  3782. <pre><code> vi editing mode for ash, various other patches/fixes</code></pre>
  3783. <br>
  3784. <p>Roberto A. Foglietta &lt;me@roberto.foglietta.name&gt;</p>
  3785. <pre><code> port: dnsd</code></pre>
  3786. <br>
  3787. <p>Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;</p>
  3788. <pre><code> misc</code></pre>
  3789. <br>
  3790. <p>Mike Frysinger &lt;vapier@gentoo.org&gt;</p>
  3791. <pre><code> initial e2fsprogs, printenv, setarch, sum, misc</code></pre>
  3792. <br>
  3793. <p>Jie Zhang &lt;jie.zhang@analog.com&gt;</p>
  3794. <pre><code> fixed two bugs in msh and hush (exitcode of killed processes)</code></pre>
  3795. </body>
  3796. </html>