PowerShell, shigar da wannan harsashi na layin umarni akan Ubuntu 22.04

game da PowerShell

A cikin labarin mai zuwa za mu kalli yadda za mu iya shigar da PowerShell akan Ubuntu 22.04. Wannan shine tsarin gudanarwa da dandamali na sarrafa aiki. Ya ƙunshi harsashi na Layin umarni giciye-dandamali da harshe mai alaƙa da rubutun.

Kamar yadda muka ce, wannan shi ne harsashin layin umarni da kuma yaren rubutu tare da abubuwan amfani da layin umarni sama da 130 da ake kira cmdlets. Waɗannan suna bin daidaitattun sunaye da ƙa'idodin daidaitawa, kuma ana iya ƙara su tare da cmdlets na al'ada.

PowerShell (asali ake kira Windows PowerShell) shi ne na'ura mai ba da hanya tsakanin hanyoyin sadarwa (console interface).CLI), tare da yuwuwar rubutawa da haɗa umarni ta hanyar umarni. An ƙirƙira wannan ƙirar wasan bidiyo don amfani da masu gudanar da tsarin don manufar sarrafa ayyuka ko aiwatar da su ta hanyar da ta fi dacewa. PowerShell wani harsashi ne mai ma'ana.

PowerShell yana aiki

A baya can, Microsoft Windows PowerShell software ce kawai don Windows, amma a 2016 da developers sanya shi bude tushen da giciye-dandamali. Shi ya sa a yau samun damar amfani da shi a cikin Ubuntu abu ne mai sauqi. Ko da yake bayan gwada zaɓuɓɓukan shigarwa daban-daban da ke cikin Ubuntu 22.04, wanda za mu gani a ƙasa kawai ya yi aiki.

Shigar da Microsoft PowerShell akan Ubuntu 22.04 LTS

PowerShell yanzu ana samun goyan bayan mafi yawan rabawa na Gnu/Linux. Duk sabbin fakitin PowerShell na Gnu/Linux ana samun su a GitHub.

Ba tare da shakka ba, hanya mafi sauƙi don shigar da PowerShell akan Ubuntu shine ta amfani da mai sarrafa kunshin. karye, kuma yau, kamar yadda nake faɗa, ita ce kawai hanyar da na iya Sanya PowerShell akan Ubuntu 22.04. An kunna wannan mai sarrafa fakitin na duniya ta tsohuwa a cikin tsarin, don haka kawai za mu buɗe tasha (Ctrl+Alt+T) mu rubuta a ciki:

shigar da powershell azaman karye

sudo snap install powershell --classic

Bayan kafuwa, zamu iya fara shirin neman mai ƙaddamar da ku a cikin tsarin mu.

shirin mai gabatarwa

Uninstall

para cire kunshin snap wanda muka shigar yanzu, a cikin tashar (Ctrl + Alt + T) kawai dole ne ku yi amfani da umarnin:

uninstall powershell snap

sudo snap remove powershell

Tare da masu amfani da PowerShell na iya amfani da umarni masu sauƙi (don nuna halin yanzu) da aikace-aikace masu rikitarwa da yawa. Hakanan yana yiwuwa a yi amfani da haɗin gwiwar umarni da yawa ("bututun mai"). Don ƙarin bayani game da wannan shirin, masu amfani za su iya zuwa aikin yanar gizo.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.