How to Make or Create Symbolic Link in Unix or Linux Paano sa Gawin o Gumawa ng symbolic link sa 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. Symbolic link (na kilala rin bilang symlink o soft link) ay isang espesyal na uri ng file na may reference na ang mga puntos sa isa pang file o directory, sa anyo ng isang kamag-anak o absolute path. 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. Symbolic link ay maaaring gamitin lamang ang target na tulad ng orihinal na file o folder, dahil ito lamang ay naglalaman ng isang string ng teksto na ito ay interpreted at sinundan ng operating system sa isa pang file o directory.

Symbolic link is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Symbolic link ay suportado sa mga pinaka-Unix-like (kasama na ang Linux) operating system, Windows Vista (tingnan ang Windows Vista symbolic link, hard link and junction point Windows Vista symbolic link, hard-link at kantong point ) and to some degree in Windows 2000 and Windows XP. ) At sa ilang antas sa Windows 2000 at 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. Kahit na symbolic link ay tumuturo sa isang target, ito ay nagpapairal ng malaya nito sa target (pagbura ng symbolic link ay hindi na-aapektuhan), ngunit nagbibigay-daan sa programa na kumilos na kung operating direkta sa mga target na file.

So how to create or make a symbolic link? Kaya kung paano sa lumikha o gumawa ng isang symbolic link? To create a symbolic, use the following command syntax: Upang lumikha ng isang makahulugan, gamitin ang sumusunod na command syntax:

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

For example, to link the /usr/local/lib/example directory to /example, use the following command: Halimbawa, sa link sa / usr / local / lib / halimbawa directory sa / halimbawa, gamitin ang sumusunod na command:

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. Matapos ang paglikha ng symbolic link sa itaas, / halimbawa ay point sa / usr / local / lib / halimbawa, at kapag gumagamit ang mga pagbabago na direktoryo (CD) sa / halimbawa, OS shell ay awtomatikong baguhin ito sa / usr / local / lib / halimbawa direktoryo.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. MAHALAGA: Ito ay isang makina isinalin pahina na kung saan ay ibinigay "bilang ganito" walang warranty. Machine translation may be difficult to understand. Makina ng pagsasalin ay maaaring mahirap maintindihan. Please refer to Mangyaring sumangguni sa original English article orihinal na Ingles article whenever possible. hangga't maaari.

Share and contribute or get technical support and help at Share at kontribusyon o makakuha ng teknikal na suporta at tulong sa My Digital Life Forums Aking Digital buhay Forums .



Leave a Reply Mag-iwan ng isang Sumagot

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> Maaari mong gamitin ang mga 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. Mag-subscribe sa comments tampok na ito ay hindi pinagana. To receive notification of latest comments posted, subscribe to Upang makatanggap ng mga notification ng mga pinakabagong comments posted, mag-subscribe sa My Digital Life Comments RSS feed Ang aking digital na buhay Comments RSS feed or o register to receive magrehistro upang makatanggap ng new comments in daily email digest. mga bagong komento sa pang-araw-araw email digest.
Custom Search

New Articles New Articles

Incoming Search Terms for the Article Papasok Search Mga Tuntunin para sa mga Artikulo

how to create a symbolic link in unix for a directory paano sa lumikha ng isang symbolic link sa utak para sa isang direktoryo - --