الفرق بين /bin و /sbin و /usr/bin و /usr/sbin في لينكس

/**
this is root directory */

/** / : this is root directory */

/** /bin : commands in this dir are all system installed user commands */

/** /sbin: commands in this dir are all system installed super user commands */

/** /usr/bin: user commands for applications */

/** /usr/sbin: super user commands for applications */

/** /usr/local/bin : application user commands */

/** /usr/local/sbin: application super user commands */


1.

Linux /bin, /sbin, /usr/bin, /usr/sbin 区别, CSDN Blog-IT-Homer:http://blog.csdn.net/ithomer/article/details/9839957↩

هالدلائل في لينكس عادةً بتتوزع بناءً على نوع الأوامر ومين لازم يستخدمها. باختصار:

  • / هي الدليل الجذري (root directory)
  • /bin: الأوامر الموجودة بهالدليل كلها أوامر مستخدمين (user commands) مُثبتة من النظام
  • /sbin: الأوامر الموجودة بهالدليل كلها أوامر الـ super user (super user commands) مُثبتة من النظام
  • /usr/bin: أوامر المستخدمين الخاصة بالتطبيقات (applications)
  • /usr/sbin: أوامر الـ super user الخاصة بالتطبيقات (applications)
  • /usr/local/bin: أوامر المستخدمين للتطبيقات المُثبتة محليًا
  • /usr/local/sbin: أوامر الـ super user للتطبيقات المُثبتة محليًا