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; Fedora משתמשת בdnf; משתמשי macOS מוסיפים לעיתים קרובותbrew:
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, מעט כתיבת שללים כדי לאטומת את הפקודות האהובות עליך. עבודה מצוינת!
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 — אותם כלים לעיבוד קבצים עובדים על כל נתונים.