Ama-operating system ase-Linux asekelwe kernel ngokuvamile agcina inombolo enkulu yezinkomba ezingenalutho ezingenalutho. Abanye babo banesikhala esanele ngokwanele kwesikhala, kanti futhi kaningi ababa okungadingekile. Kulesi simo, ukukhetha okulungile kuzoba ukususa. Kunezindlela eziningana zokwenza ukuhlanzwa, ngayinye yazo isebenza esimweni esithile. Ake sibheke zonke izindlela ezitholakalayo ngokuningiliziwe, futhi uzokukhetha okufanele kakhulu kuncike ezidingweni zakho.
Susa izinkampani ku-Linux
Kulesi sihloko sizokhuluma ngamasevisi we-console namathuluzi engeziwe aqaliswa ngokufaka imiyalo. Noma kunjalo, umuntu akufanele akhohlwe ukuthi ukusabalalisa okubonakalayo kuvame ukusetshenziselwa ukusabalalisa. Ngakho-ke, ukususa isiqondisi osidinga ukuya kuso ngokusebenzisa umphathi wefayela, chofoza ngakwesokudla esithombeni bese ukhetha "Susa". Ngemuva kwalokho, ungakhohlwa ukungenalutho ibhasikidi. Noma kunjalo, le nketho ngeke isetshenziselwe bonke abasebenzisi, ngakho-ke siyakeluleka ukuba uzijwayeze ngezincwadi ezilandelayo.
Ngaphambi kokuqala ukucubungula izindlela kubalulekile ukuqaphela ukuthi uma ufaka umyalo, uzobe usho njalo igama lefolda ofuna ukususa. Uma ungekho endaweni yayo, kufanele ucacise indlela egcwele. Uma kunethuba elinjalo, sincoma ukuthi uthola isiqondisi somzali sento bese uya kuso nge-console. Lesi senzo senziwa emaminithini ambalwa nje:
- Vula imenenja yefayela bese uhamba uye endaweni yokugcina ifolda.
- Chofoza ngakwesokudla kuso bese ukhetha "Izakhiwo".
- Esigabeni "Okuyisisekelo" thola indlela egcwele futhi uyikhumbule.
- Qala i-console ngemenyu noma usebenzisa ikhi elishisayo evamile I-Ctrl + Alt + T.
- Sebenzisa cdukuya emsebenzini endaweni. Khona-ke umugqa wokufaka uthatha ifomu
cd / ekhaya / umsebenzisi / ifolda
futhi isebenze emva kokucindezela ukhiye Ngena. Umsebenzisi kulokhu, igama lomsebenzisi, futhi ifolda - igama lefolda yomzali.
Uma ungenalo ikhono lokunquma indawo, uma ususa kuzodingeka ufake indlela egcwele ngokwakho, ngakho kuzodingeka ukwazi.
Indlela 1: Imiyalo ejwayelekile yokugcina
Esikhathini igobolondo lomyalo kwanoma yikuphi ukusatshalaliswa kwe-Linux, kunesethi yamasevisi ayisisekelo namathuluzi okuvumela ukuba wenze izenzo ezihlukahlukene ngezilungiselelo zesistimu namafayela, kufaka phakathi ukususa izinkomba. Kunezinsiza eziningana ezinjalo futhi ngamunye uyoba usizo ngangokunokwenzeka esimweni esithile.
Umyalo we-Rmdir
Okokuqala ngingathanda ukuthinta ku-rmdir. Yenzelwe ukuhlanza uhlelo kuphela kusuka kumarekhodi angenalutho. Uwasusa unomphela, futhi inzuzo yale thuluzi yinto elula ye-syntax yayo nokungabikho kwamaphutha. Ku-console, ngokwanele ukubhalisaifolda ye-rmdir
kuphi ifolda - ifolda igama endaweni yamanje. Ithuluzi lisebenza ngokucindezela ukhiye. Ngena.
Akukho okukuvimbela ekucaciseni indlela egcwele eya esiqondisweni uma ungakwazi ukuhamba endaweni edingekayo noma akudingeki. Khona-ke intambo ithatha, isibonelo, ifomu elilandelayo:rmdir / ekhaya / umsebenzisi / ifolda / ifolda1
kuphi umsebenzisi - igama lomsebenzisi ifolda - isiqondisi somzali, futhi ifolda1 - ifolda ukususa. Sicela uqaphele ukuthi kumele kube khona ukushona ngaphambi kwekhaya, futhi kumele kube khona ekupheleni kwendlela.
Umyalo we-Rm
Ithuluzi langaphambilini lenye yezingxenye ze-rm utility. Ekuqaleni, yenzelwe ukususa amafayela, kodwa uma unikeza ingxabano efanele, izosula ifolda. Le ndlela isivele ihambelana nezinkampani ezingenalutho, kukhonsoli okudingayo ukungenarm -R ifolda
(noma indlela ephelele yomqondisi). Qaphela ingxabano -R - iqala ukususwa okuphindaphindiwe, okungukuthi, iphathelene nokuqukethwe konke kwifolda futhi ngokwayo. Kubalulekile ukuthi ucabangele uma ufaka -r - kuyindlela ehluke ngokuphelele.
Uma ufuna ukubonisa uhlu lwawo wonke amafayela asusiwe namafolda uma usebenzisa i-rm, khona-ke udinga ukuguqula umugqa kancane. Ngena "Isikhumbuzo"rm -Rfv ifolda
bese usebenzise umyalo.
Ngemuva kokuqedwa kokuqedile, ulwazi mayelana nazo zonke izinkomba kanye nezinto ezizodwa ngaphambili ezitholakala endaweni ecacisiwe zizoboniswa.
Thola umyalo
Isayithi lethu selivele linempahla enezibonelo zokusetshenziswa kokuthola kuzinhlelo zokusebenza ezakhiwe nge-Linux kernel. Yiqiniso, kunolwazi oluyisisekelo nolwusizo kakhulu. Ungazijwayeza ngokuchofoza isixhumanisi esilandelayo, futhi manje siphakamisa ukuthi sithole ukuthi leli thuluzi lisebenza kanjani uma udinga ukususa izinkomba.
Funda kabanzi: Izibonelo zokusebenzisa umyalo wokuthola ku-Linux
- Njengoba kuyaziwa thola ukhonza ukucinga izinto ngaphakathi kwesistimu. Ngokusebenzisa izinketho ezengeziwe, ungathola izinkomba ngegama elithile bese ususa ngokushesha. Ukwenza lokhu, faka ku-console
thola. -type d -name "ifolda" -exec rm -rf {} ;, lapho ifolda
- igama lekhalenda. Qinisekisa ukubhala izingcaphuno ezimbili. - Ngezinye izikhathi umugqa ohlukile ubonisa ulwazi ukuthi ayikho ifayela noma isiqondisi esinjalo, kodwa lokhu akusho ukuthi akutholakalanga. Nje thola Yasebenza futhi ngemva kokususa ikhathalogu kusukela ohlelweni.
thola ~ /--kuphikisiwe-okuphelile
ikuvumela ukuthi ususe wonke amafolda angenalutho ohlelweni. Ezinye zazo zitholakale kuphela kumphathi omkhulu, ngakho-ke ngaphambili thola kufanele wengezesudo
.- Isikrini sibonisa idatha mayelana nazo zonke izinto ezitholakalayo nokuphumelela kokusebenza.
- Ungacacisa kuphela isiqondisi esithile lapho ithuluzi lizosesha futhi lihlanze khona. Khona-ke uchungechunge luzobukeka, isibonelo, kanje:
thola / ekhaya / umsebenzisi / ifolda / -ivuliwe-yikwedlulele
.
Lokhu kuqedela ukusebenzisana namasevisi e-standard console ku-Linux. Njengoba ubona, kukhona inamba enkulu futhi ngayinye isebenza ezimweni ezithile. Uma unesifiso sokujwayelana namanye amaqembu athandwayo, funda izinto zethu ezihlukile kusixhumanisi ngezansi.
Bheka futhi: Izimiso ezisetshenziswa njalo kwi-Linux Terminal
Indlela 2: Sula uhlelo lokusebenza
Uma amathuluzi angaphambilini akhiwe ngaphakathi kwegobolondo yomyalo, khona-ke ukusula indawo yesevisi kuyodingeka ukuthi ufake ikhompiyutha yabo esemthethweni. Inzuzo yayo ukuthi ikuvumela ukuba ususe unomphela ikhathalogi ngaphandle kokuthi kungenzeka ukuthi ubuyisele kabusha nge-software ekhethekile.
- Vula "Isikhumbuzo" bese ubhala khona
sudo apt ukufaka usula
. - Faka iphasiwedi ukuqinisekisa i-akhawunti yakho.
- Linda amaphakheji amasha okungeziwe ematatsheni wesistimu.
- Ihlala nje kuphela ukuya endaweni oyifunayo noma ubhalise umyalo ngendlela egcwele eya kufolda. Kubonakala kanje:
Sula -rfi / ikhaya / umsebenzisi / ifolda
noma njesula ifolda
ekusebenzeni kokuqalacd + indlela
.
Uma usebenzisa umsebenzi ithuluzi sula kwadingeka ubhekane okokuqala, bhala ku-consoleSula -help
ukuthola ulwazi mayelana nokusebenzisa le nsizakalo kusuka kubathuthukisi. Incazelo yenkambinkimbi ngayinye kanye nenketho izoboniswa lapho.
Manje uyazi imiyalo yokugcina evumela ukuthi ususe izinkomba ezingenalutho noma izinkomba ezingenalutho kuzilungiselelo zokusebenza ezakhiwe ku-Linux. Njengoba ubona, ithuluzi ngalinye elikhulunywe lisebenza ngezindlela ezahlukene, ngakho-ke lizobe lihle kakhulu ezimweni ezahlukene. Ngaphambi kokusebenzisa amathuluzi, sincoma ngokuqinile ukuthi uqinisekise ukufaneleka kwendlela ecacisiwe kanye namagama wefolda ukuze amaphutha noma ukususwa ngengozi kungenzeki.