{"id":19,"date":"2020-11-27T20:24:19","date_gmt":"2020-11-27T19:24:19","guid":{"rendered":"https:\/\/workerbase.org\/wordpress\/?p=19"},"modified":"2021-11-20T15:55:38","modified_gmt":"2021-11-20T14:55:38","slug":"console-e-frammenti","status":"publish","type":"post","link":"https:\/\/arkenidar.com\/wordpress\/2020\/11\/27\/console-e-frammenti\/","title":{"rendered":"&#8220;console&#8221; e frammenti"},"content":{"rendered":"\n<p>I progettisti dei programmi informatici ma anche altri usano ancora un modo classico di interagire con il computer: la &#8220;riga di comando&#8221; (in English &#8220;command line&#8221;).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"597\" src=\"https:\/\/workerbase.org\/wordpress\/wp-content\/uploads\/2020\/11\/Screenshot_20201127_202159-blog-hp2-ubuntu-console-e-frammenti-blogpost.png\" alt=\"\" class=\"wp-image-20\" srcset=\"https:\/\/arkenidar.com\/wordpress\/wp-content\/uploads\/2020\/11\/Screenshot_20201127_202159-blog-hp2-ubuntu-console-e-frammenti-blogpost.png 801w, https:\/\/arkenidar.com\/wordpress\/wp-content\/uploads\/2020\/11\/Screenshot_20201127_202159-blog-hp2-ubuntu-console-e-frammenti-blogpost-300x224.png 300w, https:\/\/arkenidar.com\/wordpress\/wp-content\/uploads\/2020\/11\/Screenshot_20201127_202159-blog-hp2-ubuntu-console-e-frammenti-blogpost-768x572.png 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/figure>\n\n\n\n<p>Questa shell testuale permette di operare mediante l&#8217;immissione e l&#8217;emissione di testi.<\/p>\n\n\n\n<p>ad esempio:<\/p>\n\n\n\n<p>devo clonare un repo Git:<\/p>\n\n\n\n<p><strong>git clone <a href=\"https:\/\/github.com\/arkenidar\/quiz\">https:\/\/github.com\/arkenidar\/quiz<\/a><\/strong><\/p>\n\n\n\n<p>devo amministrare il server:<\/p>\n\n\n\n<p><strong>ssh root@workerbase.org<\/strong><\/p>\n\n\n\n<p>ad esempio combinandoli:<\/p>\n\n\n\n<p><strong>ssh root@workerbase.org<\/strong><\/p>\n\n\n\n<p>e sono nel server<\/p>\n\n\n\n<p><strong>cd \/var\/www\/html<\/strong><\/p>\n\n\n\n<p>e sono nella root del webserver<\/p>\n\n\n\n<p><strong>git clone https:\/\/github.com\/arkenidar\/quiz<\/strong><\/p>\n\n\n\n<p>e il quiz PHP \u00e8 accessibile dal server PHP:<\/p>\n\n\n\n<p><a href=\"https:\/\/arkenidar.com\/quiz\/new\/questions.php?set=1\">https:\/\/arkenidar.com\/quiz\/new\/questions.php?set=1<\/a><\/p>\n\n\n\n<p>approfondimenti: uso di SSH, uso di RSYNC, uso di server locale magari di tipo LAMP, uso di linode.com come hosting, uso di Git e di Github magari anche.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I progettisti dei programmi informatici ma anche altri usano ancora un modo classico di interagire con il computer: la &#8220;riga di comando&#8221; (in English &#8220;command line&#8221;). Questa shell testuale permette di operare mediante l&#8217;immissione e l&#8217;emissione di testi. ad esempio: devo clonare un repo Git: git clone https:\/\/github.com\/arkenidar\/quiz devo amministrare il server: ssh root@workerbase.org ad [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,2,13],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-computer","category-software","category-sysadmin"],"_links":{"self":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":2,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/posts\/19\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arkenidar.com\/wordpress\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}