{"id":2121,"date":"2024-05-11T22:17:54","date_gmt":"2024-05-11T20:17:54","guid":{"rendered":"https:\/\/alessandromasciadri.com\/?p=2121"},"modified":"2024-05-11T22:27:53","modified_gmt":"2024-05-11T20:27:53","slug":"come-cambiare-leditor-di-default-per-crontab","status":"publish","type":"post","link":"https:\/\/alessandromasciadri.com\/come-cambiare-leditor-di-default-per-crontab\/","title":{"rendered":"Come cambiare l&#8217;editor di default per crontab"},"content":{"rendered":"\t\t<div data-akihiro-type=\"ama-post\" data-akihiro-id=\"2121\" class=\"akihiro akihiro-2121\" data-akihiro-post-type=\"post\">\n\t\t\t\t<div class=\"akihiro-element akihiro-element-2e9c269 e-flex e-con-boxed e-con e-parent\" data-id=\"2e9c269\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"akihiro-element akihiro-element-e9cac5e akihiro-widget akihiro-widget-text-editor\" data-id=\"e9cac5e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"akihiro-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In questo articolo vediamo come cambiare l&#8217;editor di default per crontab. Al primo lancio del comando crontab -e viene infatti richiesto quale editor si vuole utilizzare. Pu\u00f2 capitare di non porre attenzione a questa prima domanda e premere semplicemente invio, impostando cos\u00ec nano come editor di default. Vediamo quindi come cambiare l&#8217;editor di default per crontab.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"akihiro-element akihiro-element-6d8f3aa akihiro-widget akihiro-widget-heading\" data-id=\"6d8f3aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"akihiro-widget-container\">\n\t\t\t\t\t<h3 class=\"akihiro-heading-title akihiro-size-default\">Cambiare l'editor di default per crontab<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"akihiro-element akihiro-element-f663586 akihiro-widget akihiro-widget-text-editor\" data-id=\"f663586\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"akihiro-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Navigando sul web in cerca di una soluzione ci si pu\u00f2 imbattere in svariate soluzioni al problema, tuttavia ritengo che il miglior approccio sia l&#8217;utilizzo del seguente comando:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"akihiro-element akihiro-element-7ed09b8 akihiro-widget akihiro-widget-code-highlight\" data-id=\"7ed09b8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"akihiro-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-twilight copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>select-editor<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"akihiro-element akihiro-element-29437d3 akihiro-widget akihiro-widget-text-editor\" data-id=\"29437d3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"akihiro-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Selezioniamo quindi l&#8217;opzione che pi\u00f9 ci aggrada e premiamo invio<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"akihiro-element akihiro-element-9f817f1 akihiro-widget akihiro-widget-code-highlight\" data-id=\"9f817f1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"akihiro-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-twilight copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language- \">\n\t\t\t\t<code readonly=\"true\" class=\"language-\">\n\t\t\t\t\t<xmp>Select an editor.  To change later, run 'select-editor'.\n  1. \/bin\/nano        <---- easiest\n  2. \/usr\/bin\/vim.tiny\n  3. \/usr\/bin\/azuredatastudio\n  4. \/bin\/ed\n\nChoose 1-4 [1]:<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>In questo articolo vediamo come cambiare l&#8217;editor di default per crontab. Al primo lancio del comando crontab -e viene infatti richiesto quale editor si vuole utilizzare. Pu\u00f2 capitare di non porre attenzione a questa prima domanda e premere semplicemente invio, impostando cos\u00ec nano come editor di default. Vediamo quindi come cambiare l&#8217;editor di default per [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[20,19],"class_list":["post-2121","post","type-post","status-publish","format-standard","hentry","category-sistemistica","tag-linux","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/posts\/2121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/comments?post=2121"}],"version-history":[{"count":4,"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/posts\/2121\/revisions"}],"predecessor-version":[{"id":2125,"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/posts\/2121\/revisions\/2125"}],"wp:attachment":[{"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/media?parent=2121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/categories?post=2121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alessandromasciadri.com\/ama-json\/wp\/v2\/tags?post=2121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}