Software, settings, next steps · البرمجيات والإعدادات والخطوات التالية
Installing software
- On Linux you rarely download installers. A package manager fetches and installs software for you.
- Debian and Ubuntu use
apt; Fedora usesdnf; macOS users often addbrew:
- One command, and the tool (and anything it needs) is installed and ready.
تثبيت البرامج
- في لينكس نادراً ما تقوم بتنزيل مثبتات. مدير الحزم يقوم بجلب وتثبيت البرامج نيابة عنك.
- تستخدم Debian و Ubuntu
apt؛ تستخدم Fedoradnf؛ غالباً ما يضيف مستخدمو macOSbrew:
sudo apt update
sudo apt install git
- أمر واحد، ويتم تثبيت الأداة (وما تحتاجه) وتكون جاهزة.
Installing with a package manager · التثبيت باستخدام مدير الحزم
apt update refreshes the catalogue, apt install fetches the tool and its needs. · يقوم apt update بتحديث الكتالوج، بينما يقوم apt install بجلب الأداة ومتطلباتها.
The environment
- The shell remembers settings in environment variables. The most important is
PATH— the list of folders it searches for commands. - Your personal settings live in a file called
.bashrcin your home folder. Editing it lets you create shortcuts (aliases) and change how the shell behaves.
البيئة
- تحتفظ الطرفية بالإعدادات في متغيرات البيئة. الأهم بين جميعها هي
PATH— قائمة المجلدات التي يبحث فيها عن الأوامر. - إعداداتك الشخصية تعيش في ملف يسمى
.bashrcفي مجلدك الشخصي. تعديله يسمح لك بإنشاء اختصارات (aliases) وتغيير كيفية عمل الطرفية.
Where to go next
- You now know how to navigate, read, search, combine, and manage files — the core of the command line.
- Keep a real terminal open and use it for small tasks; speed comes with habit.
- Next steps: learn
gitfor version control, a text editor likenanoorvim, and a little shell scripting to automate your favourite commands. Well done!
أين تذهب بعد ذلك
- الآن تعرف كيف تتنقل، وتقرأ، وتبحث، وتدمج، وتدير الملفات — جوهر واجهة الأوامر.
- احتفظ بطرفية حقيقية واستخدمها للمهام الصغيرة؛ السرعة تأتي مع العادة.
- الخطوات التالية: تعلم
gitللتحكم في الإصدارات، ومحرر نصوص مثلnanoأوvim، قليلاً من scripting الطرفية لأتمتة أوامرك المفضلة. أحسن عملاً!
Now you try
aptneeds the real internet, so it is not in our simulator — but a list of installed packages is saved ininstalled.txt.- Use the tools from this course to
sortthe list andwcto count it. The same handful of commands work on any text data.
الآن جرب بنفسك
aptيحتاج الإنترنت الحقيقي، لذا فهو غير موجود في المحاكاة لدينا — لكن قائمة بالحزم المثبتة محفوظة فيinstalled.txt.- استخدم أدوات هذا الكورس لـ
sortالقائمة وwcلحسابها. نفس القليل من الأوامر تعمل على أي بيانات نصية.
Common mistakes
- Read a command's
--helpormanpage before using unfamiliar options. - Test a risky command on a copy of your files first.
أخطاء شائعة
- اقرأ صفحة
--helpأوmanللأمر قبل استخدام خيارات غير مألوفة. - جرب أمراً خطيراً على نسخة من ملفاتك أولاً.
apt list --installed is a real command, not part of our simulator — but here its output is saved in installed.txt. Put the package names in alphabetical order with sort installed.txt. · أمر apt list --installed حقيقي وليس جزءاً من محاكينا — ولكن هنا تم حفظ مخرجاته في installed.txt. رتب أسماء الحزم أبجدياً باستخدام sort installed.txt.
How many packages are installed? Count the lines with cat installed.txt | wc -l — the same file tools work on any data. · كم عدد الحزم المثبتة؟ عُدّ الأسطر التي تحتوي على cat installed.txt | wc -l — نفس أدوات الملفات تعمل على أي بيانات.