Izolo, ngoLwesihlanu, nge-18 ka-Okthobha, 2024, njengesiqhelo kwiindawo ezininzi ze-Linux ngaphakathi kwenethiwekhi yoluntu kunye nezicelo zemiyalezo ekhawulezileyo, ibibhiyozelwa. iDesika entsha kunye nolonwabo ngoLwesihlanu. Kwaye njengesiqhelo, owakho ngokwenene, okubhalelayo namhlanje, uthathe inxaxheba esidlangalaleni kwi-X (eyayisakuba ngu-Twitter) kunye nejelo lakhe lobuqu lweTelegram/iqela. Nangona kunjalo, izolo umfanekiso weskrini owabelwana ngawo ngumsebenzisi we-GNU/Linux wabamba ingqalelo yam ukuba i-terminal yakhe ayizange ibonise ulwazi lwezobuchwepheshe lwe-hardware kunye nenkqubo yokusebenza, kodwa endaweni yoko. ulwazi lobuchwephesha bogcino lweGit oyifakileyo kwikhompyuter yakho. Ke, emva kophando, ndiye ndazi kwaye ndazama Landela isixhobo se-CLI ukuba namhlanje ndiza ukwabelana kwaye ndikufundise, ebizwa ngokuba "Onefetch".
Kwakhona, le Fetch ibonakala kum enye indlela enomdla kakhulu, ngakumbi kubasebenzisi abaziingcali kunye nokuzifundisa i-GNU/Linux Distros abahlala bezinikele ekuphuhliseni iinkqubo kunye nezicelo usebenzisa iGit, kwaye babona ukubhiyozelwa kweDesktop Fridays njengethuba lokubonisa abanye ulwazi oluncinci lobugcisa malunga noko baphuhlisayo. Kwangaxeshanye, kunqande ukubonisa ulwazi olunobuthathaka lobuchwephesha kwikhompyuter yakho. Ke ngaphandle kokulinda, namhlanje siza kugubungela ulwazi oluyimfuneko malunga ne-Onefetch ukuze uyizame kwaye uyisebenzise ukuba uyifumana iluncedo, iyimfuneko, kwaye iyonwabisa.
Kodwa, ngaphambi kokuba uqale esi sithuba sinomdla kwaye siluncedo malunga nale nto intsha yokuThatha i-CLI isixhobo esibizwa ngokuba "Onefetch", ekwafumaneka simahla kwiLinux kunye neWindows, sicebisa ukuba ujonge Iposi elidlulileyo elidibeneyo kunye nezinye ii-apps ezininzi ezifanayo, ekupheleni kokufunda oku:
Ngokuthe ngqo, ngokufutshane kwaye kulula ukuyiqonda indlela, sinokuchaza inkqubo ye "Fecth" okanye isicelo njengabo injongo okanye injongo kukubonisa kwizikrini ze-terminal isishwankathelo esincinci solwazi malunga neempawu zobugcisa zangoku zekhompyuter kunye nenkqubo yokusebenza. apho ibethelelwa khona. Ke ngoko, idla ngokusetyenziswa ngokubanzi ukucwangciswa xa iitheminali (iikhonsoli) zeendlela ezahlukeneyo zokusebenza ziphunyezwa, ngendlela yokwazi kwangoko okona kubaluleke kakhulu kwaye kubalulekile ukuba noxilongo olukhawulezayo lwendawo esiya kusebenza kuyo. .
I-Onefetch: IsiXhobo seNgxelo yeGit ye-CLI esibhalwe ngomhlwa
Yintoni i-Onefetch?
Ngokutsho kwe GitHub iwebhusayithi esemthethweni ngu "Onefetch", abaphuhlisi bayo bachaza kwaye bakhuthaze isixhobo esixeliweyo kwiinkcukacha ezininzi ngolu hlobo lulandelayo:
I-Onefetch sisixhobo sokunika ingxelo se-Git esibhalwe kwi-Rust ebonisa ulwazi lweprojekthi kunye neenkcukacha-manani zekhowudi kwindawo yokugcina iGit ngqo kwi-terminal yakho. Isixhobo sisebenza ngaphandle koqhagamshelo lwe-intanethi. Ngokungagqibekanga, ulwazi logcino luboniswa kunye nelogo yolwimi oluphambili, kodwa oku kungaqwalaselwa ukuze kusetyenziswe umfanekiso othile, kwiitheminali ezixhaswayo, igalelo lombhalo, okanye akukho nto kwaphela.
Ngaphezu koko, kubalulekile ukugxininisa ukuba le nkqubo iyakwazi ukubhaqa ngokuzenzekelayo iilayisensi zemithombo evulekileyo yophuhliso kubonisiwe kunye nokubonelela umsebenzisi ngolwazi oluxabisekileyo olufana nokuhanjiswa kwekhowudi. Kwakhona, malunga utshintsho olulindileyo, inani labaxhomekeke (umphathi wepakethe nganye), abaxhasi abakhulu (ngenani lokuzibophelela), ubungakanani obuhlala kwidiski, usuku lokudala, imigca yekhowudi ephunyeziweyo, phakathi kwezinye iinkcukacha ezifanelekileyo.
Ngelixa, kwifayile yakhe website esemthethweni, babonisa kuphela kwaye banike ulwazi (kwifom ye-ASCII yokujonga kwangaphambili) malunga nazo zonke iilwimi zeprogram ezixhaswa kweso sixhobo se-CLI. Nangona kunjalo, kwaye njengoko kulindelekile, okufanayo Ikwafumaneka kwiVenkile yeSoftware ye-Ubuntu, zombini ukufumana ulwazi malunga neprojekthi kunye nokufakwa kwayo.
Uyifaka njani kwi-Ubuntu, iDebian kunye nezinye i-GNU/Linux Distros?
Njengoko sithethile ngasentla, "I-Onefetch" ku-Ubuntu inokufakwa ngokulula kwaye ngokukhawuleza usebenzisa iphakheji ye-Snap. Nangona kunjalo, inokufakwa ngokulula kwenye i-GNU/Linux Distros esekwe ku-Ubuntu kunye neDebian ngokulula khuphela ifayile ye-installer kwi-.deb format kwikhonkco elilandelayo, okanye ngokuhlohla ipakethe usebenzisa i Uvimba wePPA osemthethweni wonjiniyela ngendlela eqhelekileyo:
sudo add-apt-repository ppa:o2sh/onefetch
sudo apt-get update
sudo apt-get install onefetch
Kwimeko yam ethile, kwaye ekubeni ndisebenzisa eyam iMX Linux respin, ndiyifakile "Onefetch" usebenzisa uvimba wePPA utshintsha indawo yokugcina iBookworm ebhaqiweyo ukuya kwindawo eNoble. Ngelixa, ukuvavanya ukusebenza kwayo, ndikhuphele ngokuchanekileyo indawo yokugcina yeGit "Onefetch" ukubona ukuba isebenza njani xa uyiqhuba ngalo myalelo ulandelayo:
onefetch /home/sysadmin/onefetch/
Iziphumo zibe zezi zilandelayo:
Isishwankathelo
Ngamafutshane, ngoku usazi esinye isixhobo se-CLI, sinethemba lokuba ukuba unomdla kwiDesktop ngolwesiHlanu, uya kusebenzisa ngamaxesha athile. "Onefetch". Ke ngoko, ngelixa uyonwabele ukuthatha inxaxheba, nawe uthathe ithuba kusasaza ulwazi lobugcisa malunga neprojekthi yeGit osebenza kuyo okanye apho uthatha inxaxheba okanye ufuna nje ukuxhasa ngokusasaza. Kwaye ukuba Ngaba uyazi naziphi na ezinye izixhobo ze-Fetch CLI esingekagubungeli?, emva koko siyakumema ukuba uyikhankanye ngamagqabaza, ukuze uyixubushe kwimpapasho yexesha elizayo ukuze bonke abafundi bethu babe nolwazi yaye bangenelwe.
Okokugqibela, khumbula ukwabelana nabanye ngesi sithuba siluncedo nesimnandi, kwaye ndwendwela ekuqaleni kwethu «webhsayithi» ngeSpanish okanye ezinye iilwimi (ukongeza iileta ezi-2 ekupheleni kwe-URL, umzekelo: ar, de, en, fr, ja, pt kunye no-ru, phakathi kwezinye ezininzi). Ukongeza, siyakumema ukuba ujoyine yethu Ijelo leTelegram elisemthethweni ukufunda kunye nokwabelana ngeendaba ezininzi, izikhokelo kunye nezifundo ezivela kwiwebhusayithi yethu.