How to Make or Create Symbolic Link in Unix or Linux Πώς να κάνετε ή Δημιουργία Συμβολική σύνδεση στο Unix ή 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) είναι ένα ειδικό τύπο αρχείου που έχει αναφορά που παραπέμπει σε άλλο αρχείο ή κατάλογο, υπό μορφή απόλυτη ή σχετική διαδρομή. 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 is supported on most Unix-like (including Linux) operating systems, Windows Vista (see Συμβολικός δεσμός υποστηρίζεται από τα περισσότερα-όπως Unix (συμπεριλαμβανομένου του Linux) λειτουργικά συστήματα, τα Windows Vista (βλέπε Windows Vista symbolic link, hard link and junction point Windows Vista συμβολική σύνδεση, σκληρό και σύνδεση κόμβου σημείο ) and to some degree in Windows 2000 and Windows XP. ) Και σε κάποιο βαθμό στα Windows 2000 και 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. Αν και συμβολική σύνδεση έχει κατεύθυνση προς ένα στόχο, που θα λειτουργεί ανεξάρτητα από την επίτευξη του στόχου (διαγραφή των συμβολική σύνδεση δεν επλήγησαν), αλλά το πρόγραμμα επιτρέπει να συμπεριφέρεται σαν να λειτουργούν άμεσα από το στόχο του αρχείου.

So how to create or make a symbolic link? Και πώς να δημιουργήσετε ή να κάνει μια συμβολική σύνδεση; To create a symbolic, use the following 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: Για παράδειγμα, για να συνδεθεί το / usr / local / lib / directory παράδειγμα στο / παράδειγμα, χρησιμοποιήστε την ακόλουθη εντολή:

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. Μετά τη δημιουργία της συμβολικής παραπάνω σύνδεσμο, / παράδειγμα θα το σημείο στο / usr / local / lib / παράδειγμα, και όταν ο χρήστης αλλάζει directory (CD) στο / παράδειγμα, OS κέλυφος θα αλλάξουν αυτόματα σε / usr / local / lib / παράδειγμα κατάλογο.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. ΣΗΜΑΝΤΙΚΟ: Αυτό είναι μια μηχανή που μεταφράστηκε σελίδα παρέχονται "ως έχουν", χωρίς εγγύηση. Machine translation may be difficult to understand. Η αυτόματη μετάφραση μπορεί να είναι δύσκολο να κατανοηθεί. Please refer to Παρακαλείσθε να original English article πρωτότυπο αγγλικό άρθρο whenever possible. όποτε είναι δυνατόν.

Share and contribute or get technical support and help at Μοιραστείτε και συμβάλλουν ή λάβετε τεχνική υποστήριξη και βοήθεια στο My Digital Life Forums Η ψηφιακή ζωή φόρουμ .



Leave a Reply Αφήστε μια απάντηση

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> Μπορείτε να χρησιμοποιήσετε αυτές τις ετικέτες: <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. Εγγραφείτε σε σχόλια η δυνατότητα έχει απενεργοποιηθεί. To receive notification of latest comments posted, subscribe to Για να λάβετε κοινοποίηση των αποσπασμένων τελευταίες παρατηρήσεις, να εγγραφείτε My Digital Life Comments RSS feed My Digital Life Σχόλια RSS feed or ή register to receive εγγραφείτε για να λαμβάνετε new comments in daily email digest. νέα σχόλια στον ημερήσιο email χωνέψει.
Custom Search

New Articles Νέα άρθρα

Incoming Search Terms for the Article Incoming Search Όροι για το άρθρο

how to create a symbolic link in unix for a directory Πώς να δημιουργήσετε ένα συμβολικό σύνδεσμο στο UNIX για έναν κατάλογο - --