Kulemba kwa Shell - Maphunziro 01: Ma terminal, Consoles ndi Zipolopolo

Shell Scripting - Maphunziro 01: Ma Terminals, Consoles ndi Zipolopolo

Kulemba kwa Shell - Maphunziro 01: Ma terminal, Consoles ndi Zipolopolo

En ubunlog nthawi zonse timafuna kusonyeza nkhani ndi zachilendo, pafupi ndi atsogoleri ndi maphunziro. Pachifukwa ichi, lero tiyamba ndi mndandanda wothandiza wamaphunziro okhudzana ndi mfundo yayikulu komanso yapamwamba kwambiri GNU / Linux.

Chifukwa chake, lero tiyamba woyamba (01 Tutorial) kuchokera mndandanda wamakalata achidule onena za Kulemba ma Shell. Kuthandiza onjezerani luso la Terminal, kwa onse ogwiritsa ntchito mwachidwi Machitidwe a GNU / Linux. Kaya amazichita mwaukadaulo kapena mwaukadaulo.

za PowerShell

Ndipo musanayambe izi Maphunziro 01 pa "Shell Scripting", timalimbikitsa kufufuza zotsatirazi zokhudzana nazo, pamapeto powerenga izi lero:

za PowerShell
Nkhani yowonjezera:
PowerShell, ikani chipolopolo cha mzerewu pa Ubuntu 22.04
Pafupi ndi lua
Nkhani yowonjezera:
Lua, ikani chilankhulo champhamvu ichi pa Ubuntu

Maphunziro a Shell Scripting 01

Maphunziro a Shell Scripting 01

Maziko okhudzana

Kodi Terminal ndi chiyani?

Mukakamba za Hardware, mawuwa nthawi zambiri amagwirizanitsidwa "Pokwerera" kwa iwo zida zakuthupi Izi zimatilola ife kulowa ndi kulandira zambiri pa kompyuta. Komabe, m'munda wa software, ndipo koposa zonse, mwa mawu a kugwiritsa ntchito machitidwe opangira malembedwe, mawu "Pokwerera", nthawi zambiri amanena za 'terminal emulators'. Ndiko kuti, mapulogalamu omwe amatilola kuti tigwiritse ntchito malemba mkati mwa graphical user interface (GUI). Choncho, kuchita ndi kupereka mwayi kwa chipolopolo kapena mitundu yambiri ya zipolopolo.

Chitsanzo chabwino chodziwika bwino ndi Windows, zomwe zimapereka zodziwika bwino Windows Terminal, yomwe mwachisawawa imakulolani kugwiritsa ntchito Windows PowerShell (kapena PowerShell basi), ndi pulogalamuyi "Chizindikiro chadongosolo" kapena mophweka CMD (Command Prompt). Pomwe, mu GNU/Linux pali mapulogalamu ambiri a Terminal, omwe amatha kugwiritsa ntchito Zipolopolo zingapo. Kukhala Bash Shell wodziwika bwino.

Kodi Console ndi chiyani?

Mawuwo "Kutitonthoza" monga choncho "Pokwerera", ponena za Hardware, nthawi zambiri zimagwirizanitsidwa ndi chinthu chomwecho. Komabe, malinga ndi Mapulogalamu, mayanjano ake olondola ayenera kukhala a tsegulani gawo mu chipolopolo. Chitsanzo chabwino kumvetsetsa izi ndikuti titha kutsegula terminal ndikutsegula ma tabo 2 (Consoles) mmenemo.

Ndipo mu chilichonse, yambani gawo la zipolopolo zosiyana. Komanso, mu Machitidwe a GNU / Linux, nthawi zambiri timatha kupeza ma consoles osiyanasiyana omwe amadziwika kuti TTY (TeleTypewriter), yomwe ingapezeke pogwiritsa ntchito njira zachidule za kiyibodi: Ctrl + Alt + Function kiyi (kuyambira F1 mpaka F7).

Ma Terminals, Consoles ndi Zipolopolo

Kodi Shell ndi chiyani?

Chigoba chikhoza kufotokozedwa mwachidule kuti, a omasulira dongosolo la opareshoni. Choncho, chipolopolo chikhoza kuwonedwa ngati a mawonekedwe apamwamba alemba, yomwe imagwiritsidwa ntchito kudzera mu Terminal (Console) pazifukwa zenizeni, monga: Kuwongolera makina ogwiritsira ntchito, kuchita ndi kuyanjana ndi mapulogalamu ndi kupereka malo opangira mapulogalamu (chitukuko). Kuphatikiza apo, mu GNU/Linux pali Zipolopolo zambiri, zomwe zotsatirazi zitha kutchulidwa: Zsh, Nsomba, Ksh ndi Tcsh, pakati pa ena ambiri.

Mu phunziro lotsatira ndi lachiwiri, tilowa mozama mu Shells, makamaka Bash Shell. Ndiyeno ife tisunthira patsogolo Scripts ndi Shell Scripting.

za mapiko
Nkhani yowonjezera:
Mapiko, malo otukuka opangira Python
za chomenyera
Nkhani yowonjezera:
Racket, ikani chinenerochi mu Ubuntu

Chikwangwani chachidule cha positi

Chidule

Mwachidule, tikuyembekeza izi Maphunziro 01 pa "Shell Scripting" zikhale zokondweretsa ndi zothandiza kwa ambiri. Ndipo chiyambi chachikulu chothandizira ku maphunziro ogwiritsira ntchito GNU/Linux Terminal, makamaka kwa iwo ogwiritsa ntchito oyamba kumene m'mawu Machitidwe aulere ndi otseguka, zomwe nthawi zambiri zimangogwiritsa ntchito zojambulajambula kuti ziziwongolera.

Ngati mumakonda zomwe zili, ndemanga ndikugawana. Ndipo kumbukirani, pitani ku chiyambi chathu «Website», kuwonjezera pa njira yovomerezeka ya uthengawo kuti mumve zambiri, maphunziro ndi zosintha za Linux.


Khalani oyamba kuyankha

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.