متقدم
البحث فيالملخصات
طريقة البحث
  • الكلمات تجد عناوين الدروس والنص والكود. صفِّ حسب النوع (أدلة، دورات، برامج، كتب) أو ابقَ في هذا الكتاب.
  • book:rhcsa و ch:8 يضيّقان البحث؛ ‎#code يجد الكلمة داخل أوامر الدروس فقط.
  • "كلمتان" تجد العبارة بالضبط.
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث
جرّب:

The Linux Command Line

دورة كاملة عن طرفية لينكس: من الأوامر الأولى إلى كتابة سكربتات الطرفية.

كتاب من تأليف
William Shotts
linuxcommand.org
2026
الدروس
321

كتبت هذه الملخصات بكلماتي الخاصة لكي أتعلم. هي ليست نسخة من الكتاب. اشترِ الكتاب لتقرأ النص الكامل.

الأجزاء والفصول

الجزء 1

تعلّم الطرفية

Learning the Shell

  1. 1تعرّف على الـ shell والطرفيةWhat Is the Shell?8 دروس
    الدروس
    1. 1.1 اعرف ما هو الـ shell وما هي الطرفية
    2. 1.2 اقرأ الموجّه
    3. 1.3 اكتب أولى ضغطات المفاتيح
    4. 1.4 استخدم السجل ومفاتيح الأسهم
    5. 1.5 انسخ والصق بالفأرة
    6. 1.6 أنهِ الجلسة
    7. 1.7 اعثر على الـ consoles الافتراضية
    8. 1.8 ملخص الفصل
  2. 2تنقّل في نظام الملفاتNavigation8 دروس
    الدروس
    1. 2.1 افهم شجرة نظام الملفات
    2. 2.2 اعرف أين أنت بـ pwd
    3. 2.3 اعرض المحتوى بـ ls
    4. 2.4 غيّر المجلد بـ cd
    5. 2.5 استخدم أسماء المسارات المطلقة والنسبية
    6. 2.6 استخدم اختصارات cd
    7. 2.7 اتبع قواعد أسماء الملفات
    8. 2.8 ملخص الفصل
  3. 3انظر حول النظامExploring the System9 دروس
    الدروس
    1. 3.1 استخدم الخيارات والمعاملات
    2. 3.2 اعرف أكثر خيارات ls فائدة
    3. 3.3 اقرأ الصيغة الطويلة
    4. 3.4 اعرف نوع الملف بـ file
    5. 3.5 اقرأ الملفات النصية بـ less
    6. 3.6 قم بجولة في مجلدات النظام
    7. 3.7 افهم الروابط الرمزية
    8. 3.8 افهم الروابط الصلبة
    9. 3.9 ملخص الفصل
  4. 4انسخ الملفات وانقلها واحذفها واربطهاManipulating Files and Directories8 دروس
    الدروس
    1. 4.1 اختر ملفات كثيرة بأحرف البدل
    2. 4.2 أنشئ المجلدات بـ mkdir
    3. 4.3 انسخ الملفات بـ cp
    4. 4.4 انقل وأعِد التسمية بـ mv
    5. 4.5 احذف بـ rm
    6. 4.6 اصنع الروابط بـ ln
    7. 4.7 ابنِ ساحة تدريب
    8. 4.8 ملخص الفصل
  5. 5اعرف أوامرك واعثر على المساعدةWorking with Commands10 دروس
    الدروس
    1. 5.1 اعرف الأنواع الأربعة للأوامر
    2. 5.2 اعرف النوع بـ type
    3. 5.3 اعثر على ملف البرنامج بـ which
    4. 5.4 احصل على مساعدة الأوامر المدمجة بـ help
    5. 5.5 استخدم --help للبرامج
    6. 5.6 اقرأ الدليل بـ man
    7. 5.7 ابحث في الدليل بـ apropos و whatis
    8. 5.8 اقرأ صفحات info وملفات README
    9. 5.9 اصنع أوامرك الخاصة بـ alias
    10. 5.10 ملخص الفصل
  6. 6أعِد توجيه المدخلات والمخرجات، وابنِ pipelinesRedirection10 دروس
    الدروس
    1. 6.1 اعرف stdin و stdout و stderr
    2. 6.2 أرسل المخرجات إلى ملف
    3. 6.3 أرسل الأخطاء إلى ملف
    4. 6.4 أرسل المخرجات والأخطاء إلى نفس الملف
    5. 6.5 ارمِ المخرجات بـ /dev/null
    6. 6.6 اقرأ المدخلات من ملف
    7. 6.7 اربط الأوامر بالـ pipelines
    8. 6.8 استخدم المرشّحات في الـ pipeline
    9. 6.9 احفظ وشاهد في نفس الوقت بـ tee
    10. 6.10 ملخص الفصل
  7. 7كيف يقرأ الـ shell سطرك (التوسيع وعلامات الاقتباس)Seeing the World as the Shell Sees It11 دروس
    الدروس
    1. 7.1 شاهد التوسيع بـ echo
    2. 7.2 توسيع أسماء المسارات
    3. 7.3 توسيع التيلدا
    4. 7.4 التوسيع الحسابي
    5. 7.5 توسيع الأقواس
    6. 7.6 توسيع المعاملات
    7. 7.7 استبدال الأوامر
    8. 7.8 تحكّم في التوسيع بعلامات الاقتباس المزدوجة
    9. 7.9 أوقف كل توسيع بعلامات الاقتباس المفردة والشرطة المائلة العكسية
    10. 7.10 استخدم تسلسلات الهروب بالشرطة المائلة العكسية
    11. 7.11 ملخص الفصل
  8. 8اعمل أسرع بلوحة المفاتيحAdvanced Keyboard Tricks9 دروس
    الدروس
    1. 8.1 حرّك المؤشر
    2. 8.2 غيّر النص
    3. 8.3 قصّ والصق (kill و yank)
    4. 8.4 أكمل الأسماء بـ Tab
    5. 8.5 استخدم السجل
    6. 8.6 ابحث في السجل بـ Ctrl-r
    7. 8.7 استخدم توسيع السجل
    8. 8.8 سجّل جلسة بـ script
    9. 8.9 ملخص الفصل
  9. 9الصلاحيات والمستخدمونPermissions11 دروس
    الدروس
    1. 9.1 اعرف المالكين والمجموعات والعالم
    2. 9.2 اقرأ الصلاحيات: r و w و x
    3. 9.3 غيّر الصلاحيات بـ chmod (ثماني)
    4. 9.4 غيّر الصلاحيات بـ chmod (رموز)
    5. 9.5 اضبط الصلاحيات الافتراضية بـ umask
    6. 9.6 استخدم البتات الخاصة
    7. 9.7 كن مستخدمًا آخر بـ su
    8. 9.8 شغّل أمرًا كـ root بـ sudo
    9. 9.9 غيّر المالك والمجموعة بـ chown و chgrp
    10. 9.10 شارك مجلدًا وغيّر كلمات المرور
    11. 9.11 ملخص الفصل
  10. 10شاهد العمليات وتحكّم فيهاProcesses10 دروس
    الدروس
    1. 10.1 اعرف كيف تبدأ العمليات
    2. 10.2 اعرض العمليات بـ ps
    3. 10.3 راقب العمليات مباشرة بـ top
    4. 10.4 أوقف، وانقل للخلفية، وأعِد للمقدمة
    5. 10.5 غيّر الأولوية بـ nice و renice
    6. 10.6 أرسل الإشارات بـ kill
    7. 10.7 أرسل إشارة لعمليات كثيرة بـ killall
    8. 10.8 أطفئ النظام
    9. 10.9 استخدم أدوات عمليات أخرى
    10. 10.10 ملخص الفصل

الجزء 2

الإعداد والبيئة

Configuration and the Environment

  1. 11اضبط البيئةThe Environment10 دروس
    الدروس
    1. 11.1 اعرف ما في البيئة
    2. 11.2 اعرف المتغيرات المهمة
    3. 11.3 اعرف كيف تُبنى البيئة
    4. 11.4 اقرأ ملف بدء
    5. 11.5 اعرف كيف ترث العمليات الأبناء
    6. 11.6 ابدأ برنامجًا بمتغير مؤقت
    7. 11.7 غيّر البيئة حتى يبقى التغيير
    8. 11.8 عدّل الملفات بمحرر نصوص
    9. 11.9 فعّل التغييرات بـ source
    10. 11.10 ملخص الفصل
  2. 12عدّل النص بـ vi و vimA Gentle Introduction to vi(m)10 دروس
    الدروس
    1. 12.1 اعرف لماذا يستحق vi التعلّم
    2. 12.2 ابدأ vi واخرج منه
    3. 12.3 افهم الأوضاع
    4. 12.4 ادخل insert mode
    5. 12.5 حرّك المؤشر
    6. 12.6 احذف وقصّ وانسخ والصق
    7. 12.7 ابحث واستبدل
    8. 12.8 اعمل مع ملفات كثيرة
    9. 12.9 استخدم مفاتيح vi في bash
    10. 12.10 ملخص الفصل
  3. 13خصّص الموجّهCustomizing the Prompt6 دروس
    الدروس
    1. 13.1 اقرأ أجزاء PS1
    2. 13.2 جرّب تصميمات موجّه جديدة
    3. 13.3 أضف اللون
    4. 13.4 حرّك المؤشر
    5. 13.5 احتفظ بالموجّه الجديد
    6. 13.6 ملخص الفصل

الجزء 3

المهام الشائعة والأدوات الأساسية

Common Tasks and Essential Tools

  1. 14ثبّت حزم البرامج وأدِرهاPackage Management10 دروس
    الدروس
    1. 14.1 اعرف عائلتي الحزم
    2. 14.2 افهم الحزم والمستودعات والاعتماديات
    3. 14.3 اعثر على حزمة
    4. 14.4 ثبّت حزمة
    5. 14.5 أزِل حزمة
    6. 14.6 حدّث النظام
    7. 14.7 اسأل عن الحزم
    8. 14.8 اعرف صيغ الحزم العامة
    9. 14.9 اعرف خرافة "صعب التثبيت"
    10. 14.10 ملخص الفصل
  2. 15اعمل مع الأقراص ووسائط التخزينStorage Media10 دروس
    الدروس
    1. 15.1 ركّب أنظمة الملفات وفك تركيبها
    2. 15.2 اعرض أنظمة الملفات المركّبة
    3. 15.3 ركّب يدويًا
    4. 15.4 اعرف لماذا فك التركيب مهم
    5. 15.5 اعثر على أسماء الأجهزة
    6. 15.6 أنشئ الأقسام وأنظمة الملفات
    7. 15.7 اختبر أنظمة الملفات وأصلحها بـ fsck
    8. 15.8 انسخ البيانات الخام بـ dd
    9. 15.9 اصنع صور ISO وركّبها وافحصها
    10. 15.10 ملخص الفصل
  3. 16استخدم الشبكة من سطر الأوامرNetworking9 دروس
    الدروس
    1. 16.1 افحص مضيفًا بـ ping
    2. 16.2 تابع المسار بـ traceroute
    3. 16.3 شاهد الواجهات والمسارات بـ ip
    4. 16.4 انقل الملفات بـ ftp و lftp
    5. 16.5 نزّل بـ curl و wget
    6. 16.6 سجّل الدخول بأمان بـ ssh
    7. 16.7 اصنع نفق SSH
    8. 16.8 انسخ الملفات بـ scp و sftp
    9. 16.9 ملخص الفصل
  4. 17اعثر على الملفات بـ locate و findSearching for Files9 دروس
    الدروس
    1. 17.1 اعثر على الملفات بسرعة بـ locate
    2. 17.2 ابحث في الملفات الحقيقية بـ find
    3. 17.3 استخدم اختبارات find
    4. 17.4 اجمع الاختبارات بالعوامل
    5. 17.5 نفّذ إجراءات على النتائج
    6. 17.6 مرّر النتائج إلى xargs
    7. 17.7 تدرّب في ساحة تدريب
    8. 17.8 استخدم خيارات find
    9. 17.9 ملخص الفصل
  5. 18Archive, compress and back upArchiving and Backup9 دروس
    الدروس
    1. 18.1 Compress files with gzip
    2. 18.2 Use bzip2 and xz
    3. 18.3 Make archives with tar
    4. 18.4 Compress tar archives
    5. 18.5 Use tar over the network
    6. 18.6 Use zip for Windows users
    7. 18.7 Synchronize with rsync
    8. 18.8 Use rsync over the network
    9. 18.9 Summary of the chapter
  6. 19Regular expressionsRegular Expressions12 دروس
    الدروس
    1. 19.1 Know what a regex is
    2. 19.2 Search with grep
    3. 19.3 Use literals and metacharacters
    4. 19.4 Match any character with the dot
    5. 19.5 Use anchors
    6. 19.6 Solve a crossword with a regex
    7. 19.7 Use bracket expressions
    8. 19.8 Use POSIX character classes
    9. 19.9 Use alternation and groups
    10. 19.10 Use quantifiers
    11. 19.11 Put regex to work
    12. 19.12 Summary of the chapter
  7. 20Process textText Processing13 دروس
    الدروس
    1. 20.1 Know where text is used
    2. 20.2 Look closer with cat
    3. 20.3 Sort lines with sort
    4. 20.4 Report repeated lines with uniq
    5. 20.5 Cut columns with cut
    6. 20.6 Put lines together with paste and join
    7. 20.7 Reverse lines and characters with tac and rev
    8. 20.8 Compare files with comm and diff
    9. 20.9 Apply changes with patch
    10. 20.10 Change characters with tr
    11. 20.11 Edit text in a stream with sed
    12. 20.12 Check spelling with aspell
    13. 20.13 Summary of the chapter
  8. 21Format outputFormatting Output7 دروس
    الدروس
    1. 21.1 Number lines with nl
    2. 21.2 Wrap lines with fold
    3. 21.3 Format paragraphs with fmt
    4. 21.4 Paginate text with pr
    5. 21.5 Format data with printf
    6. 21.6 Make documents with groff
    7. 21.7 Summary of the chapter
  9. 22Print from the command linePrinting6 دروس
    الدروس
    1. 22.1 Know the short history
    2. 22.2 Prepare text with pr
    3. 22.3 Send jobs with lpr and lp
    4. 22.4 Make pretty pages with a2ps
    5. 22.5 Watch and cancel print jobs
    6. 22.6 Summary of the chapter
  10. 23Compile programs from sourceCompiling Programs8 دروس
    الدروس
    1. 23.1 Know what compiling is
    2. 23.2 Install the build tools
    3. 23.3 Get the source code
    4. 23.4 Look at the source tree
    5. 23.5 Run configure
    6. 23.6 Build with make
    7. 23.7 Install the program
    8. 23.8 Summary of the chapter

الجزء 4

كتابة سكربتات الطرفية

Writing Shell Scripts

  1. 24Write your first scriptWriting Your First Script7 دروس
    الدروس
    1. 24.1 Know what a shell script is
    2. 24.2 Write the script file
    3. 24.3 Make it executable
    4. 24.4 Put it in the PATH
    5. 24.5 Write scripts that are easy to read
    6. 24.6 Set up vim for scripts
    7. 24.7 Summary of the chapter
  2. 25Start a project: an HTML report scriptStarting a Project6 دروس
    الدروس
    1. 25.1 Make a minimal document
    2. 25.2 Add data with variables
    3. 25.3 Know the rules for variables and constants
    4. 25.4 Assign values to variables
    5. 25.5 Use here documents
    6. 25.6 Summary of the chapter
  3. 26Top-down design with functionsTop-Down Design7 دروس
    الدروس
    1. 26.1 Think top-down
    2. 26.2 Write shell functions
    3. 26.3 Use local variables
    4. 26.4 Keep the script running: stubs
    5. 26.5 Fill in the functions
    6. 26.6 Put functions in .bashrc
    7. 26.7 Summary of the chapter
  4. 27Make decisions with ifFlow Control: Branching with if11 دروس
    الدروس
    1. 27.1 Write an if statement
    2. 27.2 Understand the exit status
    3. 27.3 Test files
    4. 27.4 Test strings
    5. 27.5 Test integers
    6. 27.6 Use the modern [[ ]]
    7. 27.7 Use (( )) for numbers
    8. 27.8 Combine conditions
    9. 27.9 Branch with && and ||
    10. 27.10 Finish the report: check for root
    11. 27.11 Summary of the chapter
  5. 28Read keyboard inputReading Keyboard Input8 دروس
    الدروس
    1. 28.1 Read a value with read
    2. 28.2 Read several values
    3. 28.3 Use the read options
    4. 28.4 Split input with IFS
    5. 28.5 Know why you cannot pipe into read
    6. 28.6 Check the input
    7. 28.7 Build a menu
    8. 28.8 Summary of the chapter
  6. 29Loop with while and untilFlow Control: Looping with while / until8 دروس
    الدروس
    1. 29.1 Know what a loop is
    2. 29.2 Repeat with while
    3. 29.3 Make the menu repeat
    4. 29.4 Stop or skip with break and continue
    5. 29.5 Build a menu with select
    6. 29.6 Repeat with until
    7. 29.7 Read a file with a loop
    8. 29.8 Summary of the chapter
  7. 30Find and fix errors in scriptsTroubleshooting13 دروس
    الدروس
    1. 30.1 Fix missing quotes
    2. 30.2 Fix missing or unexpected tokens
    3. 30.3 Watch for unexpected expansions
    4. 30.4 Know the logic errors
    5. 30.5 Program defensively
    6. 30.6 Know set -e, set -u and pipefail
    7. 30.7 Check scripts with ShellCheck
    8. 30.8 Watch out for file names
    9. 30.9 Check all input
    10. 30.10 Test with test cases
    11. 30.11 Debug: find the area and trace
    12. 30.12 Look at values while the script runs
    13. 30.13 Summary of the chapter
  8. 31Choose with caseFlow Control: Branching with case5 دروس
    الدروس
    1. 31.1 Write a case statement
    2. 31.2 Use patterns
    3. 31.3 Combine patterns with |
    4. 31.4 Run more than one match with ;;&
    5. 31.5 Summary of the chapter
  9. 32Positional parameters and optionsPositional Parameters9 دروس
    الدروس
    1. 32.1 Read the command line
    2. 32.2 Count the arguments with $#
    3. 32.3 Walk through the arguments with shift
    4. 32.4 Write a simple tool
    5. 32.5 Use parameters in functions
    6. 32.6 Handle all parameters with $@ and $*
    7. 32.7 Add options to the report script
    8. 32.8 Use getopts for short options
    9. 32.9 Summary of the chapter
  10. 33Loop with forFlow Control: Looping with for7 دروس
    الدروس
    1. 33.1 Use the traditional form
    2. 33.2 Loop over files safely
    3. 33.3 Find the longest word
    4. 33.4 Use the C language form
    5. 33.5 Add a loop to the report
    6. 33.6 Use for in daily admin work
    7. 33.7 Summary of the chapter
  11. 34Work with strings and numbersStrings and Numbers8 دروس
    الدروس
    1. 34.1 Use basic parameters
    2. 34.2 Handle empty variables
    3. 34.3 Find variable names
    4. 34.4 Measure, cut and change strings
    5. 34.5 Change upper and lower case
    6. 34.6 Calculate with $(( ))
    7. 34.7 Calculate decimals with bc
    8. 34.8 Summary of the chapter
  12. 35Use arraysArrays11 دروس
    الدروس
    1. 35.1 Know what arrays are
    2. 35.2 Make an array
    3. 35.3 Use an array: count files by hour
    4. 35.4 Print all elements
    5. 35.5 Count elements and find the indexes
    6. 35.6 Fill arrays with read -a and +=
    7. 35.7 Read a file into an array
    8. 35.8 Slice and sort arrays
    9. 35.9 Delete arrays and elements
    10. 35.10 Use associative arrays
    11. 35.11 Summary of the chapter
  13. 36Exotica: advanced tricksExotica8 دروس
    الدروس
    1. 36.1 Use group commands and subshells
    2. 36.2 Use process substitution
    3. 36.3 Build commands with eval
    4. 36.4 Catch signals with trap
    5. 36.5 Make temporary files safely
    6. 36.6 Run jobs at the same time with wait
    7. 36.7 Use named pipes
    8. 36.8 Summary of the book

أهداف الامتحان

كل هدف من أهداف امتحان RHCSA والدرس الذي تتعلمه فيه.

الجزء 1 — تعلّم الطرفية

الجزء 2 — الإعداد والبيئة

الجزء 3 — المهام الشائعة والأدوات الأساسية

الجزء 4 — كتابة سكربتات الطرفية