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 بلادي الرقمي الحياة المنتديات .



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> يمكنك استخدام هذه العلامات : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <cite><code><ديل datetime = ""> <em><i><qcite=""> <strike><strong>

Subscribe to comments feature has been disabled. الاشتراك في تعليقات تم تعطيل الميزة. To receive notification of latest comments posted, subscribe to لتلقي إشعار آخر التعليقات من موقع ، اشترك My Digital Life Comments RSS feed بلادي الرقمي الحياة التعليقات آر إس إس or أو register to receive سجل لتلقي new comments in daily email digest. تعليقات جديدة في البريد الإلكتروني يوميا هضم.
Custom Search

New Articles المواد الجديدة

Incoming Search Terms for the Article ابحث الواردة للشروط المنصوص عليها في المادة

how to create a symbolic link in unix for a directory كيفية إنشاء ارتباط رمزي في يونيكس لدليل - --