How to Make or Create Symbolic Link in Unix or 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 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 رمزي هو ربط معظم تؤيد على يونكس مثل (بما فيها لينكس) نظم التشغيل ، ويندوز فيستا (انظر Windows Vista symbolic link, hard link and junction point ويندوز فيستا صلة رمزية ، من الصعب ربط ونقطة تقاطع ) and to some degree in Windows 2000 and Windows XP. (وإلى حد ما في ويندوز 2000 ويندوز إكس بي. 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 / المحلية / ليب / مثال ودليل ل/ المثال ، استخدام الأمر التالي :
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 / المحلية / ليب / المثال ، وعندما تغييرات دليل المستخدم (مؤتمر نزع السلاح) ل/ المثال ، نظام التشغيل قذيفة سوف تتغير تلقائيا إلى / usr / المحلية / ليب / مثال ودليل.
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 بلادي الرقمي الحياة المنتديات .
Related Articles المواد ذات الصلة
- Change Group Ownership of Symbolic Links in Unix or Linux تغيير ملكية مجموعة من الروابط الرمزية في يونيكس أو لينكس
- How to Mount USB Disk Drive in UNIX or Linux كيف لجبل USB محركات الأقراص في يونيكس أو لينكس
- Refresh Linux or Unix Path Environmental Variables with rehash تحديث لينكس أو يونيكس الطريق مع المتغيرات البيئية أعاد
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux كيفية تغيير العنوان أو السخرية لجنة الهدنة العسكرية في ويندوز إكس بي ، فيستا ، خادم 2003/2008 ، ماكنتوش ، لينكس ويونكس
- Create Symbolic Links, Hard Links and Directory Junctions in Vista with MKLINK خلق روابط رمزية ، هارد صلة ودليل المفارق في فيستا مع MKLINK
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux مفتوحة ، مقتطف وتحويل DAA ، والمنظمة الدولية للتوحيد القياسي بن الملفات في لينكس مع الحرة PowerISO لينكس
- Find Files that are Modified Today (or Since Certain Time Ago) in Unix العثور على الملفات التي عدلت اليوم (او منذ قبل فترة معينة) في يونكس
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix (تعزيز) متزامنة قادرة على الشكل والحجم الكبير جيد جدا في مجموعة إكس يونكس
- Create New Table by Selecting Data from Other Tables with CREATE TABLE AS إنشاء الجدول الجديد عن طريق اختيار البيانات من الجداول الأخرى مع خلق طاولة
- Cheapest Linux Box Ever أرخص من أي وقت مضى لينكس

























