{"id":95906,"date":"2020-10-05T01:41:58","date_gmt":"2020-10-04T23:41:58","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/zapuskaem-komandnuyu-stroku-linux-na-ios"},"modified":"2020-10-05T01:41:58","modified_gmt":"2020-10-04T23:41:58","slug":"zapuskaem-komandnuyu-stroku-linux-na-ios","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/zapuskaem-komandnuyu-stroku-linux-na-ios","title":{"rendered":"Nisni komand\u00ebn e linj\u00ebs s\u00eb komand\u00ebs Linux n\u00eb iOS.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Nisni komand\u00ebn e linj\u00ebs s\u00eb komand\u00ebs Linux n\u00eb iOS.\" src=\"\/wp-content\/uploads\/2020\/10\/2cfc862c9912ac31e6af72bca74ceff1.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nA e dini se \u00ebsht\u00eb e mundur t\u00eb ekzekutoni komand\u00ebn e linj\u00ebs Linux n\u00eb nj\u00eb pajisje iOS? Ndoshta do t\u00eb pyesni: \u00abP\u00ebrse duhet t\u00eb p\u00ebrdor aplikacione tekstuale n\u00eb iPhone?\u00bb \u00cbsht\u00eb nj\u00eb pyetje e drejt\u00eb. Por n\u00ebse po lexoni Opensource.com, ndoshta e dini p\u00ebrgjigjen: p\u00ebrdoruesit e Linux duan t\u00eb mund t\u00eb punojn\u00eb me t\u00eb n\u00eb \u00e7do pajisje dhe t\u00eb ken\u00eb cil\u00ebsimet e tyre personale.<\/p>\n<p>Por ata d\u00ebshirojn\u00eb m\u00eb s\u00eb shumti zgjidhjen e problemeve t\u00eb komplikuara.<\/p>\n<p>Un\u00eb kam nj\u00eb iPad 2 Mini t\u00eb viteve t\u00eb fundit q\u00eb akoma i p\u00ebrshtatet mir\u00eb leximit t\u00eb librave elektronik\u00eb dhe detyrave t\u00eb tjera. Megjithat\u00eb, un\u00eb dua ta p\u00ebrdor at\u00eb edhe p\u00ebr qasje n\u00eb komand\u00ebn e linj\u00ebs s\u00eb aplikacioneve me grupin tim t\u00eb programeve dhe skripteve, pa t\u00eb cilat nuk mund t\u00eb punoj. M\u00eb duhet nj\u00eb ambient q\u00eb jam m\u00ebsuar, si dhe mjedisi im standard i zhvillimit. K\u00ebshtu kam arritur ta realizoj k\u00ebt\u00eb.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>Lidhja me tastier\u00ebn<\/h2>\n<p>\nT\u00eb punosh me komand\u00ebn e linj\u00ebs p\u00ebr programim p\u00ebrmes tastier\u00ebs virtuale t\u00eb telefonit ose tabletit \u00ebsht\u00eb mjaft e pak\u00ebndshme. Un\u00eb rekomandoj t\u00eb lidhni nj\u00eb tastier\u00eb t\u00eb jashtme, qoft\u00eb p\u00ebrmes Bluetooth-it, ose duke p\u00ebrdorur nj\u00eb adaptues p\u00ebr lidhjen e kamer\u00ebs p\u00ebr t\u00eb lidhur nj\u00eb tastier\u00eb me kabllo (un\u00eb zgjodha opsionin e dyt\u00eb). Kur lidhem me tastier\u00ebn e ndar\u00eb Kinesis Advantage me iPhone 6, rezulton nj\u00eb pajisje e \u00e7uditshme q\u00eb i ngjan <noindex><a rel=\"nofollow\" href=\"https:\/\/www.shadowruntabletop.com\/products\/setting-sourcebooks\/\">nj\u00eb cyberdeck korporativ<\/a><\/noindex> nga klasi <noindex><a rel=\"nofollow\" href=\"https:\/\/opensource.com\/article\/20\/7\/free-rpg-day\">lojrave role<\/a><\/noindex> Shadowrun.<\/p>\n<h2>D\u00ebrgimi i shell-it n\u00eb iOS<\/h2>\n<p>\nP\u00ebr t\u00eb ekzekutuar nj\u00eb sistem plot\u00ebsisht funksional Linux n\u00eb iOS ka dy mund\u00ebsi:<\/p>\n<ul>\n<li>Secure shell (SSH), e lidhur me nj\u00eb kompjuter me Linux<\/li>\n<li>Ekzekutimi i nj\u00eb sistemi virtual me Alpine Linux p\u00ebrmes iSH, i cili \u00ebsht\u00eb open source, por duhet t\u00eb instalohet p\u00ebrmes aplikacionit pronar TestFlight nga Apple<\/li>\n<\/ul>\n<p>\nSi alternativ\u00eb, ka dy aplikacione-emulator\u00eb terminal n\u00eb open source, q\u00eb ofrojn\u00eb mund\u00ebsin\u00eb e p\u00ebrdorimit t\u00eb mjeteve open source n\u00eb nj\u00eb ambient t\u00eb kufizuar. Ky \u00ebsht\u00eb varianti m\u00eb i reduktuar \u2014 n\u00eb fakt k\u00ebtu nuk po ekzekutoni Linux, por mjete t\u00eb Linux-it. N\u00eb pun\u00ebn me k\u00ebto aplikacione ka kufizime t\u00eb rrepta t\u00eb mund\u00ebsive, megjithat\u00eb, ju fitoni funksionalitetin e pjessh\u00ebm t\u00eb komand\u00ebs s\u00eb linj\u00ebs.<\/p>\n<p>Para se t\u00eb kaloj n\u00eb zgjidhje m\u00eb t\u00eb komplikuara, un\u00eb do t\u00eb shqyrtoj m\u00ebnyr\u00ebn m\u00eb t\u00eb thjesht\u00eb.<\/p>\n<h3>Mund\u00ebsia 1: shell n\u00eb \u00absandbox\u00bb<\/h3>\n<p>\nNj\u00eb nga m\u00ebnyrat m\u00eb t\u00eb thjeshta \u00ebsht\u00eb t\u00eb instaloni nj\u00eb aplikacion p\u00ebr iOS <noindex><a rel=\"nofollow\" href=\"https:\/\/libterm.app\/\">LibTerm<\/a><\/noindex>. Kjo \u00ebsht\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ColdGrub1384\/LibTerm\">open source<\/a><\/noindex> nj\u00eb shell komandash n\u00eb \"sandbox\" me mb\u00ebshtetje p\u00ebr m\u00eb shum\u00eb se 80 komanda p\u00ebr zero dollar\u00eb. Ajo vjen s\u00eb bashku me Python 2.7, Python 3.7, Lua, C, Clang dhe shum\u00eb t\u00eb tjera.<\/p>\n<p>Ajo ka funksionalitet t\u00eb ngjash\u00ebm me <noindex><a rel=\"nofollow\" href=\"https:\/\/holzschu.github.io\/a-Shell_iOS\/\">a-Shell<\/a><\/noindex>, e p\u00ebrshkruar nga zhvilluesit si \"interfata e testimit t\u00eb p\u00ebrdoruesit p\u00ebr platform\u00ebn me hyrje n\u00eb ekran.\" Kodet e burimit t\u00eb a-Shell jan\u00eb publikuar <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/holzschu\/a-shell\/blob\/master\/LICENSE\">open source<\/a><\/noindex>, ajo \u00ebsht\u00eb n\u00eb zhvillim aktiv, ofron akses n\u00eb sistemin e skedar\u00ebve dhe vjen me Lua, Python, Tex, Vim, JavaScript, C dhe C++, si edhe me Clang dhe Clang++. Ajo madje lejon instalimin e paketave Python p\u00ebrmes pip.<\/p>\n<h3>Variant 2: SSH<\/h3>\n<p>\nNj\u00eb hap tjet\u00ebr p\u00ebrpara krahasuar me shkarkimin e aplikacionit \u00ebsht\u00eb konfigurimi i nj\u00eb klienti SSH. Ka koh\u00eb q\u00eb mund t\u00eb p\u00ebrdorim \u00e7do nga shum\u00eb aplikacione t\u00eb klient\u00ebve SSH p\u00ebr iOS p\u00ebr t'u lidhur me nj\u00eb server ku ekzekutohet Linux ose BSD. Avantazhi i p\u00ebrdorimit t\u00eb SSH \u00ebsht\u00eb se n\u00eb server mund t\u00eb funksionoj\u00eb \u00e7do shp\u00ebrndarje me \u00e7do software. Ju punoni n\u00eb distanc\u00eb dhe rezultatet e pun\u00ebs thjesht transmetohen n\u00eb emulatorin e terminalit n\u00eb pajisjen iOS.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/blink.sh\">Blink shell<\/a><\/noindex> \u2014 \u00ebsht\u00eb nj\u00eb aplikacion SSH popullor me pages\u00eb n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/blinksh\/blink\/blob\/raw\/COPYING\">open source<\/a><\/noindex>. N\u00ebse nuk i kushtoni v\u00ebmendje ekranit t\u00eb vog\u00ebl t\u00eb pajisjes, p\u00ebrdorimi i k\u00ebtij softueri \u00ebsht\u00eb si t\u00eb lidheni me serverin p\u00ebrmes \u00e7do komand\u00ebs tjet\u00ebr. Terminali Blink duket shk\u00eblqyer, ka shum\u00eb tema t\u00eb p\u00ebrgatitura dhe nj\u00eb funksion p\u00ebr t\u00eb krijuar tema t\u00eb veta, duke p\u00ebrfshir\u00eb mund\u00ebsin\u00eb p\u00ebr t\u00eb konfigurimin dhe shtimin e fonteve t\u00eb reja.<\/p>\n<h3>Variant 3: ekzekutimi i Linux<\/h3>\n<p>\nP\u00ebrdorimi i SSH p\u00ebr t'u lidhur me nj\u00eb server Linux \u00ebsht\u00eb nj\u00eb m\u00ebnyr\u00eb e shk\u00eblqyer p\u00ebr t\u00eb aksesuar komand\u00ebn, por k\u00ebrkon nj\u00eb server t\u00eb jasht\u00ebm dhe nj\u00eb lidhje rrjeti. Kjo nuk \u00ebsht\u00eb nj\u00eb penges\u00eb e madhe, por nuk mund t\u00eb injorohet plot\u00ebsisht, k\u00ebshtu q\u00eb ju mund t\u00eb keni nevoj\u00eb t\u00eb punoni me Linux pa server.<\/p>\n<p>N\u00ebse kjo \u00ebsht\u00eb rasti juaj, at\u00ebher\u00eb do t'ju duhet t\u00eb b\u00ebni nj\u00eb hap tjet\u00ebr p\u00ebrpara. <noindex><a rel=\"nofollow\" href=\"https:\/\/testflight.apple.com\/\">TestFlight<\/a><\/noindex> \u2014 \u00ebsht\u00eb nj\u00eb sh\u00ebrbim proprietar p\u00ebr instalimin e aplikacioneve q\u00eb po zhvillohen p\u00ebrpara se ato t\u00eb publikohen n\u00eb Apple App Store. Aplikacioni TestFlight mund t\u00eb instalohet nga App Store dhe m\u00eb pas mund t\u00eb p\u00ebrdoren aplikacione testuese. Aplikacionet n\u00eb TestFlight lejojn\u00eb q\u00eb p\u00ebr nj\u00eb koh\u00eb t\u00eb kufizuar nj\u00eb num\u00ebr t\u00eb caktuar beta-testuesish (zakonisht deri n\u00eb 10,000) t\u00eb punojn\u00eb me to. P\u00ebr t\u00eb shkarkuar aplikacionin testues, duhet t\u00eb kaloni nga pajisja juaj n\u00eb nj\u00eb lidhje, e cila zakonisht ndodhet n\u00eb faqen e internetit t\u00eb zhvilluesit t\u00eb aplikacionit testues.<\/p>\n<h2>Nisja e Alpine Linux me iSH<\/h2>\n<p>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/ish.app\/\">iSH<\/a><\/noindex> \u2014 \u00ebsht\u00eb nj\u00eb aplikacion open-source TestFlight q\u00eb ekzekuton nj\u00eb makin\u00eb virtuale me nj\u00eb shp\u00ebrndarje t\u00eb gatshme <noindex><a rel=\"nofollow\" href=\"https:\/\/alpinelinux.org\/\">Alpine Linux<\/a><\/noindex> (me pak p\u00ebrpjekje, mund t\u00eb nisni edhe shp\u00ebrndarje t\u00eb tjera).<\/p>\n<p>Karakteristika e r\u00ebnd\u00ebsishme: <em>aplikacioni \u00ebsht\u00eb eksperimental<\/em>. Duke qen\u00eb se iSH aktualisht \u00ebsht\u00eb nj\u00eb aplikacion testues, mos prisni nj\u00eb funksionim t\u00eb vazhduesh\u00ebm dhe t\u00eb q\u00ebndruesh\u00ebm. Aplikacionet TestFlight jan\u00eb t\u00eb kufizuara n\u00eb koh\u00eb. Nd\u00ebrtesa ime aktuale do t\u00eb punoj\u00eb p\u00ebr vet\u00ebm 60 dit\u00eb. Kjo do t\u00eb thot\u00eb se pas 60 dit\u00ebsh do t\u00eb p\u00ebrjashtohem dhe do t\u00eb duhet t\u00eb bashkohem p\u00ebrs\u00ebri n\u00eb faz\u00ebn e ardhshme t\u00eb testimit t\u00eb iSH. P\u00ebr m\u00eb tep\u00ebr, do t\u00eb humbas t\u00eb gjitha skedar\u00ebt e mi, n\u00ebse nuk i eksportoj duke p\u00ebrdorur Files n\u00eb iOS ose nuk i kopjoj n\u00eb nj\u00eb host Git ose <noindex><a rel=\"nofollow\" href=\"https:\/\/opensource.com\/article\/20\/9\/ssh\">n\u00ebp\u00ebrmjet SSH<\/a><\/noindex>. Me fjal\u00eb t\u00eb tjera: <em>Mos prisni q\u00eb gjith\u00e7ka do t\u00eb vazhdoj\u00eb t\u00eb funksionoj\u00eb! Mos vendosni n\u00eb sistem asgj\u00eb t\u00eb r\u00ebnd\u00ebsishme p\u00ebr ju! B\u00ebni kopje rezerv\u00eb n\u00eb nj\u00eb vend t\u00eb ve\u00e7ant\u00eb!<\/em><\/p>\n<h3>Instalimi i iSH<\/h3>\n<p>\nFilloni me instalimin <noindex><a rel=\"nofollow\" href=\"https:\/\/apps.apple.com\/us\/app\/testflight\/id899247664\">TestFlight<\/a><\/noindex> nga App Store. M\u00eb pas instaloni iSH, <noindex><a rel=\"nofollow\" href=\"https:\/\/ish.app\/#get\">duke marr\u00eb lidhjen p\u00ebr instalim<\/a><\/noindex> nga faqja e internetit t\u00eb aplikacionit. Ka edhe nj\u00eb m\u00ebnyr\u00eb tjet\u00ebr instalimi duke p\u00ebrdorur AltStore, por nuk e kam provuar at\u00eb. Ose, n\u00ebse keni nj\u00eb llogari t\u00eb paguar zhvilluesi, mund t\u00eb shkarkoni depozitat e iSH nga GitHub dhe ta instaloni at\u00eb vet\u00eb.<\/p>\n<p>Me lidhjen TestFlight, aplikacioni iSH do t\u00eb instalohet n\u00eb pajisjen tuaj. Si\u00e7 ndodh me \u00e7do aplikacion tjet\u00ebr, do t\u00eb shfaqet nj\u00eb ikon\u00eb n\u00eb ekran.<\/p>\n<h3>Menaxhimi i pakot<\/h3>\n<p>\niSH ekzekuton emulatorin x86 me Alpine Linux. Alpine \u00ebsht\u00eb nj\u00eb shp\u00ebrndarje e vog\u00ebl me m\u00eb pak se 5 MB. Un\u00eb punova p\u00ebr her\u00eb t\u00eb par\u00eb me Alpine, prandaj mendoja se ky minimaliz\u00ebm do t\u00eb ishte i bezdissh\u00ebm, por realisht m\u00eb p\u00eblqeu shum\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Nisni komand\u00ebn e linj\u00ebs s\u00eb komand\u00ebs Linux n\u00eb iOS.\" src=\"\/wp-content\/uploads\/2020\/10\/669478d0e58743a87f70e92c96feec9d.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nN\u00eb Alpine p\u00ebrdoret menaxheri i pakove <noindex><a rel=\"nofollow\" href=\"https:\/\/wiki.alpinelinux.org\/wiki\/Alpine_Linux_package_management\">apk<\/a><\/noindex>, i cili \u00ebsht\u00eb m\u00eb i thjesht\u00eb se edhe apt ose pacman.<\/p>\n<p>Si t\u00eb instaloni nj\u00eb paket\u00eb:<\/p>\n<pre><code class=\"bash\">apk add package<\/code><\/pre>\n<p>\nSi t\u00eb fshini nj\u00eb paket\u00eb:<\/p>\n<pre><code class=\"bash\">apk del package<\/code><\/pre>\n<p>\nSi t\u00eb dini komanda dhe informacion t\u00eb tjer\u00eb:<\/p>\n<pre><code class=\"bash\">apk --help<\/code><\/pre>\n<p>\nP\u00ebrdit\u00ebsimi i menaxherit t\u00eb pakove:<\/p>\n<pre><code class=\"bash\">apk update\napk upgrade<\/code><\/pre>\n<p><\/p>\n<h3>Instalimi i redaktorit t\u00eb tekstit<\/h3>\n<p>\nRedaktori standard i tekstit n\u00eb Alpine \u00ebsht\u00eb Vi, por un\u00eb preferoj Vim, prandaj e instalova at\u00eb:<\/p>\n<pre><code class=\"bash\">apk add vim<\/code><\/pre>\n<p>\nN\u00ebse d\u00ebshironi, mund t\u00eb instaloni Nano ose Emacs.<\/p>\n<h3>Ndryshimi i shell-it<\/h3>\n<p>\nNuk e di p\u00ebr ju, por un\u00eb kisha nevoj\u00eb p\u00ebr <noindex><a rel=\"nofollow\" href=\"https:\/\/opensource.com\/article\/20\/3\/fish-shell\">fish shell<\/a><\/noindex>. T\u00eb tjer\u00ebt preferojn\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/opensource.com\/resources\/what-bash\">Bash<\/a><\/noindex> ose <noindex><a rel=\"nofollow\" href=\"https:\/\/opensource.com\/article\/19\/9\/getting-started-zsh\">Zsh<\/a><\/noindex>. Megjithat\u00eb, n\u00eb Alpine p\u00ebrdoret ash! Ash \u00ebsht\u00eb nj\u00eb fork i shell-it Dash, i cili vet\u00eb \u00ebsht\u00eb nj\u00eb fork i origjinalit ash, ose <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Almquist_shell\">Almquist shell<\/a><\/noindex>. Prioriteti i saj \u00ebsht\u00eb shpejt\u00ebsia. Un\u00eb vendosa t\u00eb tregoj shpejt\u00ebsin\u00eb p\u00ebr autocompletimin e integruar, ngjyrat, kontrollet e tastier\u00ebs Vim dhe ndri\u00e7imin e sintaks\u00ebs, t\u00eb cilat i dua dhe i njoh nga fish shell.<\/p>\n<p>Instalimi i fish:<\/p>\n<pre><code class=\"bash\">apk add fish<\/code><\/pre>\n<p>\nN\u00ebse ju nevojitet Bash me autocompletion dhe faqet e manualit, at\u00ebher\u00eb instaloni ato:<\/p>\n<pre><code class=\"bash\">apk add bash bash-doc bash-completion<\/code><\/pre>\n<p>\nIdeologjia minimaliste e Alpine zakonisht do t\u00eb thot\u00eb q\u00eb disa programe q\u00eb n\u00eb shp\u00ebrndarje t\u00eb tjera jan\u00eb nj\u00eb paket\u00eb do t\u00eb ndahen n\u00eb disa paketa m\u00eb t\u00eb vogla. Kjo do t\u00eb thot\u00eb gjithashtu se mund t\u00eb konfiguroni dhe zvog\u00ebloni madh\u00ebsin\u00eb e sistemit ashtu si\u00e7 d\u00ebshironi.<\/p>\n<p>M\u00eb shum\u00eb rreth instalimit t\u00eb Bash mund t\u00eb m\u00ebsoni nga <noindex><a rel=\"nofollow\" href=\"https:\/\/www.cyberciti.biz\/faq\/alpine-linux-install-bash-using-apk-command\/\">ky tutorial<\/a><\/noindex>.<\/p>\n<h4>Ndryshimi i shell-it t\u00eb paracaktuar<\/h4>\n<p>\nPas instalimit t\u00eb fish, mund t\u00eb kaloni p\u00ebrkoh\u00ebsisht n\u00eb t\u00eb duke shkruar <code>fish<\/code> dhe kaloni n\u00eb shell. Por un\u00eb dua ta b\u00ebj fish shell t\u00eb paracaktuar, dhe komanda <code>chsh<\/code>, q\u00eb p\u00ebrdora n\u00eb shp\u00ebrndarje t\u00eb tjera, nuk funksionoi.<\/p>\n<p>S\u00eb pari do t\u00eb zbulojm\u00eb se ku \u00ebsht\u00eb instaluar fish:<\/p>\n<pre><code class=\"bash\">which fish<\/code><\/pre>\n<p>\nJa \u00e7far\u00eb kam marr\u00eb:<\/p>\n<pre><code class=\"bash\">\/usr\/bin\/fish<\/code><\/pre>\n<p>\nM\u00eb pas do t\u00eb ndryshojm\u00eb login shell n\u00eb fish. Mund t\u00eb p\u00ebrdorni \u00e7far\u00ebdo redaktori q\u00eb ju p\u00ebrshtatet. N\u00ebse jeni fillestar, instaloni Nano (me komand\u00ebn <code>apk add nano<\/code>), n\u00eb m\u00ebnyr\u00eb q\u00eb t\u00eb mund t\u00eb redaktoni skedar\u00ebt e konfigurimit dhe t'i ruani ata p\u00ebrmes CTRL+X, konfirmoni dhe dilni.<\/p>\n<p>Por un\u00eb p\u00ebrdora Vim:<\/p>\n<pre><code class=\"bash\">vim \/etc\/passwd<\/code><\/pre>\n<p>\nRreshti im i par\u00eb ishte k\u00ebshtu:<\/p>\n<pre><code class=\"bash\">root:x:0:0:root:\/root:\/bin\/ash<\/code><\/pre>\n<p>\nP\u00ebr ta b\u00ebr\u00eb fish shell t\u00eb paracaktuar, do ta ndryshojm\u00eb k\u00ebt\u00eb rresht n\u00eb k\u00ebt\u00eb:<\/p>\n<pre><code class=\"bash\">root:x:0:0:root:\/root:\/usr\/bin\/fish<\/code><\/pre>\n<p>\nM\u00eb pas do t\u00eb ruajm\u00eb skedarin dhe do t\u00eb dalim.<\/p>\n<p>Jam i sigurt q\u00eb ekziston nj\u00eb m\u00ebnyr\u00eb e mir\u00eb p\u00ebr t\u00eb ndryshuar rrug\u00ebn e shell-it, n\u00eb m\u00ebnyr\u00eb q\u00eb t\u00eb mund t\u00eb p\u00ebrdoret direkt. Por nuk e di at\u00eb, k\u00ebshtu q\u00eb rekomandoj t\u00eb ktheheni n\u00eb shfletuesin e aplikacioneve, t\u00eb detyroni daljen nga shell-i dhe p\u00ebr siguri ta fikni dhe ta rinstaloni iPad-in ose iPhone-in. Rihapni iSH dhe tani, p\u00ebrve\u00e7 mesazhit \"Mir\u00eb se vini n\u00eb Alpine!\" dhe informacionit rreth nisjes me apk, do t\u00eb shihni mesazhin standard t\u00eb mir\u00ebseardhjes nga fish: <em>Mir\u00ebsevini n\u00eb fish, shell-in interaktiv miq\u00ebsor<\/em>. Un\u00eb jam shum\u00eb i k\u00ebnaqur!<\/p>\n<p><img decoding=\"async\" alt=\"Nisni komand\u00ebn e linj\u00ebs s\u00eb komand\u00ebs Linux n\u00eb iOS.\" src=\"\/wp-content\/uploads\/2020\/10\/7780328bb48109302fc52060a81b1c3a.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<h3>Konfigurimi i Python dhe pip<\/h3>\n<p>\nVendosa t\u00eb shtoj <noindex><a rel=\"nofollow\" href=\"https:\/\/www.python.org\/\">Python<\/a><\/noindex> (versionin 3.x), jo vet\u00ebm p\u00ebr t\u00eb shkruar kod, por edhe sepse po p\u00ebrdor disa programe n\u00eb Python. Le t\u00eb instalojm\u00eb at\u00eb:<\/p>\n<pre><code class=\"bash\">apk add python3<\/code><\/pre>\n<p>\nEdhe pse Python 2.x \u00ebsht\u00eb i vjetruar, mund ta instaloni edhe at\u00eb:<\/p>\n<pre><code class=\"bash\">apk add python<\/code><\/pre>\n<p>\nLe t\u00eb instalojm\u00eb menaxherin e paketave Python t\u00eb quajtur pip dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/pypi.org\/project\/setuptools\/\">setuptools<\/a><\/noindex>:<\/p>\n<pre><code class=\"bash\">python3 -m ensurepip --default-pip<\/code><\/pre>\n<p>\nInstalimi dhe konfigurimi i menaxherit t\u00eb paketave do t\u00eb marr\u00eb pak koh\u00eb, prandaj thjesht prisni.<\/p>\n<p>M\u00eb pas mund t\u00eb shkarkoni mjetin p\u00ebr transferimin e skedar\u00ebve n\u00eb rrjet <noindex><a rel=\"nofollow\" href=\"https:\/\/curl.haxx.se\/\">curl<\/a><\/noindex>:<\/p>\n<pre><code class=\"bash\">apk add curl<\/code><\/pre>\n<p><\/p>\n<h3>Lexojm\u00eb manualet<\/h3>\n<p>\nFish p\u00ebrdor autocomplete t\u00eb integruar bazuar n\u00eb faqet man. Si p\u00ebrdorues t\u00eb tjer\u00eb t\u00eb linj\u00ebs s\u00eb komand\u00ebs, un\u00eb p\u00ebrdor manualin <code>man<\/code>, por n\u00eb Alpine ai nuk \u00ebsht\u00eb i instaluar. Prandaj, e kam instaluar at\u00eb me pagin\u00ebn e terminalit <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Less_%28Unix%29\">less<\/a><\/noindex>:<\/p>\n<pre><code class=\"bash\">apk add man man-pages less less-doc<\/code><\/pre>\n<p>\nP\u00ebrve\u00e7 man, un\u00eb p\u00ebrdor projektin e mrekulluesh\u00ebm t\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/tldr.sh\/\">tldr pages<\/a><\/noindex>, i cili ofron faqe man t\u00eb thjeshtuara dhe t\u00eb menaxhuara nga komuniteti.<\/p>\n<p>E kam instaluar me pip:<\/p>\n<pre><code class=\"bash\">pip install tldr<\/code><\/pre>\n<p>\nEkipa <code>tldr<\/code> lidhet me uebin p\u00ebr t\u00eb marr\u00eb faqet kur gjen nj\u00eb k\u00ebrkes\u00eb p\u00ebr nj\u00eb faqe t\u00eb re. N\u00ebse duhet t\u00eb dini se si t\u00eb p\u00ebrdorni nj\u00eb komand\u00eb, mund t\u00eb shkruani di\u00e7ka si <code>tldr curl<\/code> dhe do t\u00eb merrni nj\u00eb p\u00ebrshkrim n\u00eb anglisht t\u00eb thjesht\u00eb dhe shembuj t\u00eb mir\u00eb p\u00ebr p\u00ebrdorimin e komand\u00ebs.<\/p>\n<p>Natyrisht, t\u00eb gjith\u00eb k\u00ebt\u00eb pun\u00eb instalimi mund ta automatizoni me an\u00eb t\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/opensource.com\/article\/19\/3\/move-your-dotfiles-version-control\">dotfiles<\/a><\/noindex> apo skriptit t\u00eb instalimit, por n\u00eb t\u00eb v\u00ebrtet\u00eb kjo nuk i p\u00ebrket ideologjis\u00eb s\u00eb Alpine \u2014 konfigurohet nj\u00eb instalim minimal sakt\u00ebsisht sipas nevojave tuaja. P\u00ebr m\u00eb tep\u00ebr, a nuk mori kaq shum\u00eb koh\u00eb, apo jo?<\/p>\n<h2>Informacione shtes\u00eb<\/h2>\n<p>\nN\u00eb Viki iSH ka nj\u00eb faqe \"<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ish-app\/ish\/wiki\/What-works%3F\">\u00e7far\u00eb funksionon<\/a><\/noindex>\" me raporte se cilat paketa po funksionojn\u00eb aktualisht. Nga e gjitha duket se <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ish-app\/ish\/issues\/874\">npm aktualisht nuk funksionon<\/a><\/noindex>.<\/p>\n<p>N\u00eb nj\u00eb faqe tjet\u00ebr wiki shpjegohet se si <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ish-app\/ish\/wiki\/View-iSH-files-in-Files-App\">t\u00eb aksesoni skedar\u00ebt iSH<\/a><\/noindex> nga aplikacioni iOS Files. Kjo \u00ebsht\u00eb nj\u00eb nga m\u00ebnyrat p\u00ebr t\u00eb d\u00ebgjuar dhe kopjuar skedar\u00eb.<\/p>\n<p>Mund t\u00eb instaloni gjithashtu Git (po! <code>apk add git<\/code> ) dhe t\u00eb b\u00ebni push pun\u00ebn tuaj n\u00eb nj\u00eb repo t\u00eb larg\u00ebt ose ta transferoni at\u00eb n\u00eb server p\u00ebrmes SSH. Dhe, natyrisht, mund t\u00eb shkarkoni dhe ekzekutoni \u00e7do num\u00ebr projektesh t\u00eb shk\u00eblqyera open-source nga GitHub.<\/p>\n<p>M\u00eb shum\u00eb p\u00ebr iSH mund t\u00eb m\u00ebsoni nga k\u00ebto lidhje:<\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/ish.app\/\">Faqja e internetit iSH<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/ish\/\">Subreddit<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ish-app\/ish\/issues\">GitHub issues<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/ish-app\/ish\/wiki\">Wiki<\/a><\/noindex><\/li>\n<\/ul>\n<p><\/p>\n<h4>SOF6<\/h4>\n<p>\n<b>VDS<\/b> ofron <noindex><a rel=\"nofollow\" href=\"https:\/\/vdsina.ru\/cloud-servers?partner=habr124\">server\u00ebt virtual\u00eb n\u00eb Linux<\/a><\/noindex> ose Windows. P\u00ebrdorim vet\u00ebm <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/vdsina\/blog\/514570\/\">pajisje t\u00eb mark\u00ebs<\/a><\/noindex>, paneli m\u00eb i mir\u00eb i menaxhimit t\u00eb server\u00ebve t\u00eb zhvilluar vet\u00eb dhe disa nga qendrat m\u00eb t\u00eb mira t\u00eb t\u00eb dh\u00ebnave n\u00eb Rusi dhe BE. Nxitoni t\u00eb porositni!<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/vdsina.ru\/cloud-servers?partner=habr124\"><img decoding=\"async\" alt=\"Nisni komand\u00ebn e linj\u00ebs s\u00eb komand\u00ebs Linux n\u00eb iOS.\" src=\"\/wp-content\/uploads\/2020\/10\/d9b1b757b593fff1dcd96c99fcf04ee8.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/vdsina\/blog\/521676\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410 \u0432\u044b \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 Linux \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 iOS? \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u044b \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u0435: \u00ab\u0417\u0430\u0447\u0435\u043c \u043c\u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 iPhone?\u00bb \u0421\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441. \u041d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0447\u0438\u0442\u0430\u0435\u0442\u0435 Opensource.com, \u0442\u043e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0437\u043d\u0430\u0435\u0442\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0442\u0432\u0435\u0442: \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 Linux \u0445\u043e\u0442\u044f\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0438\u043c \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0438 \u0445\u043e\u0442\u044f\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438. \u041d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u043d\u0438 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":95907,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-95906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410 \u0432\u044b \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/zapuskaem-komandnuyu-stroku-linux-na-ios\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 Linux \u043d\u0430 iOS | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410 \u0432\u044b \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/zapuskaem-komandnuyu-stroku-linux-na-ios\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-10-04T23:41:58+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-04T23:41:58+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 Aktivizojm\u00eb terminalin e komandave Linux n\u00eb iOS | ProHoster","description":"A e dinit se mund t\u00eb aktivizoni terminalin e komandave.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/zapuskaem-komandnuyu-stroku-linux-na-ios","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 Linux \u043d\u0430 iOS | ProHoster","og:description":"\u0410 \u0432\u044b \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/zapuskaem-komandnuyu-stroku-linux-na-ios","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-10-04T23:41:58+00:00","article:modified_time":"2020-10-04T23:41:58+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"95906","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 10:55:40","updated":"2022-09-27 15:44:56","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/95906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=95906"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/95906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/95907"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=95906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=95906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=95906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}