How to Make or Create Symbolic Link in Unix or Linux Come Fare o Crea collegamento simbolico in 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. Link simbolico (noto anche come collegamento simbolico o link) è uno speciale tipo di file che è di riferimento che punta ad un altro file o directory, in forma di assoluto o relativo percorso. 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. Link simbolico può essere utilizzato solo come l'obiettivo originale del file o della cartella, in quanto contiene solo una stringa di testo che viene interpretato e seguito dal sistema operativo a un altro file o la directory.

Symbolic link is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Link simbolico è supportato su più Unix-like (compreso Linux) sistemi operativi, Windows Vista (cfr. Windows Vista symbolic link, hard link and junction point Windows Vista link simbolico, collegamento fisso e punto di congiunzione ) and to some degree in Windows 2000 and Windows XP. ) E in una certa misura in Windows 2000 e 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. Anche se link simbolico punta a un obiettivo, che opera in modo indipendente del suo obiettivo (soppressione del collegamento simbolico non è stato colpito), ma consente al programma di comportarsi come se operano direttamente sul file di destinazione.

So how to create or make a symbolic link? Così come per creare o fare un link simbolico? To create a symbolic, use the following command syntax: Per creare un simbolico, utilizzare il comando seguente sintassi:

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

For example, to link the /usr/local/lib/example directory to /example, use the following command: Ad esempio, per il collegamento / usr / local / lib / esempio della directory a / esempio, utilizzare il seguente 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. Dopo aver creato il link simbolico di cui sopra, / esempio punto in / usr / local / lib / esempio, e quando l'utente cambia directory (CD) in / esempio, OS shell cambia automaticamente in / usr / local / lib / directory di esempio.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una macchina tradotto pagina che è fornito "così come sono" senza garanzia. Machine translation may be difficult to understand. La traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in inglese whenever possible. ogniqualvolta ciò sia possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e contribuire a My Digital Life Forums La mia vita digitale forum .



Leave a Reply Lascia un Commento

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> È possibile utilizzare questi tag: <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. Iscriviti ai commenti funzione è stata disattivata. To receive notification of latest comments posted, subscribe to Per ricevere la notifica di commenti più recenti pubblicati, iscrivetevi alla My Digital Life Comments RSS feed La mia vita digitale Commenti feed RSS or o register to receive Registrati per ricevere new comments in daily email digest. nuovi commenti in email giornaliera digerire.
Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in entrata Termini per l'articolo