השלל והאותת
עמוד זה דורש דפדפן עדכני (תומך ב-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".