{"id":2580,"date":"2023-11-15T22:50:31","date_gmt":"2023-11-15T22:50:31","guid":{"rendered":"https:\/\/myvlcsys.com\/?p=2580"},"modified":"2023-11-15T22:50:31","modified_gmt":"2023-11-15T22:50:31","slug":"linux-comando-alias","status":"publish","type":"post","link":"https:\/\/myvlcsys.com\/?p=2580","title":{"rendered":"LINUX: Comando Alias."},"content":{"rendered":"\n<p><strong>alias&nbsp;<\/strong>te permite crear un acceso directo con la misma funcionalidad que un comando, nombre de archivo o texto. Cuando se ejecuta, indica al shell que sustituya una cadena por otra.<\/p>\n\n\n\n<p>Para utilizar el comando&nbsp;<strong>alias<\/strong>, introduce esta sintaxis:<\/p>\n\n\n\n<p><strong>alias Nombre=Cadena<\/strong><\/p>\n\n\n\n<p>Por ejemplo, si quieres hacer&nbsp;<strong>k&nbsp;<\/strong>el alias para el comando&nbsp;<strong>kill<\/strong>:<\/p>\n\n\n\n<p><strong>alias k=\u2019kill\u2019<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/11\/image-5.png\" alt=\"\" class=\"wp-image-2581\" width=\"659\" height=\"208\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/11\/image-5.png 586w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/11\/image-5-300x95.png 300w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><figcaption>Comando alias<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Por otro lado, el comando&nbsp;<strong>unalias&nbsp;<\/strong>borra un alias existente.<\/p>\n\n\n\n<p>La sintaxis general es la siguiente:<\/p>\n\n\n\n<p><strong>unalias [nombre_alias]<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/11\/image-7.png\" alt=\"\" class=\"wp-image-2585\" width=\"657\" height=\"178\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/11\/image-7.png 546w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2023\/11\/image-7-300x81.png 300w\" sizes=\"(max-width: 657px) 100vw, 657px\" \/><figcaption>Comando unalias<\/figcaption><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>alias&nbsp;te permite crear un acceso directo con la misma funcionalidad que un comando, nombre de archivo o texto. Cuando se ejecuta, indica al shell que sustituya una cadena por otra.&hellip; <\/p>\n","protected":false},"author":4,"featured_media":2066,"comment_status":"closed","ping_status":"closed","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],"tags":[31,26,25,27],"class_list":["post-2580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-comandos","category-linux","tag-comandos","tag-debian","tag-linux","tag-sistemas"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/2580","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=2580"}],"version-history":[{"count":1,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/2580\/revisions"}],"predecessor-version":[{"id":2586,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/2580\/revisions\/2586"}],"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=2580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}