Microsoft PowerShell Core yafika kale pamtundu wake 6.0

Powershell

Windows Shell yodziwika bwino yasintha pomwe ikufika pa mtundu wa 6.0 kotero ndi iyo imabweretsa kusintha kwatsopano ndi zinthu zingapo mmwamba mwake. 

Pamene Kuphatikizidwa kwa Ubuntu bash ku Windows 10 kunali kutayambitsa kale chisokonezo ndipo popita nthawi Windows yakhala ikufuna kupeza mwayi kuchokera kwa ogwiritsa ntchito a Linux pophatikiza zinthu zosiyanasiyana kuchokera ku Linux kupita ku makina ake aposachedwa. 

Ndicholinga choti sizosadabwitsa kuti chipolopolo chake chilipo kuti chikayikidwe mkati mwa makina athu. 

Ngakhale padzakhala ambiri omwe amatsutsa chifukwa chake ikani chida ichi ngati tili ndi malo athu okondedwa, akadali mwayi kwa oyang'anira makina zomwe zimawathandiza kuti azitha kugwira ntchito ndi onse awiri. 

Komabe, Windows imayesetsa kupeza malo mkati mwa ma seva a intaneti kotero ikupitilira ndikupanga chida chake, koma tiyeni tiwone izi, Linux ndiye mtsogoleri pankhaniyi. 

Powershell

Kuti PowerShell ikhale yogwirizana ndi machitidwe ena kupatula Windows, imagwiritsa ntchito .NET Core, mtundu wa chimango cha maseva. 

Zina mwazinthu zomwe amatidziwitsa munkhani yatsopanoyi kuchokera ku PowerShell timapeza: 

  • Tsopano gwiritsani ntchito os_log API pa Mac ndi Syslog pa Linux. 
  • Amawonjezera chithandizo chamakhalidwe abwino pa Mac. 
  • Wapanga kugundana kwakumbuyo kwa Powerhell 
  • Ili ndi chithandizo cha Docker. 
  • Kumvetsetsa kwamilandu kwakhala koyenera, popeza Windows siyofunika kwenikweni, pomwe MacOS ndi Linux zili. 
  • Protocol ya PSRP (PowerShell Remoting Protocol) imagwiranso ntchito ndi SSH. 
  • Makhalidwe obisalira mu UTF-8 osagwiritsa ntchito Byte Order Mark. 
  • Mwa ena 

Momwe mungayikitsire PowerShell pa Ubuntu? 

Ngati mukufuna kuyesa chida ichi kapena mukufuna kungochichita, chinthu choyamba chomwe tiyenera kuchita ndikutsegula otsegula ndikuchita zotsatirazi: 

curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
curl https://packages.microsoft.com/config/ubuntu/17.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
sudo apt-get update
sudo apt-get install -y powershell 

Kuti tichite chipolopolocho tiyenera kulemba mu terminal: 

Pwsh 

Popanda zina ndikutsanzika. 


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.