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 .
Related Articles Artículos relacionados
- Change Group Ownership of Symbolic Links in Unix or Linux Cambio de propietario del grupo de enlaces simbólicos en Unix o Linux
- How to Mount USB Disk Drive in UNIX or Linux Cómo montar la unidad de disco USB en UNIX o Linux
- Refresh Linux or Unix Path Environmental Variables with rehash Actualizar Linux o Unix Ruta de las variables ambientales con refrito
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Cómo Cambiar o falsos dirección MAC en Windows XP, Vista, Server 2003/2008, Mac OS X, Unix y Linux
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Crear enlaces simbólicos, enlaces duros y en los cruces Directorio Vista con MKLINK
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Open, y Extracto Convertir DAA, la ISO y BIN Archivos en Linux con PowerISO libre para Linux
- Find Files that are Modified Today (or Since Certain Time Ago) in Unix Buscar archivos que se modificó Hoy (o ciertas Desde Time Ago) en Unix
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Aumentar) Concurrente Capaz y Big vg Formato Tomo Grupo en AIX Unix
- Create New Table by Selecting Data from Other Tables with CREATE TABLE AS Crear una nueva tabla de selección de datos de otras tablas con CREATE TABLE como
- Cheapest Linux Box Ever Linux más barato nunca

























