How to Make or Create Symbolic Link in Unix or Linux Miten tehdä tai Luo Symbolinen linkki Unix-tai 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. Symbolinen linkki (tunnetaan myös symbolinen linkki tai pehmeä linkki) on tietyn tyyppinen tiedosto, joka on viite, joka viittaa toiseen tiedostoon tai hakemistoon, jonka absoluuttinen tai suhteellinen polku. 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. Symbolinen linkki voi käyttää aivan kuten tavoite alkuperäisen tiedoston tai kansion, koska se vain sisältää tekstiä merkkijono, joka tulkitaan ja sen jälkeen käyttöjärjestelmä toisen tiedoston tai hakemiston.
Symbolic link is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Symbolinen linkki on tuettu useimmissa Unix-like (mukaan lukien Linux) käyttöjärjestelmissä Windows Vista (ks. Windows Vista symbolic link, hard link and junction point Windows Vista symbolinen linkki, kova linkkiä ja risteyksessä kohta ) and to some degree in Windows 2000 and Windows XP. ) Ja jossain määrin Windows 2000 ja 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. Vaikka symbolinen linkki osoittaa, että tavoite, se toimii itsenäisesti tavoite (poistetaan symbolinen linkki ei ollut vaikutusta), mutta sallii ohjelman käyttäytyä niin kuin toimivat suoraan kohde-tiedosto.
So how to create or make a symbolic link? Miten luoda tai tehdä symbolinen linkki? To create a symbolic, use the following command syntax: Voit luoda symbolinen, käytä seuraavaa komentoa syntaksia:
ln -s [target directory or file] [symlink shortcut]
For example, to link the /usr/local/lib/example directory to /example, use the following command: Jos esimerkiksi haluat liittää / usr / local / lib / esimerkiksi hakemiston / esimerkki, käytä seuraavaa komentoa:
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. Kun olet luonut symbolinen linkki yllä, / esimerkki kohta / usr / local / lib / esimerkki, ja kun käyttäjä muutoksia hakemistossa (CD) to / esimerkki, OS kuori vaihtaa automaattisesti sen / usr / local / lib / esimerkki hakemistoon.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. TÄRKEÄÄ: Tämä on koneellisesti käännetty sivu, joka tarjotaan "sellaisenaan" ilman takuu. Machine translation may be difficult to understand. Machine translation voi olla vaikea ymmärtää. Please refer to Tutustu original English article alkuperäinen Englanti artikkeli whenever possible. aina kun mahdollista.
Share and contribute or get technical support and help at Osake ja edistää tai saada teknistä tukea ja apua My Digital Life Forums My Digital Life-foorumit .
Related Articles Aiheeseen liittyviä artikkeleita
- Change Group Ownership of Symbolic Links in Unix or Linux Muuta ryhmän omistus symbolisia linkkejä Unix-tai Linux
- How to Mount USB Disk Drive in UNIX or Linux Miten liittää USB-levykeasema UNIX-tai Linux
- Refresh Linux or Unix Path Environmental Variables with rehash Päivitä Linux-tai Unix-Path ympäristöhallinto Muuttujat kanssa toistaminen
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Miten Muuta tai Spoof MAC-osoite Windows XP, Vista, Server 2003/2008, Mac OS X, Unix-ja Linux
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK Luo symboliset linkit, Hard Linkit ja Directory-liittymissä on Vistan kanssa MKLINK
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Avaa, Poimi ja Muunna DAA, ISO ja BIN-tiedostot Linux-ja vapaa PowerISO Linux
- Find Files that are Modified Today (or Since Certain Time Ago) in Unix Etsi tiedostoja, jotka ovat Muutettu Tänään (tai koska tietyt aikaa sitten) ja Unix
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (Lisättävä) Concurrent Capable-ja Big VG Formaatti Volume Group AIX Unix
- Create New Table by Selecting Data from Other Tables with CREATE TABLE AS Luo uusi taulukko valitsemalla tietoja muiden taulukoiden kanssa luoda taulukko
- Cheapest Linux Box Ever Halvin linux-ruutuun koskaan

























