0% found this document useful (0 votes)
19 views

Unit-1 Linux

Linux commands

Uploaded by

Dhanisha Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
19 views

Unit-1 Linux

Linux commands

Uploaded by

Dhanisha Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 24
v Eni eee een TG / Umit = BS Linx, tin ia an epen source” epaualing system 2 veeans a source code adhat is senade fyce chy icakions 9 scedistdibution eleped oy “Linus eavalds’ exe open weure osailable 46 all fer passible nod dinux ds a Pee verso of UNIX, dev! % History ef Liou Tn 1965, MULTICS = by Bell Laboratories, eee Gonexal Electric Cempany § ef Compiling Sexutees Massachusetts Truliticte of, “Technology (MIT) Tn \969, Unix Uniploxed “Ingesrra™ | fs ( Computing Semutees 2 Aeuglas tin toon gg: Seen we aleat ake x The o/s wos ovigirallsy snl a UNIX was seumtlten Jn C language to 1473. ATaT stasded telltng, UNIX Commercially: By 1A45, ae oe _ by dinus Teualds Open Sousece writen in C, Accom) [ ols J Danguage § tO $ + Diggecemce between UNE F Linux Unis Lnux Vy UNIX was developed by, 2) Laux Ga open source § Denmis Ritchie § ken inital developed bf, Ahormpson jn ATH T Bell Labs Linus Toren ; % uNixis Licensed ofs- wy nae ial eee 4 ‘Aly Te supporets File systems wy te ae out relatively Lessexe than me ce an Ueix Ainux- 8 ty Unix shell is Beuene hell: wv) a a = $ ; ASH (Bewsen ‘1 Shell) - Y) Unix uscxs seequioces lenge (Bowne Agen S wooit times 40 get proper v) Linux arvveat deterkien 3 bug jxing patch: Aobilten ae VO’ Cs 4 v5. Powtmlale F ON OY viy Net Pextatole viy fon Fag. DB vil) Ege Bap ne une Vil) Pediat, fectoso, Von, etc Ee 0 * Feats of Linux, 4) Linux is Free Open Sowece * ; C language » it pleniole F postal, 2) Te ta mostly writlen an : 3) Te supperels Maktitasting 5 seyescal progeums gunning rerachina at tame. dene i aaehe L) sa suppords Multiuser ; aemosea) wanes sessing OP machine at sare time - 5) Te supports Musltiplatkesm: 6) T& provides Data Communicat” among Uses - 2) provides Multilevel Fle cystenn- 8) provides Secunity , “to strove warp I= + Authenticating (wy asstgning Passwosd § TD) ; . Pea Gotosigeng pocmissions +e rood, ussite g exe) + Enonyption (converting gle Fito unreadable tererat) * Instatlot® Yeu can downlead Linux grdesenet + Pmethere Wass pwichasiing co POM. prhich Aowes Your dounteading Sime

Kali dunux y vbunctic Thy Caldera Linx fu) Slackware Hine yy) Mandalee sre ete. * HP Thin pre Le a Ughtuight Steps to crecle account at HP Thin pee © Unie tased opecatiing dystern [si youre Jake (———_aanin fe Conta antec Connections cenreak] faye} Ge_ +0 ada (ster +) oe colect SSH (Step 2) SH [Telnet ion ae +e thin ta Add psovides some options So we select SSH option 4° Haccount: @ i=— Fill name usexname (step 3) }— Insect Ip Address: (step 4 ) 1— Seleet-Hre ‘x Il’ option (step 5) Click om Finish (slepé) | Loge & Loge fq diaux Terminal - Login + Proeias of, Entescin ° fron Laux Texeninall Logout 2 Frocess ef, autling [eng + wohen you stock youre Aeseminal, it displays :- Lager ‘ an ress Entese . 7 Type youre Logo are Jhexe § P' ae iiplere onl THO wesd shas been used by you | ” te Gor password by flashing Jyollorerg renege assed reas Enter. Ki As ea ua Gs [scen) on tne touninal- You can Change passwesd toy using passwd? commrand . x Clete d & Used for Legging out: Ox you can type ‘Seqeut pe Fendt) tn_command prompt: * UNDx/tineRnehitechive | Shuuetane » a ee =n User Re skuctune Unix QS Conaiat of fowt padalic Hardware, Kesenel, Shell Tools 9 Applications) > Houdwase ue Sel. anak collect erm oO _mociine’ | ‘ ae! conatsts of alt posiphescal devices + Input-Output Devices for Input ¥ output © CRU Centval Processing wit) fer poocessing dale sMemesy fer AnD. OR EE s Networking conrponernts such as LAN, CadDEta , Sto 1 of Hareetssanee = + Poudre, ow oh ree Abo pruel bh ie > Kooret frearel af any Opewa.ling eto ren ny ‘\ Kerenet as athe fobs of opevaling aye Jo enue syhexe je d e rmanagemen dhe tasks feo pout evo)” of CPUTme , Memnnray Space ,c- vac ak CPUs yee 0 boy eodinliy Snelnd.e ' * proces.% rranagentor, mm TUS andi paueyee as cee. pociormed poperey ‘eaate seheduling 's s yeosm tee and “file management” sete: ak weheducling 7 see clulln Management > Allotment attocat” ef FOR OUILCL® » allocation of "4: inp ¥ . nage + File Management + eee ig fe p anese Kermel ia the core Com voemct fo} erating yet» Intenacls divect ty, cee weoviden Tew Devel sercuices ko Upper aye compen . rerponsl le, fo cach ef, prtenesey ction of A Keunel 2s foundational Lagre of Te furctions at a beuic fevel, communicaling, with renouseces a Keene hardware and Mane a handles me spcdamnenctal processes sd of beet wequence when computer at the begiinng Satecact with user directly , St wuts Manage ‘nent 7 sstaxts up: Keen docsnet chetl wnat will aot as mediatere 0/0? ute P Kennel hace ate SOME types of Kernel : Zt) Monolithic 7 all ols aarevices operate 19 Kerenel space 29° dinux ‘ly Micug 9 Bhs nivvinnalist appreach rtual memory 2 threes “iy Go 2 Folens entte end preset 9 ha fo pier ee iy) Hybsie 9 Combinat” of woth Monalithic 3 Micro Kexnel pe apencs | eq Windows NT, Netware,ekc aS Well, Treeface bly Usec P Kened- As Kexnel cocnt undescstand Human language , hence shell accepts commauds fxr wuaee 2 convects them a a language that Kernel can undestand ree sce od majore poucls fo hell » Pick Sa inkexpreter e Brak whic read out rei words iS ee exeeut! “the second post of, helt ‘a proguan aah Capekitity that enable UL +0 ee Shell prepor © Proce we vasdous ty af Shells ! pe ell alae a ) eS 2 fe coramand ‘Mlerprete: Tr was Whe first mojo shell: Developed by Steve Bowere So ITF ania shell & dolla (g)- Tr ts alse called Ly Korn Shell 9 Developed David ken, Most Stable version eh Anis shell “a >Ksh developed wo 188: We can shit fake ken shell by using kath ‘uy command prompt: The promet fos vas ahbili aod: *y alto Known a4 “iy C Shell 4 Crealed by BAL Try: Ze progecaramerct sshell P extats as Seale mae pompt ads Shall L. poccertoge (h)- Brain Fox and Z\) Bourne- Again shell (BASH) > pevelloped by chet R oy TH %& an enhanced veuLon 96 Bowwe AnelL > ua Known os ~ bash’: Shelf Bo oo Rens pure J Tools} Ppieations = These ose built in by operating agadern to pockore ed Uses Components ef, olfnux system 2 a oe Oka modules -Hhot ate used ane tasks aasigned * Files fp fil iso container of text, umages , codes ond ee * Oudinary Files Files + “These files contain only data wo yc tes ast as a container $000 Cony + Direclony file> There ft Vice le along wth direetony ay, predlinasey fils & de * Dewioe files? these piles eprom’ ect all haxedusasee, pile > Linay file System, é iow file syste? ge a dala steucluse Hee that seekides O1 pot of o disk: the file dystem ds ox arsed oF deee wilh 0 aif nest node called ‘Rest? (writers ine ver a a. directory Giles, mode ¢| of file aqulem seu hLHe epee pane dieotovies, cmd files ot ahe Leaf cial Wah device file: sequen fle indicated 4 te a dil ge ten os a Abin war 2 dew. $he ete home ee ros sana ') we, Te ds central Lecattten prot point dpeurnents , manpages, CC” sn, mim a sik esl in PPD cabin, Cyrtans off roucalle: ish ase a mene + de, Contains configuration ipl (cdrriketive Ci + homey Contains awodirectoxiies of Linur user” + ib» Contains gil shu shaseed Uibuasuy Riles: * won centains all syste Bogs: > dese Contains apelal, device fie fer Keyboard reuse , te +atmps Ze & ernpoxavery file focalion. Tr 's & directo used py ams thot need cobra, bubfee asco ‘n pastes be executed ccesaing, File system > i pick) To wceeets CD ov floppy - fils we use mourling p> 40 ceatch at we use unmounting- 3 Mourling File systern, we make pile > directowies arrersible By mow Rou Pile syste” yMeough the existing : | devrcaname directory syntax Mount filesystem eq smownt dev) fd00 J met Befert shutting, down Binnx Aggie , amounted - al) mounted fle Ayslery necd te be 3 Unmounting File system, TH meams detacl ane directesy of Mnvx Sysiern oD smnunted + . ql Dace le eastern “is unmounted , we vill not be able to eters us Blas 2 directordien « Auyntors 2 syteourt febergelenn some J mount pout qourtted fle susie from whiek st wot i a 5 3 Skurtture of Mle stor, . ae pte aplem Sa qeoup + fi amd divectostes a ah Fe ei with Us sect in form of Reet Directory : four sections - that axa blocks: bata _| [Boot [Super Tnede ') Bect_Black TR contdins a arcall ‘boctidrap progean * TH checks p initializes ane T/o devices @ ale the pragecaun« 4 ek This Bleck Contains global fide inposwad” oboe ask usoge owaillaleilitiy of Anodes» alse contain, o pointy, +0 head op free rt Rone 68 dota dlecks: We i!i!]!]!]iit(( tee. - ane d ae Ane tonsint of following °° tr File system : se ii) No. wy ea aes dacta blocks available ‘ ree data block ‘ x W)Tadex of yet {ree Ke toca“ [ree dale Hock ak ¥ Y) Sine of Trode Uist a No> of free tnodes auditable vr File systern’ W) Uist op Gree Tnodes « : vil) Tradex of next Anode (gree) in 41¥¢ taods List: 3) Todt Block Every Pile oF cBirectotay ror 0” nba) eG soes ne fe TE ober ® unt Rigue numtoor tat e604 tow file seyetenn - § . Tete on tn trode blocks « inedas ase device + inode number om AU Fachke inode us referenced a a pow erode ros- 0,), 2 thor ant 3 rerenved o- Aeteted files 2 directories: ad bleck count oon. | p= Fle oysters creat” Hone, c | 2- Root olirectory * The fnode block contans infecmation pom eatehs file in data block the inpormat” Comprists sees file pole type, permuisions , addwess of : - Each bhoce usually. contains following entries | |i) omer — inalteates owner of inode: ie i: 4) Group ~ indicctes group 4° ushich fnode Freup” Way Pile type - tna ‘Dee Hyp sndtcates 4ype of lt _tadicates read, urte, executed peuminicons « V) Access Time - Last acters jams vw Moditteat® Time vii) Size of fle vid!) Physicad Address le -t abe. 423 de inode 10+ 4) Date Block - Actual olata stored in data ofeck ivy Permissions fh dita Lhock 58 & beake writ dodo gies Sn 2 oh anmallest urik eR ne “that ae ie apple a su wuotion- Each data Glonler'y” Aired, sive, ol 512 ¥ 4096 bytes Doka blocks 07 optin divided incto Fragments 6 disks A pragreot ‘woo mall, Ried size piece of a. date rie alley ple @F 52 bytes A Chast es prock, “Af piece of date elec , typically PIP 512 F 40.96 bytes: Fer fixed format Bs , 0 date eleck contains olay a Boe dealin rs usien un 3 Commands - dinwx, Commands fe lo atlen end es he ae upped opexanch 0 pexferm action: Stouctusce of Commands , Linux Command E option) .. ese option Ss dignocent cnouces Ber Conmmmand peepee suger £0 content or doko to which SSeeramend has do applied D “Types oh Comerancs, a 5) Trtecnal Exleernl i yc, Germs) aq tater, “8 “cat ete re Ey changing, fosewosd in olfnure asses Ue § passwd’: fer changing Pi Syockor to & passwd Ce eae otek password 2 — Hew passed S Reenter new passweeed 2 foreword updated successfullles - Lien cae a Oe ppiceedd vont uecd a oR are sytem: @ 9 ds (Wet) 3 shows fll 9 directories en OO” by def ott, fides dfrectosies VO Ww alphabetical Syntax Ve $b t options] fptions oh -4 aly -e 4 ahow dite an long fowmet Maye ‘ghowy all hidden files 9 directories % uridden fle taxed UthOD) poenissions : detail about filetype, file (retail about gibehyre, FET ipcat” feral in, onmeas of ile, gi. size, > Shows only, directory Non jnstead of Listing, is content 5 Mawes executable filer with” 4 directories uit /- 4 shows inede eurnaase of files - a rows {lis tn coro abphobelical onli: ») Ahows secmelve Liting,, piles of directories as well os subdir, ove alee displayed , Atalay Yee nummer of Stomge Clee used by & 5 shows ide oy tate + modipicat® 4 Ahows Qilr ee yo Doak access time > Puts slosh apex each directory 3 shows Gites an erubiple columns (default) ist Contes DWild Cased Matchin : : : SU- A ching cal coved pabkoen* 2 matches single character de matches any mmbore Of, crnvactec | multiple: [oe 23 rrekenss Tonge em o te 2° eqs Bs pgmt eq. 4 a ts Linu? » Bs 2alo ey TI) (enediise) Airecloseies — disenamel> & iy nevene 2.> {vest used fos creak cog, 0d Weak ase smonticoned Jn posh asin. vA K Hireetor}y To create gynte 3 medde 7? a waacds be poweat re et . on cee poet cela es eg" venedtine Ube creates a director cube: YY ag: 5 mwa -P Dinu | eo] dose credias Oo deme Bia, vsttn fiero 0s Se aire sa crooked qn, nak & equbdin, d£8e su. created - 3 neasons fos Rpited yo make dir io i) Die wih game “TAME qhready ot XS) Ordinwey ge tay Sot none exerts * Wi y User pest wate pounisstors tor creaking, Kes 2 Adtreckeres w current direckowy ° = To change asvrectory to ile agstormn” saykorS & cd pasha rene ale 2 abe dtvreckorty grermnoves Sq @ Nupt s o ° | P' option ia used for defeling the parte divecton, W J Re semdde command cant semove A directony lati uu : comply ip be & exnele i, “v ‘ semeie abe 9) JLovet abe fh othucnnse ot pnows GOCOr eq: & scondive -P dera/nea /sinux uy fiesty rexnove > attast remo Dinuz , Men wren chencr civers Diu dese] mea dese Ca Srenctin dean | men ict, then neo. Fone Ta abie stemover dinux fir | desa divectowy’ |? di (sk Usage) i “this Commarnd sepords 2 isk spaces | Lepr tre disk } ase consumed by files tn a specified dltrectotuy Symtaxt: dt options] wetneut ary oplioo § argument, dik space is for cworent direntoey 9 rovrnally ar dls Space ts printed in units of, tort bites - that | pees) counts gor all ls, net gus 4 Aes -b 9 Biplay Jo byte me 7 Alaplay ovtpst along atin qrond WEL of all axequenentts- ee veo) Kaatentty eae 4, etaplay, Seen 18 Megaby es (ey cg ee ax art Te Sag ee Daf (Aik free) ae AXe ] ANows nd, this command seeourtaively enntehing fills dine free space on Whe ayelern: ay eeiflod lfree tony examines Arce Wo took {et aivhbulea Powneg takes SoNe specified actions mt (hese pile Sylar) se jin eyalh. Qiks ee , eacllon tect cvtontia adercta = name « ftlerame> detects Are giles apocigaed wn ‘ Yhename 7 satec\” > setecls Aiveclowes ~ type A ~ age {xs cy Aetects Giles dat ace greater w/ my tess, tran) sy blocks ene block i 1? byt») (Generally 400 ~ railiene, {oahu 2 tetects pikes tinal rave, aso ified o cxarity %* ay | ayer amore WAN n dawy (0) Herd HNO so hays)" =e \a gy Aekecks giles ginal drowe bE*O onesie a on exactty centres [0p WO @) ro atnates | ee NNO ce) minutes ‘ roca accessed ~ acdkirne {en 4 selects ge anal wove pi ay as en exocktyy dayys | STONE ‘ eon accessed 2 7-9 - cachects file anak noe arin fay ee Gites ees | eee Aran) Orta | Mees WANE) entineione Action Tr paint 9 displays satected giles O° weveen ecrttes Whe specified Bawa cormnerarnd = exec (command) 3 and ends wiih QYN3° ers fied waget -oce we {3 ‘ s ‘ aii : vdach exionsion § AREY me pinds the fle matching, wh oe 7 ae mes Counts os Show werd court OB play 9 00 akek rio pr dot 33 N cet ® Ra $pind atime - 5 pint > dis 27° Feb 20), shave been S ee Gs Ty cueeceent date will display ahe pies Ahat + Feb: 2023 ° aks Ceommant | yrodipicd after a2 | DB dix Command sca te Gist The conk Ade Command ts ase te ite’ bet have Sho directory. te ie veuy simil Keme different splions Syntax die CG eptions) options rT -a 3 dist all hidden file> directories + -c 3 a&t entbla by columns - -§ 2% Senet sout and Aisable the Colores: | -F 3. Shows executable pites with gp directestes: wun /- oo uitks tr - P sthede ne af each Bile - -L 9 dong isting -m 3 Rl wlth a Cermma epascaked ist ef erebies - se 3 Reverse dhe soreling evdere -R 3 dist subdirvectesies reewsesively: — Sort by Basegest ile stee- Ratest tire: fostead sf columns - -+ 3 Seat wy Sc 5 hist by Qines -4 3 Aw ome spite [die pee Line: Wee ey ° Taree LA & Ut ’ ® ren Toree: ot ene directory Ci tine yadagrcamy nec partes ao opty inelented fetting “of Siler ® H gutodieeeHorcken - f peta p ty MAE Contents of, divectotetes &n a dtece dike format: Syntax chtowe eqrh tree TH shows the content of cusecennt directory th dvee Mike Shruclusee + eq darter dese. \ 2 TA shows the corteret /subodivecloy L— faculty, ov filer of wh aivectouy desa + > File Qetiovtted Commands = RECO my 5 . Commands whuch ce vedoted yo AMe Files Auch as Creating , accessing spider pete: ris cok (Cakenosedé Grade pate) corer ere ls quaad de display Comdertl> of, apecifiedt fides Sytax? cat Copiions) epienarnel> apapenoereh TON sae turns alt © telank, eurpet Unes + ut Lines: ci _ cis a 3 Suess wlan er oppress vepeaxed exenpty[lars Uns ay oat ne disptay, contents of, fle abe’. ea Seok one antes eg woth Shes oe Cea eA coe en doe : 3 by @® > TB create piles, we use cat Command With recliy, oper tox (>) Syntax: cat > gilename < Type Text? ; ert vc}/ Ente) to save “the file- £4 Fcat> my fille rds pila wit creado 0 git This G myfpile: Boas omy ste vsti conkas ee dota - thin % enugpile 2 Cp (Copy) Cormac , THis cp command is Used te Copy re Contemt of ome pile to another: Th te cleatinat’ $F dy a fle “then dire Pile overcmmilen: F yh deakinar® 4s OQ directory then dhe file “ copied te that directory Syntax? cp Lophions] | optiens = 9 Te prompts fans orce Ate destinat” file. reef overemmfiteng TH you say no tren St va net copy.” “N99 Denst eveumite an extiting gile TP Preseseves GUL fnpermat” Tchuding ewnee, roUp , pormriasions , P timestamp + (Sarre charactesistics of) beth 42 TScp ave abe} rs Sect be Sh > Copies data of ae Ry te dita: 2 me (Move) ae This me command ds used te stance / wmeve une Specified file : Syrkax + crux gsourece > BS yrake move Ceremand, User TmuLk hve, oReailusde oF ead pecmisions 6 sowee sudaotnasentnn St prompt fomns Ags Fone alc! alc ALA Coramamd usill move /rename atoc) to aloe: F 24m (Remove) | ss cornerand Ja vind 40 stermewe] delete Oo fee yom specified directory > Syortar : $ sen Eoptions) < filename > A wood) 4c tee > Prompt | asks before deteding: a gj Removes yori, - pastected files, wthout asking: a Poornpts | ks before deleking mere Wan 3 files together ey cus Gas > tt removes SM gile oc y we (word Count) 9 ee nigued Court +4 ward de display the rumba of Linas, ede ore SO sae of tingosrnat” siored 61) specified foe: Syntax we Eoptions] cgilename > options Sy aaplay veumbose of ines 2 file wr 9 displost ap wonts Wo He a display ume of - ni carcass Jp pile akc: 3 Command ple Corman, 1, command Sut Bw clonificat” Sp dine, ot a. specified gle: lets yor eh & specified Rie te AScCTT atxt, C pogrom, doko , os othe” syrtox | file < pihename egg fle abe 5 TE snows cdossificat” ance OeG re Text of aoc pte eg $i" t _ 2 Te snows weal classifica” aa ascrT eat 4 ya a directories of mew | NP directory: ent directory: Hexe * indicates cenuesnks of OUT 3 cmp_Commerard (Gomngone) & «DS cgandaind Sa vatel Comnpaxce awe Gs ® S . vl NYKO 1 Ump < filename | > Th command stepotcls dhe foext dnakants ‘oho apecifted judo. Two ftles axe compart of difference: ced byte Ho byt and dhe locat? fh first xnusmatch 3 Rayon SO) Sue Boreenn + Cg Flt |: dock contains linux Prograraming: Filer. doet Containr Linux Programming 3 & subject: Recep Filet dick Filer ook Ciel diet Pilea het differs Chase 18, Une! 3 Comm Conomon serced me. =, ctris ‘Lome coramand ust awe 7 Wat “ub: Cantey a emits % oceporets WI eres prOG Biles as asequen ; es TA commposces each Sine of out pile ww Bina t specie’ ue mond ds 20 3 columns ox folios’ sre eukpet ob ais Cony cotamn L , Column”, cobarnn 3 unique STE ews fer Heed teas Oe teeth fue & ie ye Syntax Come Eoptions] orgs —) — Suppressos iat of column 4- ~2 + Suppresses (hides) Listing of cotumn 2- ~3 4 Suppre isting f 3. File 2 contains > Rs de Files cordains > AL ped Abed poocde Sion Filed Pier A AS Procd Procde Aocde- Hesce firet column shrews unique Lasef, Sled amd second Column Aheues unique Lines of, fi2end column dbed = ) : an Link) Corarmarnd Bs used £0 estab oa) emamne to a specified file. Te Asecie . she 2 7 gausierral ea a anet creaking “noke Copies of apecified fle - Qa % (kename> Ladditienal- filename > ome narne & yet gy Liner adlows & We Xs Snowe wre kan nghe. Cop din disk Buk changes xo ore Of POLAK a Su arese RL we 5 ay ye Ackdla Ome gran obs Lak Tee wsdl eg & Qe seaks tact deat \- dak : -yw-rw- home home aceak dock Hw yw- home home ent dat , access tone of file - > options oe eM “uated ES MONG Eee uaa create a fide ust speck fied tiene: Yauch - YyMMpp HHMM Glenarm = File, Access Paurniasions 7 Fourier, gc punvides seestedstin ote pounsit qarers x0 data of HLS by verbricling or pecing Se ane pile containing #6 data srasce ace Sclanaes oh aaa iy Usere seegeres do tne augsteren uate WIN® erected tne file : p wb also sometimes called ONT ww 3) Guoup segues to ome Os mete shad who may wrest ans file as A Youp” ® ) RE s WUE seefercs LO any othe wrod of syste (0 “There ate dome peemitaions ! iP g allows te econ leila Read (se) > Mowe exarntoal” af wie Hireclorely* af fites walthin the ¢ At, contents of tule removal of, p allows old ones altouss vantite (W) > Atkowas changing ceveation of, evr itis 5 aa a cennreraind Ft sroeute (2) 9 Attaos exention of be searching cy Aireclony: When we wah Dod eommrand BIS at skavcting : ap show eV Laforrmetion of Jo els Bit Poailion Seiten 2 wal @ sin q qn 8” on a eae, m fen we ‘en on dod eo fen airectonyer touser | ‘Group onile ‘pe bp i wetcion Hom wit 9 Ot fo theses st Saal Rowe secu eqn Fer eg. — sagan tom x owners tt yao, bake Hen {ts cael be Binks OWNER por bales > chmod i Chonge, Mode is used te change file perenne Aystart chened Coption] wvode. files ~ Crenod usec sym sede saysnest oncess- ayer “egilenarnets)” usec eyeeats | aeildeng auytbol | access cipmbst v (add > Je (veadadste) at (ane) _. (rernove) wr twittealste) 4g, (userqeorp) = (assign guzel oc (@eeutabste’) & (ether) petmisiion) eqn cree wire abe ; ta wilt add execuite, poernission go usu for Fle abe> go quay ger BR a voywred are abe sis ysl add vette peernianioe dae comrenrnd Wal add read peumission ce wee, scermneves, Jew. poemeeen ke gtoup, amd adds write poumission abo } anes ger ude alec - | geod QO - bE abe g execute perooninsions Faris commmamd will stemnove uvcte pile aioe Form BEC QLOLLP g othus fron fired MASS se ake = hs Commenaind wih oustgn’édiend pourtssne 2 eae gueap amd ethax and remove all peevleNe assignes pecritions: Hao we can use octal notation te assign # remove pouncssions | Syrtax ve STIOX® — Ehenedd -Lhree-dight_number éfilenarnes 7 a » chumed FAO abe > No peumiasions, “this command urill add > Read read, ursire § execute > wodte pureniacion #6 UAUE, permission Xe QrOUP and * TO pesuminare te St: > wake § Exeenite As > Read § Execute 3 Read ¢ Write FH 4 Read, Werte H Execute. © 4 os wot 2 Execute 3 Ss 6 =, . CHOW, range Ownership Re oe ee) aa we prema of & Filer Symoxt Chrous es used vo change kine file. Orly HOE SURO or Ride 2 Hee change queup Conger) 8LUP evwnecship &b specitt : peepee oh Oe Goa chang. gree, oumeenup Ob SYMAK? eonger Knee grou prone eg he Dinux Ziled D vumask mas: Sis used te wack deRontt peerninsons Ker Tat wave Hoe penmnissinas > 000 + No poumdirion 9 (0) execute, — CY) ee > ent -urm ens cottile, —y () 1m > Hore | oxocule, > (3) y OY) > onby read y Read g execute, (s) -y Read g wrtite (6) owe, gexecute (4) Ma- = OG god seus -p Read, umask value ranges fron 000 umask OAhyee cli 10 FT4- Symax eben) servo 2) urmask OGM stnis can read & mnodtf ernuc orbs read fiulss * yner, VOY ie mastic depaudt valve 431022 : : nave poceniasions (eu) oF toy degentt a Ew directories , -022= 488 3 General Purpose Comm Com eaee i) dake : displays Aysiern’s date 9 time date + 777 Ts ectad Hetot! ay for pore docu new files 666 - 07 ods ust, a= 6uy Ayaka - foscrot eg: & dotte +7/ 4 sy 3 Hewe (00-23) 1s fo <3 Howe (00-12) eq & date em 3 Minute (00 - $4) Mon 2#Feb 'si1silo TST ns 3 Second (00-54) eae yD 2 Date (mp) fT o> Tine (HHsmM ss) poe 3 Tiene io am/PM 2 Last two digits of eMC i —— z= BE Sapte tre uses tre S452 ewoLeMtey. Uh axe dogged SyMO! ohg eg: Who Abe Abe 2 net Feb 24 lo:l7 oY) volo am t = Feb, 2g [l!20 F cine) " yo Syntax : BH Aels who you ace (worn en =" whe am b 4: whe am i ‘w) Mecd heme Feb ag IIi20 v) man » detailed “Manual command displays syntax ? gt of, dinux Commands: Syntae : onan édfouxc command? SY oman we i al shows rranucl pagt ef we comma N) xe Diet cs ealondae (eat) eat display calender yer Apecifted moni RYO” syntax? tal [month

You might also like