Linux file system نظام ملفات لينكس
Everything that you use or save on a computer is stored as a file on disk drives of some sort. كل ما كنت تستخدم انقاذ او على جهاز الكمبيوتر كما يتم تخزين الملف على القرص محركات الاقراص من نوع ما. Programs are stored as files. البرامج كما يتم تخزين الملفات. Other types of information, such as word processing files, spreadsheets, and photographs, are stored as files, too. أنواع اخرى من المعلومات ، مثل ملفات معالجة الكلمات وجداول البيانات ، والصور الفوتوغرافيه ، كما يتم تخزين الملفات ، أيضا. In fact, Linux organizes every resource (except network connections) as a file. في الواقع ، وينظم كل الموارد لينكس (باستثناء وصلات الشبكه (ملف. All of these resources together are considered a file system. وجميع هذه الموارد الى جانب يعتبر نظام الملفات.
Linux interacts with all devices as if they are files. لينكس يتفاعل مع جميع الاجهزه كما لو كانت الملفات. For instance, your hard drive is viewed as the file /dev/hda or /dev/hdb. فعلى سبيل المثال ، محرك القرص الثابت ويعتبر ملف / ديف / hda او / ديف / hdb. Each file is actually the IDE interface of the first and second hard drive, respectively. كل ملف هو في الحقيقة واجهة بيئة تطوير متكاملة للدفعتين الاولى والثانية في القرص الصلب ، على التوالي.
Directory rules دليل القواعد
Files are stored inside directories. يتم تخزين الملفات داخل الادله. Directories are actually files themselves whose sole purpose is to allow files to be logically organized. أدلة انفسهم فعلا ملفات هدفها الوحيد هو اتاحة المجال للملفات ليكون منطقيا المنظمه.
Linux directories are like Windows folders. لينكس ادلة مثل ويندوز مجلدات.
There's no requirement that any particular files have to be located in any particular directories. ليس هناك شرط ان اي ملفات معينة يتعين ان تكون موجودة في اي ادلة. However, all Linux computers adhere to conventions that provide these general organization rules: ومع ذلك ، فان جميع اجهزة الكمبيوتر لينكس الانضمام الى الاتفاقيات التي توفر هذه القواعد العامة للمنظمة :
Directories can contain directories. ويمكن ان يحتوي على ادلة ادلة. There is no practical limit to the number of directories within directories. ليس هناك اى عملية للحد من عدد من الادله داخل الادله.
• A directory that contains another directory is called the parent. • وضع دليل يحتوي على دليل آخر يسمى الام.
• The directory inside a directory is the child of the parent. • دليل داخل دليل هو الطفل من والديه.
• The slash (/) character separates directories. • القطع (/) على الطابع يفصل بين الادله.
Microsoft Windows uses backslashes (\), rather than forward slashes (/), to separate directories. وتستخدم مايكروسوفت ويندوز (\) ، بدلا من قطع الامام (/) ، للفصل بين الادله.
• The root directory is the home location of all other directories. • الدليل الرئيسي هو المنزل ومكان كل الادله الاخرى.
• Root is designated by the first slash in any directory list. • الجذر يعينه القطع الاولى في قائمة اي دليل. For instance, if you want to see the contents of the etcetera directory, where configuration files are stored, you type the command ls /etc at the command prompt. فعلى سبيل المثال ، اذا كنت ترغب في الإطلاع على محتويات للدليل الى آخره ، حيث يتم تخزين ملفات التكوين ، كنت نوع القيادة ليرة سورية / الخ فى موجه الأوامر. Using the slash character tells the command to look in the root directory for the etc directory. استخدام القطع ذات الطابع يروي القيادة للنظر في الدليل الرئيسي للدليل الخ. (Linux's root directory is equivalent to the Windows C:\ drive.) (الدليل الرئيسي لينكس للتعادل ويندوز ج : \ محرك الأقراص.)
• A path is a list of one or more directories. • الطريق هي قائمة واحدة او اكثر الادله. You specify a path when describing where to find a file or directory. يمكنك تحديد الطريق عند وصف فيها لايجاد ملف او دليل. For instance, the path to the file containing this chapter on my computer is /home/paul/doc/ulfd. فعلى سبيل المثال ، فإن الطريق الى ملف يحتوي هذا الفصل على جهاز الكمبيوتر الخاص بي هو / الرئيسية / بول / دكتور / ulfd. Each directory — home, paul, doc, ulfd — is part of the path; the first slash (/) is the root directory. كل دليل فيه -- في البيت ، بول ، دكتور ، ulfd -- هو جزء من الطريق ؛ الاولى القطع (/) هي الدليل الرئيسي.
Common directories أدلة مشتركة
In the future, if and when you start to perform more Linux administration, it's useful to know what and where some of the common Linux directories are. في المستقبل ، واذا كان عند بدء تشغيل لينكس اكثر لأداء الادارة ، انه من المفيد معرفة ما فيها وبعض من أدلة لينكس هي مشتركة. The following list introduces the location and purpose of some of the common Linux directories; all of the directories are created and populated by default when you install Ubuntu (or run Ubuntu from a live CD-ROM): القائمة التالية يقدم موقع والغرض من بعض من أدلة لينكس المشتركة ؛ جميع الادله يتم انشاؤها والتي يسكنها الافتراضي عند تثبيت اوبونتو (او تشغيل اوبونتو من العيش قرص مدمج) :
• /boot Linux kernels and their supporting files. • / الحذاء الألباب لينكس ودعم الملفات. After you install Linux, you'll find the Linux kernel saved in /boot. بعد تثبيت لينكس ، ستجد في انقاذ لينكس / الحذاء.
• /dev Device files. • / ديف ملفات الجهاز. Physical devices are represented as files by the Linux kernel. الاجهزه الماديه ممثلة على النحو الملفات من قبل لينكس. The kernel reads and writes to devices through files contained in this directory. النواه القراءة والكتابة الى الاجهزه عن طريق الملفات الواردة في هذا الدليل. So is your hard drive, and if you have a printer or a USB memory disk connected to your computer, for example, you'll find a corresponding device file in this directory. ذلك هو محرك القرص الثابت ، واذا كان لديك طابعة أو صلة USB ذاكرة القرص الى جهاز الكمبيوتر الخاص بك ، على سبيل المثال ، ستجد ملف الجهاز المقابلة في هذا الدليل.
• /etc System configuration files. • / الخ تكوين نظام الملفات. Files in this directory allow your computer to automatically use networking, printers, and other devices when they've been configured. الملفات الموجودة في هذا الدليل يسمح جهاز الكمبيوتر الخاص بك تلقائيا الى استخدام الربط الشبكي ، والطابعات ، والاجهزه الاخرى عندما كنت تكوينها.
• /home User account directories. • / الرئيسية ادلة حساب المستخدم. Your user account home directory, created during the installation process. حساب المستخدم الخاص بك دليل الصفحه الرئيسية ، التي انشئت اثناء عملية التثبيت. For instance, if you created a user account called heidi during the Ubuntu installation, that account will have a home directory /home/heidi created for it. فعلى سبيل المثال ، اذا قمت بانشاء حساب مستخدم هايدي دعا خلال تركيب اوبونتو ، ان الحساب سيكون لها دليل الصفحه الرئيسية / الصفحه الرئيسية / هايدي خلق له.
• /proc A pseudo directory. • / proc أ دليل الزاءفه. This directory is not physically located on any disk drive but is a view into the Linux kernel itself. هذا الدليل لا تقع على اي محرك القرص الثابت بل هو الرأي في لينكس نفسه. Linux allows you to view certain internal data structures, and in some cases, control them via files found here. لينكس يتيح لك للاطلاع على بعض المعلومات الداخلية الهياكل ، وفي بعض الحالات ، عن طريق السيطرة عليها الملفات الموجودة هنا.
It isn't necessary to use the /proc file system unless you're performing very advanced system administration tasks. انه ليس من الضروري ان تستخدم / proc نظام الملفات الا اذا كنت نظام متقدم جدا أداء مهام الادارة. Ubuntu makes the everyday management of Ubuntu very easy by providing utilities that make it unnecessary to use the /proc file system. اوبونتو يجعل الاداريه اليوميه للاوبونتو سهل جدا عن طريق توفير المرافق العامة التي تجعل من غير الضروري استخدام / proc نظام الملفات.
• /tmp Temporary files that can be deleted after you've used them. • / tmp المؤقتة الملفات التي يمكن حذفها بعد أن كنت قد استخدمت. For instance, there are many files that Linux creates to manage or facilitate running utilities and applications that are stored temporarily in this directory. فعلى سبيل المثال ، هناك العديد من ملفات لينكس ان يخلق لتسهيل تشغيل او ادارة المرافق والتطبيقات التي يتم تخزينها مؤقتا في هذا الدليل.
• /usr Additional directories that store system and application programs, libraries, and supporting files. • / usr أدلة اضافية على ان نظام تخزين وبرامج التطبيق ، والمكتبات ، ودعم الملفات.
Libraries are small pieces of software — called subroutines or functions in programming speak — that perform simple, common tasks and are shared by multiple programs and applications. مكتبات قطع صغيرة من البرامج -- دعا الوظائف الفرعية او وظائف في مجال البرمجه في الكلام -- ان اداء بسيطة ، هي المهام المشتركة والبرامج المشتركة بين وتطبيقات متعددة. Programmers use libraries when writing an application so they don't have to "reinvent the wheel" every time they need to perform some common task; for instance, a Web browser and e-mail client application and word processor all use the same library function to read and write files on a Linux file system. المبرمجون استخدام المكتبات عند كتابة طلب ذلك انهم لا يملكون الى "اعادة اختراع العجله" في كل مرة تكون فيها الحاجة الى اداء بعض المهام المشتركة ؛ على سبيل المثال ، متصفح إنترنت والبريد الألكتروني والعملاء تطبيق معالج كلمات جميع استخدام نفس المكتبه وظيفة القراءة والكتابة على ملفات لينكس نظام الملفات.
• /usr/bin User applications and utility programs. • / usr / بن لفائدة المستخدمين والتطبيقات والبرامج. /usr/bin contains applications like the Firefox Web browser and Evolution e-mail/calendar, and utilities like the ls command. / usr / بن يحتوي على تطبيقات مثل متصفح الويب فايرفوكس e-mail/calendar وتطورها ، والمرافق العامة مثل القيادة ليرة سورية. Most applications and utilities are stored here by default. معظم المرافق والتطبيقات وهنا يتم تخزين افتراضي.
• /usr/sbin System applications and utility programs. • / usr / sbin منظومة تطبيقات وبرامج المنفعه. /usr/sbin is similar to /usr/bin/, but it stores applications and utilities used for system administration. / usr / sbin مماثل ل/ usr / بن / ، ولكنه المخازن والمرافق والتطبيقات المستخدمة في نظام الإدارة. /usr/sbin is not accessible by users unless they use sudo to gain superuser privilege. / usr / sbin لا يمكن الوصول اليها الا اذا كانوا من قبل المستخدمين استخدام sudo مستخدم الكومبيوتر ذو الصلاحيات العليا للحصول على الامتياز.
• /usr/local Third-party or user-supplied applications, utility programs, configuration files, databases, and so on. • / usr / المحلية طرف ثالث او الموردة من التطبيقات للمستخدم ، وفائدة برامج التكوين الملفات وقواعد البيانات ، وما الى ذلك. You typically use this directory structure to store applications and utilities that aren't part of the Ubuntu installation. لكم عادة استخدام هذا الدليل هيكل لتخزين التطبيقات والمرافق العامة التي لا تشكل جزءا من تركيب اوبونتو. For instance, if you download a beta version of Firefox, you should install it in /usr/local/bin so as not to overwrite the production version found in /usr/bin — and also to reduce confusion about what version resides where. فعلى سبيل المثال ، اذا كنت تحميل صيغة تجريبيه من فايرفوكس ، فعليك أن تثبيته في / usr / المحلية / بن حتى لا فوق انتاج النسخه الموجودة فى / usr / بن ل-- وايضا للحد من التباس حول ما هو رقم الاصدار يقيم فيها.
• /var Files that vary with time. • / فار الملفات التي تختلف مع مرور الوقت. This directory contains files that the operating system creates, deletes, reads, and writes to. هذا الدليل يحتوي على الملفات التي يقوم نظام التشغيل يخلق ، يحذف ، يقرأ ، ويكتب الي. For instance, when you print a document, a temporary file holding the formatted text gets written to the /var/spool directory. فعلى سبيل المثال ، عند طباعة وثيقة من وثائق ، ملف مؤقت عقد النص المنسق يحصل كتبت إلي / فار / بكرة الدليل. It's deleted when the print job finishes. انه حذف عندما ينتهي من وظيفة الطباعه.
For instance, when you print a document, Linux creates an output file to send to the printer — but first it stores, temporarily, the output in /var/spool/lp. فعلى سبيل المثال ، عند طباعة وثيقة من وثائق ، لينكس يخلق الانتاج لارسال الملف الى الطابعه -- ولكن الاولى انها متاجر ، مؤقتا ، في الناتج / فار / بكرة / ليرة لبنانيه. After the document is printed, Linux deletes the temporary file. بعد أن تطبع وثيقة من وثائق ، لينكس حذف الملفات المؤقتة.
Differences between Linux and Windows خلافات بين لينكس ونظام ويندوز
Linux files and directories are similar to Windows files and folders, but there are a few differences: ملفات لينكس وأدلة مماثلة للنوافذ الملفات والمجلدات ، ولكن هناك بعض الاختلافات :
• Linux uses different names — forward slashes, backward ones, — but the concept is the same. • لينكس يستخدم اسماء مختلفة -- الى الامام شرائح متخلفه ، منها -- ولكن هذا المفهوم هو نفسه.
• The Linux root directory / is replaced by a drive symbol, such as the common C:\ drive. • لينكس الدليل الرئيسي / يحل محلها قيادة الرمز ، مثل مشترك ج : \ محرك الأقراص.
• You also have to explicitly mount a file system to use it in Linux. • لك أيضا صراحة على جبل لملف النظام لاستخدامها في لينكس. Linux must mount a file system before it can start using the file system. جبل لينكس يجب ان ملف النظام قبل ان يمكن البدء فى استخدام نظام الملفات.
Linux has gotten very good at hiding such processes. وقد بدأت لينكس جيدة جدا في اخفاء مثل هذه العمليات. For instance, plug your USB flash memory device into your Ubuntu computer, and you'll see a window showing its contents in a few seconds. فعلى سبيل المثال ، لسد ذاكرة فلاش USB الخاص بك الى جهاز الكمبيوتر الخاص بك اوبونتو ، وسترى نافذة تظهر محتوياته في بضع ثوان. Ubuntu detected and mounted the device without intervention. وشنت اوبونتو الكشف عن الجهاز دون تدخل.
Source of Information : Ubuntu Linux For Dummies Popularity: 2% مصدر المعلومات : اوبونتو لينكس الدمى شعبية : 2 ٪
Written by magakos. كتب magakos. Read more great feeds at is source أقرأ المزيد كبيرة في الفيد هو المصدر WEBSITE موقع ويب
no comments لا يوجد تعليقات . .
Read more articles on أقرأ المزيد المواد المتعلقة Ubuntu Linux اوبونتو لينكس and و otherSoftware othersoftware . .
- [+] Digg [+] البحث بعمق : Feature this article : سمات هذه المادة
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : علامة هذه المادة
- [+] Furl [+] Furl : Bookmark this article : علامة هذه المادة















