{"id":2299,"date":"2023-08-02T08:00:00","date_gmt":"2023-08-02T08:00:00","guid":{"rendered":"https:\/\/myvlcsys.com\/?p=2299"},"modified":"2023-08-06T17:38:03","modified_gmt":"2023-08-06T17:38:03","slug":"linux-comando-echo","status":"publish","type":"post","link":"https:\/\/myvlcsys.com\/?p=2299","title":{"rendered":"LINUX: Comando echo."},"content":{"rendered":"\n<p>El comando echo nos muestra por consola, el texto que le indiquemos en al ejecutar la sentencia del comando. Este comando es muy utilizado para hacer Script de en el bash de la l\u00ednea de comandos.<\/p>\n\n\n\n<p>El comando&nbsp;<strong>echo&nbsp;<\/strong>es<strong>&nbsp;<\/strong>una utilidad integrada que muestra una l\u00ednea de texto o cadena utilizando la salida est\u00e1ndar. Esta es la sintaxis b\u00e1sica:<\/p>\n\n\n\n<p><strong>echo [opci\u00f3n] [cadena]<\/strong><\/p>\n\n\n\n<p>Por ejemplo, puede mostrar el texto&nbsp;<strong>Myvlcsys.com&nbsp;<\/strong>introduciendo:<\/p>\n\n\n\n<p><strong>echo \u00abMyVlcsys.com\u00bb<\/strong><\/p>\n\n\n\n<p>Este comando admite muchas opciones, como:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>-n&nbsp;<\/strong>muestra la salida sin la l\u00ednea final.<\/li><li><strong>-e&nbsp;<\/strong>permite la interpretaci\u00f3n de las siguientes barras invertidas:<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\\a&nbsp;<\/strong>reproduce la alerta sonora.<\/li><li><strong>\\b&nbsp;<\/strong>elimina los espacios entre un texto.<\/li><li><strong>\\c&nbsp;<\/strong>no produce m\u00e1s salida.<\/li><li><strong>-E&nbsp;<\/strong>muestra la opci\u00f3n por defecto y desactiva la interpretaci\u00f3n de las barras invertidas.<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"581\" height=\"394\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/07\/image-23.png\" alt=\"\" class=\"wp-image-2300\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/07\/image-23.png 581w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/07\/image-23-300x203.png 300w\" sizes=\"(max-width: 581px) 100vw, 581px\" \/><figcaption>Comando \u00abEcho\u00bb.<\/figcaption><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>El comando echo nos muestra por consola, el texto que le indiquemos en al ejecutar la sentencia del comando. Este comando es muy utilizado para hacer Script de en el&hellip; <\/p>\n","protected":false},"author":4,"featured_media":2066,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[30,10,45],"tags":[31,25,47,27],"class_list":["post-2299","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-comandos","category-linux","category-pildoras","tag-comandos","tag-linux","tag-myvlcsys","tag-sistemas"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/2299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2299"}],"version-history":[{"count":5,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/2299\/revisions"}],"predecessor-version":[{"id":2369,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/2299\/revisions\/2369"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/media\/2066"}],"wp:attachment":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}