Skip to content · ⁨דלג לתוכן⁩

Wildcards · ⁨מספרי מקום (Wildcards)⁩

English

One command, many files

  • A wildcard is a symbol that stands for "anything". The most common is *.
  • *.txt means "every name ending in .txt". The shell fills in the matches for you:

עברית

פקודה אחת, קבצים רבים

  • סימן כללי הוא סמל המייצג "הכל". הנפוץ ביותר הוא *.
  • *.txt פירושו "כל שם שמסתיים ב-.txt". השלל ממלא את ההתאמות עבורך:
ls *.txt

ls *.txt מתאים לכל שם שמסתיים ב-.txt ומדלף את שאר הקבצים

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP