Pooja RS 4mu18cs053 Assignment-2 Unix

You might also like

Download as pdf
Download as pdf
You are on page 1of 11
‘Assigned — 2 ymuiacgoss POOTA-R-s ade _fpemen orgy SP semnele: what or wild card) 8xflar ae : urbe Example flare tr asin shalt world conch cal > Wid - cords + A falar 4 J vate atdnory catalan amd a mele hound (libs) wing well -hpiad aus + The pall can ten be wsee) as an ar A th wwmed, ounel Hz Alu will Sspand it suifecblp loge He command 0s Sreudkd |. =e wed t wastud Be qervaligl potion per nodhtasy flonan Allerg b a coleyay colle witd - catds Tae sud | tte vrata chanaaty «yo ome Be heels da All's ustld cad sf St moda ong rusrober } chatadou (Golashiog, one)’ % Te ust yp flr thal ban wit hop fl chap # chap chepel tape > clapo 3 cheply chapis chap! chaps chef chap 2 ape moklus ti aking chap » when Bh Ad) encovstrx Thi craved Hot th tub a He * twaumedichly oS will ett than foot in fh wud drutorg ouel prasals He com (ne 0 below from a dlevame thot mak th pottom chap R- A hop depo! chop2 chopo3 dopey chapels chapo U6 chap bap chop chap raau + 1 matda a Anal choxaeli Te tase all pls wher lenamas ws 1 hesaste dog and stud with hop ju cept shag happy et = qb dep}? chapel! capod chapo 3 clopot dapl5 chap Ie chap IF Motes Me Rot y beth # and ) opuat with rowes mabidhiont — os c@ 5 Bhp eben match all fle bepinntag wih a dt) nh Ibo pothnoms- oe ee hidelin —flanainas fr youn linubory baw hast Hoe chasaades Her te di, te obt mad be nabead | suplel t “yar | bath - proj. care. rebicape + peti x Hovwa, if Be filename todoint o oat peed rot be enabled explretly se Sivmiloakp , Tas dLauaifia dwt moh Bh jin 4 fatlrone $0, gor | canvot E> fd [un 3 local) ts bilge & [wr] bol he ea + fe chataddn claws comms aad dhandes endad by Be vedoagaber, gratkek » Cand], bd it metbdus a ates chaaih. in Be bars tte pall Tabd] & chamate clam, and) ch mabchas 0 Ategfe chorsila —on abiad ge $A dps God chapel dep oz capo ile cups bt ab Be bepwtey, it Neqating dhe chatachen Clos! ) You can meqaie 0 characlen clalt +o Meuctte matching oufeua ay it te [4C0]- To match Yall gelerames dais Juve ing Cuteria Yt wilh a At Chakacben txuktnsion bud rot She cc wo fi Cia-24-23"-~ 0 match all filerames Heat dont begin auth an alphobehic. charack. Dezplain Be concep of Bkcaping ond Qushing uaith taamples , “a 7 Ecaping it prouding a \Coackslath’) before the tuild-cand Jo sumove Cescape) is Apect af meoni "FoR instance , Yue hove a fle cahete filename is chap» y do Suamove dhe fa a ait danperout So give command ab Jun chabe jot st aul Jumove off eHence do bufprets She Apecial meaning y *, ute See, Command jum chap , + fit Ha contend of He fie chopot'-31, use , beod ehopo\Ci-a\] A flame can contain a ushiletpace chahadtr alto. Hance ta. ee o file named My Document. doc. uaich a Ce arnbedel imi | “~ L tent td 50 Similar Kefoning $ dum My\Documat. dog sulin a Command akgumernd sh entrees ae Yor, wa mvaning 7 all ‘ancloted tpeial chakaclers are dunned off . 4” 4 echo ‘\? Display a \ tom ‘chap ? — Remoye fle chap O yukot it Redinechon 1 Explacn . fla we have non t Bae 3 differ, bordered ye the bhell aitocote® dhiee files unt Me douncnal - due for diyloy ard ow fr He kephoae . Commondi bee pt dopact and cudpuct “one a suex in, dhe thal makst avorlable sls Supserenting Hue Seams are Je autodgted cuith 2 default deuce :- gtondond = Inputs The file Catreary) se presenting input , Connected fo Pea Srordand eubput + The fic Connected te du ditplay. Stondoxd oewh: ta file Citar) suphetenting ) papratenting ode, eh ow Jhat emanate He Command o Bull connected Sy He display, +The dendotil input can sepratent three inpad sources i— # The Keyouorh , Me dafasslt fource on file subing gedinection with the < Aymbol de Apothsn pogrom using 4 pipeline , Mors ghin caotbd § fee baiple cbet on eg le a Why al open te disk fl ham file Wad fc, gee nibely . . con ah de uf Jou unpbyge af Alyndard dnp re pe + Aoukee and astigt J dp Aample- abies bat acre sea. flor Ba ndesd inp etn ction been Sranbbigned by 4 Seamyle Aad. Styndand aulpal: the Abndand owfust can Jupruetent dloue posible. Aatbinations + feme deuninal the default! destination +A fil aubing dhe Suclinecti on Ayrboll > and >? % AL tap jo another progieamn diking @ pipeline. How ow put Seditedtion uscrRs!- fue Lample tat > neusfile ue i tect She >, the subst optnt athe dk file , neufele d° . : oe at dhe bherdond od pd ee Sb default duttination and abhignt it Jo nuufle . dee quate, to ddandard oadfud thick hat earlier been Sumbbiqned by She ‘ Shandand veh wThe senda trot , % fre vB opened by Sefersuing Jo ab, pathname , bed aubbegusrd sad ard cutee qpotatigns xlent{y She fie by o unique nuurber called a file ddcraipte’ . « kod = matafoint a dotle of ft dittupsty fer euvtyy porot eas turing th de sem . ~ Te Jol Shue Sloe ake ernatlyy allecated do She Hous Aberdatd Dreams at! The duusipdotu implied ined do Hat eioncnet ange by Rt D. Explain ghee Cmnmarl with 6 opaiont. oY Gree’ Seasehs a pailean "a . « Gmbh ast tthe Jer a patlean chspluyt dir Conbeining the palltan the ding, number Jo fibnames ihre de poten oceutt . The Command swhet - Sebel — Lycdor , Shp ophoak pallern filename (5) # pup searchers fh patlttn in one fh mets filenames A te Wardard input of ne fib it Apcifred’ ee pow we the palletes and) Ha semadvy cngumestfs ake 4 : phions :- I) Tanching cate ¢-i)+- then deo fh a nore but ate mot sure {be tease use ste -} oon $ pup “i ‘agarusap ” emp tit 3S6H| budhir agammal lex ecutive a. Debeding Lines ¢-v):- “The -v option sebdts oll dh Minat excepd shede Gorduining He patton. Fh fon Play on invoue ole beg dedechinny Uineh Sod deck nol candairiirg She ped Jen £ quep VS dinecdoh? eral. bit 223% la-K bhable | geen 9649 | Lund ebnbsobarty Iden B Dibplaging Sine pushers c-n);. The =n option chiplasys Sha Sine warn orSnicing We podletuny along ust Jinsh F apap <0 Cnankebing * ermp. Lit Bi 5648 ( endl | mares "s69eHl Labbe | caste He Counting, Linus Crrbainiing pafwn (-c): Hows many dinedett au tare on He file erp Les > The © ophin counts She number of Bree cod einiig the pallor $ yh we | disedoh? enp.Lt 4 5. nabebaing pusthiole foffern (-e) » with fe -e option gos can aqaruale by ubing yup 4 ce “Agatumal”-¢ “apatuual *-¢ & 7 pe ne Oe aged? 446 | anil ogqaual \ tobs 2472 duate agarsual |erabbeling . madeh Hts Mace &. Taken paretns pum agile toe You can place alt dhe patlernt in a Aporade fk, one pallern ea tae « $ gree -+ pullers be! emp: Lt 18461 joi Ahaturce | production ancs| badun beng pla | dinecto® toe! antl | marketing . ® ehot it rurormend vasiable 7 txplatn sha diffurest enuifionmend Yoruables we have py unix, = The varoblu ote sted Jo proudle cnfodration A> the phoytam gon wie I), Home :. THs Vakiobl cadieatel He leone dincckory of te Cent oem is vesuable i det fora user by dee Ayer, admin in fecfpattod . a) aes Tye vatioble Contains a thing y chodackas thot one used af atl teparadtt in ghe command bone. Te ABing atmally Comrsutt of th Space , tob ant nuubine chatacherns . A} Legrame : This Vartabl theut Hu Utetname 4). Mee[ihet - Thy vatioll daterminit baw often He Bhol Chethi the file for addival of nana mall. 5) a ‘This vastabl specified He docatimnt in udbich te shell Ahold bax fs lommends Spat ofbin x fuser [bin . G)- mai}: That variable 4peci fiet dhe path to Uren 4 mailbox pi ne 2. a).pst & Psa. te primary prompt & 4 ae Ha uber neimally Ade out he monitor 4 Atred in Psa . at @.tee uber Can charge pu phinoh] F {etter pax = er” > Heimilan Jo eaindoost 5 Ik ated Sn 9 Oma Aetendary phone 7 * hit variable is ad fer a ster by the Sybtem admin in lee /parseod . 9). TERM ie Vayble trdicater She downinal fypes wean, tained hat Centasn chabacferiier Mat am defined in a separate cortieele ck in He derminar dinchty . See *(Tit vanabli eo tee fra suler by 4ysiem admin in (dc! patuod)® “Tl Tem Ls not set comretily vi usill act cuntk & tre dindauy will Ge Jouly Bh Re CommeNT peeumibhiion i we dk cae he ube te, ewed = ex peb'on Jregpine change tr ‘ing both Julative q absolute f methad + attipnsithy peunidtion - > @. ee -YLLLL O ywx YORU y © wr. RY Ay © TWRYWRYL © “WL Ywrr_y > @© chmod udia. tad (absolute) Cheod u-uy YT F HO, OTH LO tat (relah've) © chmoel Fela dunod ug +YWX ,o- ve xa dt © chmod 6560, b+ chmod u WH 4X +L ~ we O4y @ ceinod $FHO Aah Chmo d by + rue © chnod 3#5. uy Chmod ney VtT® oar kg ®. Fk Curtend pormibatong one BW ee udtutte chmod expheddions Suegpined tp change trann fr the Jollewning dking both selasve and abloluke mutods of AAbigru'ng POUTtMiond | ® +--—Ttrw— Orwx ix He Ciclfieiliey > Males all He file with any choracher @ but ned fellowe by AdSth ov Lc ep A ep © chaps { 10-9) k 7 medees all de file Mark astth chap & follouoe cl by any charaden ¢ not followed by single Uigit ® . chop lo-1[0-a) > Medches all He filer late euith cheapo chap! & followed by diva) digit ® (A-2Vla-z] fo-ay* > Motehes oo the files sasile euith upbencose & ed by fusrcase Deller are followed! Aingle digit than followed by any chohtactes, .

You might also like