{"id":1850,"date":"2014-06-24T02:35:00","date_gmt":"2014-06-24T07:35:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/cambiar-el-motor-de-linea-de-comandos-en-fedora-linux\/"},"modified":"2014-06-24T02:35:00","modified_gmt":"2014-06-24T07:35:00","slug":"cambiar-el-motor-de-linea-de-comandos-en-fedora-linux","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/cambiar-el-motor-de-linea-de-comandos-en-fedora-linux\/","title":{"rendered":"Cambiar el motor de l\u00ednea de com\u00e1ndos en fedora &#8211; linux"},"content":{"rendered":"<p><b><span style=\"font-family: Verdana, sans-serif; font-size: large;\">Cambiar el motor de l\u00ednea de com\u00e1ndos en fedora &#8211; linux<\/span><\/b><br \/><b><br \/><\/b><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana, sans-serif;\">A veces es necesario cambiar el motor de int\u00e9rprete de comandos que usamos en nuestra terminal favorita, hace poco se present\u00f3 dicho problema, no sab\u00eda c\u00f3mo hacerle, buscando en la web encontr\u00e9 &nbsp;c\u00f3mo hacerlo.&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana, sans-serif;\">Como sabemos, podemos cambiar dicho motor de int\u00e9rprete &nbsp;tanto para el usuario root, como para el usuario normal, para cambiarlo en el usuario normal se realiza de la siguiente manera:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-family: Verdana, sans-serif;\">Pero antes de cambiar el motor, primero visualizamos qu\u00e9 motor se est\u00e1 usando, con la siguiente l\u00ednea vemos dicha informaci\u00f3n:<\/span><\/div>\n<pre style=\"background-color: white; word-wrap: break-word;\"><code><pre style=\"background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: 0% 0%; background-size: initial; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-shadow: none; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\"><span style=\"font-family: Times New Roman;\"><span style=\"white-space: normal;\">echo $SHELL<br \/><br \/>Mostrar\u00e1 un resultado parecido a \u00e9ste<br \/><\/span><\/span><pre style=\"background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0% 0%; background-size: initial; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-shadow: none; word-break: break-all; word-wrap: break-word;\"><span style=\"font-family: Times New Roman;\"><span style=\"white-space: normal;\">\/bin\/zsh<\/span><\/span><\/pre>\n<p><\/span><\/code><\/p>\n<div>Ahora, para cambiarlo realizamos lo siguiente<\/div>\n<div>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"font-family: 'Times New Roman'; font-size: small; line-height: normal; white-space: normal;\"><span style=\"color: white;\">chsh -s \/bin\/zsh usuario<br \/><br \/>Donde usuario es el nombre del usuario al que queremos cambiar el motor de int\u00e9rprete.&nbsp;<br \/>zsh es el nuevo motor, por ejemplo puede ser bash, tambi\u00e9n, depende cu\u00e1l queramos.<\/span><\/span><\/pre>\n<\/div>\n<div>Si lo que queremos es cambiarselo al usuario root, entonces hacemos lo siguiente<\/div>\n<div>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: whitesmoke;\">su -<br \/><\/span><span style=\"font-family: 'Times New Roman'; font-size: small; line-height: normal; white-space: normal;\"><span style=\"color: white;\">chsh -s \/bin\/bash &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;De nuevo, el bash corresponde al nuevo motor de int\u00e9rpretes<\/span><\/span><span style=\"color: whitesmoke;\">                            y listo, eso es todo.<\/span><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cambiar el motor de l\u00ednea de com\u00e1ndos en fedora &#8211; linux A veces es necesario cambiar el motor de int\u00e9rprete de comandos que usamos en nuestra terminal favorita, hace poco se present\u00f3 dicho problema, no sab\u00eda c\u00f3mo hacerle, buscando en la web encontr\u00e9 &nbsp;c\u00f3mo hacerlo.&nbsp; Como sabemos, podemos cambiar dicho motor de int\u00e9rprete &nbsp;tanto para [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[221,376,7,87,1515,379,4,220],"tags":[],"class_list":["post-1850","post","type-post","status-publish","format-standard","hentry","category-comandos","category-consola","category-fedora","category-gnome","category-heisenbug","category-linea-de-comandos","category-linux","category-terminal"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1850"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1850\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}