Kuhlelo lwezinhlelo zokusebenza ze-Linux, kunezinsiza eziningi ezakhelwe ngaphakathi, ukusebenzisana okwenziwe ngokufaka imiyalo efanelekile "Isikhumbuzo" ngezingxabano ezihlukahlukene. Ngenxa yalokhu, umsebenzisi angakwazi ukulawula i-OS ngokwalo, imingcele ehlukahlukene namafayela akhona. Elinye lamaqembu athandwayo ikati, futhi isebenza nokuqukethwe kwamafayela wefomethi ehlukene. Okulandelayo, singathanda ukukhombisa izibonelo ezimbalwa zokusebenzisa lo myalo usebenzisa imibhalo elula yombhalo.
Ukusebenzisa umyalo wekati ku-Linux
Ithimba libuyekezwe namuhla liyatholakala kuzo zonke izimiso ezisuselwe kwikhenelini le-Linux, futhi libukeka okufanayo yonke indawo. Ngenxa yalokhu, ukwakha okusetshenzisiwe akusizi ngalutho. Izibonelo zanamuhla zizokwenziwa kwikhompyutha eqhuba Ubuntu 18.04, futhi uzokwazi kuphela izimpikiswano kanye nesimiso sezenzo zabo.
Izenzo zokulungiselela
Okokuqala, ngingathanda ukuchitha isikhathi ezenzweni zokuqala, ngoba akubona bonke abasebenzisi abajwayele isimiso se-console. Iqiniso liwukuthi uma uvula ifayela, kufanele ucacise indlela ngqo kulo, noma ugijime umyalo, ngokuqondile kule directory ngokwayo "Isikhumbuzo". Ngakho-ke, sikukwazisa ukuba uqale ukubheka le ncwajana:
- Vula imenenja yefayela bese uhamba uye kwifolda lapho amafayela adingekayo agcinwa khona.
- Chofoza komunye wabo ngenkinobho yegundane kwesokudla bese ukhetha "Izakhiwo".
- Kuthebhu "Okuyisisekelo" Funda ulwazi mayelana nefolda yomzali. Khumbula le ndlela, ngoba iyasiza futhi.
- Qalisa "Isikhumbuzo" nge imenyu noma isinqamuleli I-Ctrl + Alt + T.
- Bhalisa iqembu
cd / ekhaya / umsebenzisi / ifolda
kuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - ifolda lapho izinto zigcinwa khona. Umyalo ojwayelekile unesibopho sokuhamba endleleni.cd
.
Le ndlela isetshenziselwa ukuya kusiqondisi esithile ngokusebenzisa i-console ejwayelekile. Izenzo ezengeziwe zizophinde zenziwe ngale folda.
Buka okuqukethwe
Omunye wemisebenzi esemqoka yomyalo ongenhla ukubuka okuqukethwe kwamafayela ahlukahlukene. Yonke imininingwane iboniswa emigqeni ehlukene "Isikhumbuzo"kanye nesicelo ikati kubukeka kanje:
- Ku-console, faka
i-cat testfile
kuphi testfile - igama lefayela edingekayo, bese ucindezela ukhiye Ngena. - Funda okuqukethwe kwento.
- Ungavula amafayela amaningana ngesikhathi esisodwa, ngoba lokhu kuzodingeka ucacise wonke amagama abo, isibonelo,
I-cat testfile testfile1
. - Izintambo zizohlanganiswa futhi zikhonjiswe njengeyodwa.
Yile ndlela esebenza ngayo. ikati ngaphandle kokusebenzisa izimpikiswano ezitholakalayo. Uma nje u-ohlwini "Isikhumbuzo"ikati
, uzothola uhlobo lwe-notebook ye-console enekhono lokurekhoda inombolo efunwayo yemigqa bese uyisindisa ngokuchofoza Ctrl + D.
Ukubalwa komugqa
Manje masithinte eqenjini elibuzwayo besebenzisa izimpikiswano ezihlukahlukene. Kufanele iqale ngokubalwa kwemigqa, futhi inesibopho salokhu-b
.
- Ku-console, bhala
cat -b testfile
kuphi testfile - igama lezinto oyifunayo. - Njengoba ungabona, yonke imigqa engenalutho ikhona yabalwa.
- Ungasebenzisa le mpikiswano ngokukhipha kwamafayela amaningana, njengoba kuboniswe ngenhla. Kulesi simo, ukubalwa kwenombolo kuzoqhubeka.
- Uma ufuna ukubhala yonke imigqa, kufaka phakathi okungenalutho, kuzomele usebenzise i-argument
-n
bese ithimba lithatha ifomu:ikati-i-testfile
.
Susa okuphindwe kabili imigqa engenalutho
Kwenzeka ukuthi kumadokhumenti owodwa kunesethi yemigqa engenalutho evele ngendlela ethile. Ukususa ngokuzenzakalelayo ngokusebenzisa umhleli akuzona ngaso sonke isikhathi okulula, ngakho-ke ungaxhumana nomyalo lapha. ikatingokusebenzisa ukuphikisana-s
. Khona-ke ucingo luthatha ifomuikati-i-testfile
(ukubhalwa kwamafayela amaningana kuyatholakala).
Ukungeza isibonakaliso se-$
Uphawu $ emgqeni wokulawula wezinhlelo zokusebenza ze-Linux, kusho ukuthi umyalo ofakelwe ngezansi uzokwenziwa egameni lomsebenzisi ojwayelekile, ngaphandle kokunikeza amalungelo okumpande. Ngezinye izikhathi kuyadingeka ukwengeza uphawu olunjalo kuze kube sekupheleni kwayo yonke imigqa yefayela, futhi lokhu kufanele usebenzise-E
. Umphumela ubaikati -I-testfile
(incwadi E kufanele ukuthi ihlelwe ngokucacile eseceleni).
Hlanganisa amafayela amaningana abe munye omusha
Ikati ikuvumela ukuba uhlanganise ngokushesha futhi kalula izinto eziningana zibe enye entsha, ezogcinwa kufolda efanayo lapho zonke izenzo zenziwa khona. Udinga nje ukwenza lokhu okulandelayo:
- Ku-console, bhala
I-cat testfile testfile1> testfile2
(Inani lezihloko ngaphambili > kungenzeka kube nemkhawulo). Ngemva kokungena uchofoze Ngena. - Vula isiqondisi ngokusebenzisa umphathi wefayela bese uqala ifayela elisha.
- Kubonakala ukuthi iqukethe yonke imigqa evela kuwo wonke amaphepha achaziwe.
Iziphakamiso ezimbalwa zisetshenziswe ngokungajwayelekile, kepha kufanele zichazwe nakanjani:
-v
- bonisa inguqulo ye-Umbuso osemthethweni;-h
- ubonisa usizo ngolwazi oluyisisekelo;-T
- engeza amathebhu amathebhu njengezinhlamvu ^ I.
Ujwayele inqubo yokuhlela idokhumenti, engasiza ekuhlanganiseni umbhalo ocacile noma amafayela wokuhlela. Kodwa-ke, uma unesithakazelo ekudaleni izinto ezintsha, sikukwazisa ukuba ubheke esinye isihloko sethu kusixhumanisi esilandelayo.
Funda kabanzi: Ukudala nokususa amafayela ku-Linux
Ngaphezu kwalokho, kunenombolo enkulu yemilayezo ethandwayo futhi esetshenziswa njalo kwizinhlelo zokusebenza ze-Linux, funda kabanzi ngabo ngendaba ehlukile ngezansi.
Bheka futhi: Izimiso ezisetshenziswa njalo kwi-Linux Terminal
Manje uyazi ngeqembu elijwayelekile. ikati noma yini engase ifinyeleleke lapho isebenza "Isikhumbuzo". Akukho lutho olulukhuni ekusebenzelaneni nalo, into esemqoka ukunamathela ku-syntax nerejista yezimfanelo.