How to Make or Create Symbolic Link in Unix or Linux Wie man oder Erstellen Sie symbolische Link in Unix-oder 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. Symbolischer Link (auch bekannt als symbolischer Link oder Soft-Link) ist eine spezielle Art von Datei, die Referenz, der auf eine andere Datei oder das Verzeichnis, in Form eines absoluten oder relativen Pfad. 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. Symbolischer Link kann verwendet werden, ebenso wie das Ziel ursprüngliche Datei oder den Ordner aus, da sie lediglich eine Text-String, die interpretiert und ergänzt durch das Betriebssystem auf einer anderen Datei oder das Verzeichnis.

Symbolic link is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Symbolischer Link wird auf den meisten Unix-artigen (einschließlich Linux) Betriebssysteme, Windows Vista (siehe Windows Vista symbolic link, hard link and junction point Windows Vista symbolischen Link, harter Link und Kreuzung Punkt ) and to some degree in Windows 2000 and Windows XP. ) Und bis zu einem gewissen Grad in Windows 2000 und 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. Obwohl symbolischer Link zeigt auf ein Ziel, sie arbeitet unabhängig von ihrem Ziel (Streichung der symbolische Link nicht betroffen), sondern ermöglicht Programm zu verhalten, als ob Sie direkt auf die Ziel-Datei.

So how to create or make a symbolic link? So, wie Sie oder machen Sie einen symbolischen Link? To create a symbolic, use the following command syntax: So erstellen Sie eine symbolische, verwenden Sie den folgenden Befehl 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: Zum Beispiel, um das Verzeichnis / usr / local / lib / Beispiel das Verzeichnis / Beispiel, verwenden Sie den folgenden Befehl ein:

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. Nach dem Erstellen der symbolischen Link oben, / So wird auf / usr / local / lib / Beispiel, und wenn der Benutzer Änderungen Verzeichnis (CD) zu / example, OS-Shell wird automatisch ändern Sie sie nach / usr / local / lib / example-Verzeichnis.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. WICHTIG: Dies ist eine Maschine übersetzt, die Seite wird "as is" ohne Garantie. Machine translation may be difficult to understand. Maschinelle Übersetzung Mai nur schwer zu verstehen. Please refer to Bitte wenden Sie sich an original English article Original Englisch Artikel whenever possible. wann immer dies möglich ist.

Share and contribute or get technical support and help at Aktie und einen Beitrag oder erhalten technische Unterstützung und Hilfe bei My Digital Life Forums My Digital Life Foren .



Leave a Reply Lassen Sie eine Antwort

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> Sie können diese Tags: <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. Abonnieren Sie Kommentare Feature deaktiviert wurde. To receive notification of latest comments posted, subscribe to Um eine Benachrichtigung zu erhalten neuesten Kommentare gepostet, abonnieren Sie My Digital Life Comments RSS feed My Digital Life Kommentare RSS-Feed or oder register to receive Register zu erhalten new comments in daily email digest. Neue Kommentare in der täglichen E-Mail-Digest.
Custom Search

New Articles Neue Artikel

Incoming Search Terms for the Article Eingehende Suche Nutzungsbedingungen für die Artikel

how to create a symbolic link in unix for a directory So erstellen Sie einen symbolischen Link in Unix für ein Verzeichnis - --