الصدفة والأمر الرئيسي
تحتاج هذه الصفحة إلى متصفح حديث (يدعم SharedArrayBuffer). يرجى تحديث Chrome أو Edge أو Firefox أو Safari إلى أحدث إصدار.
English
The prompt
- When the terminal is ready, it shows a prompt and waits:
student@linux:~$
- That tells you who you are (
student), the computer (linux), and the folder you are in (~, your home). - You type a command after the
$, press Enter, and the computer runs it.

English
Where am I?
- The command
pwdprints your current folder — your "you are here" on the map:
pwd
- Press the ▶ on that example to try it. (
~is short for your home folder,/home/student.)
English
Make the computer talk
echosimply prints back what you type. It is the classic first command:
echo Hello from the shell
- Run it, then try the two tasks below.
English
Common mistakes
- Commands are case-sensitive:
LSis notls. - Press Enter to submit a command; you can also put multiple commands on one line, separated by
;.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
الأمر الرئيسي ينتظر أمراً. اكتب pwd (print working directory) لترى المجلد الذي تتواجد فيه، ثم اضغط Run.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
echo يطبع ما تعطيه له. استخدمه لطباعة كلمة hello.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
يقسم القشرة السطر غير المحاط بعلامات الاقتباس إلى كلمات، لذا يتلقى echo my وgap ويجمعهما بمسافة واحدة. ضع النص بين علامتي اقتباس مزدوجة لبقائه كلمة واحدة: اطبع my gap بثلاث مسافات، باستخدام echo "my gap".