Imiyalelo emi-5 Wonke umsebenzisi weLinux kufuneka ayazi

imiyalelo kubuntu

Ukulawula iLinux ayisiyonto yeeyure okanye iintsuku. Ukuqonda ukusebenza kwayo, ulwakhiwo kunye nemiyalelo ifuna, njengomthetho, ukuziqhelanisa neeseshoni ezininzi ukuze ufumane ukuqonda okukuyo. Amandla amakhulu eLinux akwi iqokobhe, oza kusebenza kuyo ngemiyalelo kwaye ubenakho ukuhambisa izikripthi ezintsonkothileyo ukwenza zonke iintlobo zemisebenzi.

Nangona ulwabiwo ngalunye lubandakanya iinkqubo ezahlukeneyo kunye neminye imisebenzi yalo, kwezi ndaba siza kukuveza Imiyalelo emi-5 Wonke umsebenzisi weLinux kufuneka ayazi.

1. Sudo

Mhlawumbi eyona ibaluleke kakhulu kuyo yonke le nkqubo Inye esivumela ukuba sifumane amalungelo olawulo okwenza imisebenzi ethile ekhethekileyo. Umyalelo sudo o superuser yenza Ivumela, ukusuka ekufakweni kwenkqubo kwikhompyuter ukuguqula imiba yentsimbi okanye ukuqala kwakhona ikhompyuter. Iziphumo zalo myalelo eyimfuneko kuwo nawuphi na umsebenzi ofuna ukuphakanyiswa kwelungelo kunye nento umsebenzisi anokuyenza Ingcambu.

Ukuba wakhe wawuphumeza umyalelo okanye wawenza umsebenzi apho inkqubo ikwazise ukuba ukuze uwenze okanye uwenze kufuneka ube Ingcambu (kufuneka ube yingcambu), ke kuya kufuneka uyiphumeze ngalo msebenzi, njenge: sudo apt-get update.

Ngamanye amaxesha, xa uqhuba usetyenziso lwegrafiki njenge nautilus okanye usungule umhleli wokubhaliweyo gedit, Kukhetha ukuba ungawusebenzisi lo myalelo ngenxa yezizathu ezibini. Eyokuqala kukuba kukho into ekhethekileyo kula matyala eyi gksudo, Okwesibini ukuba kuthintelwe ngale ndlela ezinye iziphazamiso kwi-graphical interface ngexesha lokwenziwa kwezi zicelo.

sudo

2. ls

Umsebenzi osivumela ukuba sijonge imixholo yesikhombisi awunakuphuthelwa phakathi kweentanda zethu. Nokuba siyenzile okanye sele ikho, ls ngomnye wemiyalelo eguquguqukayo kuyo yonke i-Linux, kuba ibandakanya isixa esikhulu seempawu zokusivumela ukuba sizibone ngamehlo zonke iipropathi zeefayile kunye nemikhombandlela. Ukuba umyalelo ls ivumela ukuba sidwelise umxholo wesikhombisi, nge ls-la Sinokudwelisa iimpawu zazo zonke izinto ezifumaneka kulawulo, kubandakanya nezo zinemowudi eguqulweyo.

ls

3. zip

Ukuqhubeka noluhlu lwethu lwemiyalelo esiyithandayo esiyifumanayo umyalelo wekopi okanye, ofanayo, cp. Zininzi iindlela zokwenza lo myalelo kodwa umbono ophantsi uhlala ukopa ifayile kwenye incwadi. Kungenxa yoko le nto yenziwe cp igama lefayile-igama Kwaye, ngaphandle kokuba sikwingcambu yolawulo lwendawo apho sifuna ukukopa khona, kufuneka singenise indlela yonke okanye sichaze amanqanaba ngamanqanaba ../.

Lo myalelo ixhasa ukusetyenziswa kweekhadi zasendle, ukuququzelela ukukopa kweefayile ezininzi ngaxeshanye umzekelo, cp * .txt / ikhaya / iLuis / amaXwebhu.

 

I-linux cp

4.grep

Omnye umyalelo wokuba wonke umsebenzisi weLinux kufuneka ayazi grep. Umsebenzi ophambili walo myalelo ngu fumana umdlalo womtya esiwuchazileyo okanye, yintoni efanayo, hluza ulwazi olusekwe kwipatheni esiyazisa ngayo. Ke, sinokuyisebenzisa ngokuthe ngqo ngokuchasene nefayile esele ikho, njenge grep isicatshulwa myfile.txt okanye ngokudibana ne iipayipi. Ukusetyenziswa kwe imibhobho unika ukuguquguquka okukhulu kulo myalelo, kuba iyasivumela ukuba silungise iziphumo esizifumanayo kwezinye iinkqubo ukuba siqalisa ukwenziwa okufana noku: ikati myfile.txt | isicatshulwa se-grep.

Lo myalelo ukwavumela ukuba usebenzise inani elikhulu lamakhadi asendle abuyayo yenye yezona zinzima kakhulu ukuqonda kakuhle. Ndithe, ngumyalelo oluncedo kakhulu kwaye kunzima ukuwulawula ngokunzulu.

I-linux grep

5.rm

Ukugqiba ezi ndaba, ndisazi ukuba ndishiye eminye imiyalelo emininzi apha endleleni, ndikholelwa ekubeni kufanelekile ukuba ungayilibali imiyalelo ivumela ukuba sicime ifayile okanye isikhombisi kwinkqubo yethu. Akufuneki sidideke rm nge sifumase, kuba lo myalelo wokugqibela usivumela kuphela ukuba sicime imikhombandlela kwinkqubo engenanto.

Ukucima ifayile, kwanele ukuba singenise isivakalisi kwisiphelo sendlela rm igama lefayile o rm * .txt ukuba sifuna ukucima iifayile ezininzi. Lumka kakhulu ukuba uza kusebenzisa iiparameter -rf, kuba unokucima ngokungalunganga lonke ulwazi kwikhompyuter yakho. Uyalumkiswa.

rm

 

Siyathemba ukuba olu hlaziyo lwemiyalelo ephambili yeLinux ikufundisile. Ukuba ubusele ubazi, mhlawumbi ufuna ukwabelana nathi Yeyiphi eminye imiyalelo ocinga ukuba ibalulekile ukuze wazi wonke umsebenzisi weLinux. Ewe kunjalo, samkela u-5 😉


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo, shiya eyakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   UJimmy Olano sitsho

    Ke ukuze uhlale unolwazi ngehlabathi Ubuntu sijonge ukungena kwakho. Ukufunda le isichaphazelayo namhlanje, nangona sisebenzisa "ikhonsoli" yonke imihla, kuba besingayazi i-gksudo, umyalelo esinokuthi sisebenzise ngayo i-gedit, umzekelo, kodwa kunjalo ngamalungelo amakhulu. NDONWABILE KAKHULU ukufunda into entsha, kangangokuba ndongeze olo khetho kwibhlog yam, kwaye ndenza umbulelo wam waziwe noluntu ngomyalezo okwi-Twitter:

    https://twitter.com/ks7000/status/704295055524233216