Bhash 5.1 yakatoburitswa uye idzi ndidzo nhau dzayo

Mushure memakore maviri ekuvandudza, vhezheni itsva yeGNU Bash 5.1 shell yaburitswa, inova ndiyo yekusarudzika pane akawanda maLinux anoparadzira. Panguva imwecheteyo, kuburitswa kweiyo kuverenga mutsara 8.1 raibhurari kwakaumbwa, kushandiswa mu bash kuronga rairo yekuraira mutsara.

Uyu ndiye muturikiri wekusarudzika pane mazhinji emahara Unix masisitimu, kunyanya paGNU / Linux masisitimu. Iyo zvakare iri default shell yeMac OS X. Iyo Cygwin chirongwa chakaunza icho kuWindows kekutanga uye muWindows 10 iri sisitimu yekushandisa sarudzo.

Main nyowani maficha eBash 5.1

Injini yakagadziriswazve kuti igadzire nhamba dzekunyepedzera-dzakasarudzika, kunze kwaizvozvo se yakawedzera SRANDOM musiyano Iyo ine makumi matatu nemasere-nhamba dzisingaenzaniswi kubva kune iyo pseudo-isina nhamba nhamba jenareta

Zvekudyidzana arrays, rutsigiro rwechikamu chemakomisheni inoitwa, umo seti yemaviri ichipfuudzwa mukiyi / kukosha kwemafomati, pamusoro pekuwedzera kuwedzera kwesimba kwehukuru hwetafura yehash zvichienderana nerudzi rwe data rwakawedzerwa kuhukama hwehukama.

Imwe shanduko inomira pachena iri mumodi POSIX, iyo nzira yekutsiva basa inoitwa, iyo iyo yekuisa uye kubuda kwemurairo kunoitwa sefaira nemamwe mirairo.

Yakawedzerwa mitsva parameter yevanoshandura vashandisi: "U", "u" uye "L" kushandura tambo yese kuita yepamusoro, shandura hunhu hwekutanga kuve hukuru uye kushandura kuve wezasi, pamwe neparamende "K" kuratidza inosangana irimo mune yakakosha / kukosha fomati.

Kugonesa mamiriro ekudzokera kumashure, iwe zvino unofanirwa kushandisa iyo BASH_COMPAT musiyano (haugone kuseta bash 5.0 inoenderana modhi uchishandisa compat50 sarudzo).

Nokusingaperi, Mutsetse wekuverenga une bracketed paste mode inogoneswa, imomo iyo data yakadzoserwa kubva ku clipboard yakarongedzwa nematanho ekupukunyuka kuti zvionekwe kusimbisa iyo data inogamuchirwa kubva ku clipboard. Chinyorwa chekuverenga chinopa kujekesa kwekuisa kwakadaro, pamwe nekusimbisa iwo mavara anowanikwa panguva yekuwedzera uye isiri-yekuwedzera nhoroondo yekutsvaga. Huwandu hwemirairo uye mamiriro ayo anosimbisa mavara akawandisa akawedzerwa.

Mukuwedzera, se akadzosa maitiro apfuura zvine chekuita nekuwedzera kweiyo faira nzira kana uchitsanangura mazwi anosanganisira backslashes asi ivo havashandise yakasarudzika mask ekuwedzera mavara.

Sezvo muna bash 4.4, nzira dzakadai hadzisati dzaziviswa (hunhu hwakagadziridzwa hweBash 5.0 hwaienderana neyakajairika POSIX, asi yakagashirwa zvisirizvo nevashandisi uye komiti yePOSIX yakabvuma kushandura iwo marongero). Zvakare, iyo GLOBIGNORE modhi ikozvino inofuratira iyo "." uye ".." senzira dzenzira dzakatsanangurwa mutaraini.

Yakagadziridzwa kunze kwekubata kana uchiverenga terminal data uchishandisa kuverenga uye sarudza zvivakwa. Iyo yakavakirwa-mukati sarudza basa ikozvino misungo kana chiratidzo chikanganisa iyo yemukati kufona kuti iverenge. Kudzoreredza kumisikidzwa kubvumidzwa kweSIGINT vanodzora.

Mutsetse wekuverenga waisa otomatiki yakatwasuka kupuruzira pane imwechete mutsara zviteshi.

Uye zvakare, tinogona kuwana tsigiro kutsanangura dzakasiyana nzira pfupi keyboard yemhando dzakasiyana dzekugadzirisa uye maratidziro akasiyana ebhodhi mubumbiro re "bind -x".

Iyo optimization yenhamba yematavi yakaitwa kuurayiwa kana uchiita mirairo mune iri pasi kana kushandisa "bash -c". Kana uchimhanya "bash -c", iyo yekumisikidza basa chinzvimbo chave kuwanikwa nemabasa mirairo.

Iyo pateni inowirirana kodhi ikozvino inoshandisa iyo fnmatch kufona kuaccount yetambo dzinotaridzika zvakafanana, asi dzakasiyana mumhando dzemakhodhi.

Kuraira Shell-transpose-mazwi akawedzerwa kune yekuverenga, uchishandisa iro rakafanana izwi tsananguro senge mune Shell-kumberi-izwi. Nokusingaperi, zvisungo zvekibhodi zvakawedzerwa kune shell-mberi-shoko, shell-backward-word, shell-transpose-mazwi, uye shell-kuuraya-shoko.

Nzira yekuwana sei Bhash 5.1 paLinux?

Pari zvino Izvo zvinongoramba zvakamirira kuti iyi nyowani vhezheni yeBash iiswe mukati mezvakachengetedzwa zvekuparadzirwa kweLinux, nekuti ndiyo sarudzo yakanakisa.

Kana iwe uchida kuziva zvishoma uye zvakare avo vanoda kuwana iyi nyowani vhezheni ikozvino, unogona kushanyira chinotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Mhinduro, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   ROMSAT akadaro

    Uye kuti uzive kuti ndeipi vhezheni yauri kushanda nayo, iwe unongofanirwa kuvhura terminal uye edza chero yeidzi nzira nhatu (zvirokwazvo pachave nezvimwe):
    1) $ ungira "$ {BASH_VERSION}"
    2) $ bash -shanduro
    3) Pasina kutaipa chero chinhu, shandisa iyo yakatemwa uye unama kiyi musanganiswa, ndokuti: Ctrl + x Ctrl + v