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 .



Leave a Reply Jätä vastaus

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> Voit käyttää näitä koodeja: <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. Tilaa kommentit ominaisuus on poistettu käytöstä. To receive notification of latest comments posted, subscribe to Jos haluat saada ilmoituksen Uusimmat kommentit lähetetty, tilata My Digital Life Comments RSS feed My Digital Life kommentit RSS-syöte or tai register to receive rekisteri ottaa vastaan new comments in daily email digest. uusia kommentteja päivittäin emaildigest.
Custom Search

New Articles Uudet artikkelit

Incoming Search Terms for the Article Saapuvat Search Terms oleva artikla

how to create a symbolic link in unix for a directory miten luoda symbolinen linkki Unix varten hakemiston - --