{"id":1611,"date":"2018-07-17T18:51:35","date_gmt":"2018-07-17T23:51:35","guid":{"rendered":"http:\/\/blog.espol.edu.ec\/blackstar\/?p=1611"},"modified":"2018-07-17T18:51:35","modified_gmt":"2018-07-17T23:51:35","slug":"crear-enlaces-hard-y-soft-en-debian","status":"publish","type":"post","link":"https:\/\/blog.espol.edu.ec\/blackstar\/crear-enlaces-hard-y-soft-en-debian\/","title":{"rendered":"Crear enlaces Hard y Soft en Debian"},"content":{"rendered":"<div style=\"text-align: justify\">\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a style=\"margin-left: 1em;margin-right: 1em\" href=\"http:\/\/4.bp.blogspot.com\/-lhuSYWk9xQ4\/VhhLnQU-ZeI\/AAAAAAAACCI\/N_2IM_CcKoM\/s1600\/Tutoriales-Black-Star.png\"><img loading=\"lazy\" decoding=\"async\" title=\"Tutoriales Black Star\" src=\"http:\/\/4.bp.blogspot.com\/-lhuSYWk9xQ4\/VhhLnQU-ZeI\/AAAAAAAACCI\/N_2IM_CcKoM\/s320\/Tutoriales-Black-Star.png\" alt=\"Tutoriales Black Star\" width=\"320\" height=\"103\" border=\"0\" \/><\/a><\/div>\n<p>Estamos en un nuevo tutorial sobre debian en esta ocasion le ense\u00f1are que es posible crear enlaces como accesos directos estos pueden ser enlaces de tipo hard y tipo soft, entre las principales diferencias esta que un enlace hard si se borra el fichero original no se pierde la informaci\u00f3n pero no se lo puede usar para crear enlaces entre diferentes tipos de ficheros. En los enlaces soft se pueden hacer enlaces para ficheros y directorios pero si se borra el fichero o directorio original si se pierde la informaci\u00f3n.<\/p>\n<\/div>\n<div>La creaci\u00f3n de esos enlaces se lo realiza con el uso del comando \"ln\" de la siguiente forma para un enlace hard sera de la siguiente forma.<\/div>\n<div>\n<ul>\n<li>ln \/home\/alumno\/archivo1.txt \/enlace1<\/li>\n<\/ul>\n<\/div>\n<div>En este comando \"\/home\/alumno\/archivo1.txt\" es la ruta del archivo original y \"\/enlace1\" en el nombre del enlace hard. Para un enlace soft sera de la siguiente forma.<\/div>\n<div>\n<ul>\n<li>ln -s \/home\/alumno\/directorio2 \/enlace2<\/li>\n<\/ul>\n<\/div>\n<div>En este comando igual en en el anterior \"\/home\/alumno\/directorio2\" es la ruta original del directorio y \"\/enlace2\" es el nombre del enlace.<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a style=\"margin-left: 1em;margin-right: 1em\" href=\"http:\/\/4.bp.blogspot.com\/-tgGU9NCoFts\/Vf7mN7HuSPI\/AAAAAAAAB7A\/L6GXht_2xug\/s1600\/hardsoft1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"\" src=\"http:\/\/4.bp.blogspot.com\/-tgGU9NCoFts\/Vf7mN7HuSPI\/AAAAAAAAB7A\/L6GXht_2xug\/s320\/hardsoft1.png\" alt=\"Crear enlaces Hard en Debian\" width=\"320\" height=\"177\" border=\"0\" \/><\/a><\/div>\n<div><!--more--><\/div>\n<div>Con esto hemos creado un enlace hard y soft respectivamente ahora pueden hacer una prueba creando un archivo en el enlace creado,<\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a style=\"margin-left: 1em;margin-right: 1em\" href=\"http:\/\/4.bp.blogspot.com\/-bJGko7pMTus\/Vf7mN1U_PoI\/AAAAAAAAB7E\/9cwBAlDpinc\/s1600\/hardsoft2.png\"><img loading=\"lazy\" decoding=\"async\" title=\"\" src=\"http:\/\/4.bp.blogspot.com\/-bJGko7pMTus\/Vf7mN1U_PoI\/AAAAAAAAB7E\/9cwBAlDpinc\/s320\/hardsoft2.png\" alt=\"Crear enlaces Soft en Debian\" width=\"320\" height=\"177\" border=\"0\" \/><\/a><\/div>\n<div><\/div>\n<div>Y si desean eliminar el enlace creado se debe utilizar el comando \"unlink\" mas la ruta del enlace.<\/div>\n<div>\n<ul>\n<li>unlink \/enlace1<\/li>\n<li>unlink \/enalce2<\/li>\n<\/ul>\n<\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Estamos en un nuevo tutorial sobre debian en esta ocasion le ense\u00f1are que es posible crear enlaces como accesos directos estos pueden ser enlaces de tipo hard y tipo soft, entre las principales diferencias esta que un enlace hard si se borra el fichero original no se pierde la informaci\u00f3n pero no se lo puede &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/blog.espol.edu.ec\/blackstar\/crear-enlaces-hard-y-soft-en-debian\/\">Seguir leyendo<\/a><\/p>\n","protected":false},"author":2011,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[599],"class_list":["post-1611","post","type-post","status-publish","format-standard","hentry","category-general","tag-tutoriales","item-wrap"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/posts\/1611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/users\/2011"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/comments?post=1611"}],"version-history":[{"count":1,"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/posts\/1611\/revisions"}],"predecessor-version":[{"id":1612,"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/posts\/1611\/revisions\/1612"}],"wp:attachment":[{"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/media?parent=1611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/categories?post=1611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.espol.edu.ec\/blackstar\/wp-json\/wp\/v2\/tags?post=1611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}