How to Make or Create Symbolic Link in Unix or Linux Cómo Hacer o Crear enlace simbólico en Unix o Linux

Symbolic link (also known as symlink or soft link) is a special type of file that has reference that points to another file or directory, in the form of an absolute or relative path. Enlace simbólico (también conocido como enlace o vínculo suave) es un tipo especial de archivo que tiene que los puntos de referencia a otro archivo o directorio, en forma de una absoluta o relativa camino. Symbolic link can be used just like the target original file or folder, as it merely contains a text string that is interpreted and followed by the operating system to another file or directory. Enlace simbólico se puede utilizar igual que la meta original de archivo o la carpeta, ya que sólo contiene una cadena de texto que se interpreta y seguido por el sistema operativo a otro archivo o directorio.

Symbolic link is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Enlace simbólico se apoya en la mayoría de Unix (incluyendo Linux), sistemas operativos, Windows Vista (véase Windows Vista symbolic link, hard link and junction point Windows Vista enlace simbólico, enlace duro cruce y punto ) and to some degree in Windows 2000 and Windows XP. ) Y, en cierta medida, en Windows 2000 y Windows XP. Although symbolic link is pointing to a target, it operates independently of its target (deletion of symbolic link does not been affected), but allows program to behave as if operating directly on the target file. A pesar de enlace simbólico que apunta a un objetivo, que opera independientemente de su objetivo (supresión del enlace simbólico no afectados), pero permite que el programa a comportarse como si operan directamente en el archivo de destino.

So how to create or make a symbolic link? Entonces, ¿cómo crear o hacer un enlace simbólico? To create a symbolic, use the following command syntax: Para crear un símbolo, utilice el comando siguiente sintaxis:

ln -s [target directory or file] [symlink shortcut]

For example, to link the /usr/local/lib/example directory to /example, use the following command: Por ejemplo, para vincular el directorio / usr / local / lib / ejemplo el directorio a / ejemplo, utilice el siguiente comando:

ln -s /usr/local/lib/example /example

After creating the symbolic link above, /example will point to /usr/local/lib/example, and when user changes directory (CD) to /example, OS shell will automatically change it to /usr/local/lib/example directory. Después de crear el enlace simbólico anterior, / ejemplo se apunten a / usr / local / lib / ejemplo, y cuando el usuario cambia de directorio (CD) a / ejemplo, Shell OS cambiará automáticamente a / usr / local / lib / directorio ejemplo.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta es una máquina traducido la página que se proporciona "TAL CUAL" SIN GARANTÍA. Machine translation may be difficult to understand. La traducción automática puede ser difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.

Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayuda en My Digital Life Forums Mi vida digital foros .



Leave a Reply Deje un comentario

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Puede utilizar estos tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Suscribirse a los comentarios característica se ha deshabilitado. To receive notification of latest comments posted, subscribe to Para recibir la notificación de últimos comentarios publicados, suscribirse a My Digital Life Comments RSS feed Mi vida digital Comentarios RSS or o register to receive registrarse para recibir new comments in daily email digest. nuevos comentarios en el resumen diario por correo electrónico.
Custom Search

New Articles Nuevos artículos

Incoming Search Terms for the Article Términos de búsqueda para el artículo

how to create a symbolic link in unix for a directory cómo crear un enlace simbólico en el sistema UNIX para un directorio - --