الحصول على المساعدة: man و--help وtldr
تعلّم العثور على الإجابات مباشرةً في الطرفية باستخدام صفحات الدليل، وخيارات المساعدة المدمجة، والأمر tldr.
الحصول على المساعدة: man و--help وtldr درس مجاني في Linux Command Line Mastery على CoddyKit. هذا هو الدرس 4 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Linux Command Line Mastery، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Linux Command Line Mastery 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
You Will Forget Commands
Nobody memorizes every flag. The mark of a confident shell user is knowing how to look things up without leaving the terminal.
The man Command
man opens a command’s manual page — purpose, options, and examples. It’s the authoritative reference shipped with the program itself.
man lsNavigating man Pages
Man pages open in a pager: Space/b to page, /word then n to search, and q to quit.
/recursive (then press Enter, n to jump matches)Reading the SYNOPSIS
Read the SYNOPSIS line for usage: square brackets mean optional, ... means repeatable. Decoding it saves real time.
ls [OPTION]... [FILE]...The --help Flag
For a fast reminder of a command’s flags, use --help (or -h) — quicker than opening the full man page.
grep --helpman Sections
The manual splits into numbered sections: 1 is user commands, 5 is file formats. A name can live in several, like man 5 passwd.
man 5 passwd # the file format, not the commandSearching for a Command
Forgot the command name? apropos (or man -k) searches manual descriptions by keyword to find it.
apropos compressThe tldr Command
Man pages are dense. tldr shows community-written, example-first summaries — perfect when you just want a working command.
tldr tarComparing the Tools
Pick the right tool: man for the full reference, --help for a fast flag reminder, and tldr for copy-paste examples.
Built-in Help for the Shell
Shell built-ins like cd aren’t separate programs, so man cd may fail. In Bash, use help for those.
help cdFinding Where a Command Lives
Confirm a command first: which shows its path, and type tells you if it’s a builtin, alias, or program.
which python3
type cdQuick Check
Test your understanding of getting help.
Recap
You can now find answers in the shell: man for full references, --help for quick reminders, apropos to discover, tldr for examples, help for built-ins.
الأسئلة الشائعة
هل درس «الحصول على المساعدة: man و--help وtldr» مجاني؟
نعم — نص درس «الحصول على المساعدة: man و--help وtldr» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Linux Command Line Mastery، انتقل إلى CoddyKit PRO. تتضمن دورة Linux Command Line Mastery 4 دروس في المجموع.
ماذا ستتعلم في «الحصول على المساعدة: man و--help وtldr»؟
تعلّم العثور على الإجابات مباشرةً في الطرفية باستخدام صفحات الدليل، وخيارات المساعدة المدمجة، والأمر tldr. تتمرن على Linux Command Line Mastery مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Linux Command Line Mastery؟
لا تُشترط خبرة سابقة. Linux Command Line Mastery على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 4 من أصل 4.
كم من الوقت يستغرق درس «الحصول على المساعدة: man و--help وtldr»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Linux Command Line Mastery هذا؟
نعم. كل درس في Linux Command Line Mastery يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- مقدمة إلى Linux Shell
- التنقّل الأساسي: `cd` و`ls` و`pwd`
- إدارة الملفات والأدلة: `mkdir` و`rm` و`cp` و`mv`
- الحصول على المساعدة: man و--help وtldr