באַסיק לינוקס קאַמאַנדז אויף לינוקס און ווינדאָוז אַפּערייטינג סיסטעמס
דעם שרייבן איז נוצלעך פֿאַר די וואס ווינטשן צו באַקומען סטאַרטעד מיט לינוקס קאַמאַנדז. Here you will find the most common commands that are used in Linux.
אויב איר וואָלט ווי צו לויפן לינוקס קאַמאַנדז אויף ווינדאָוז דעמאָלט ינסטאַלירן סיגווין. סיגווין is a Linux layer on top of Windows that allows you to use Linux commands in Windows.
אויב איר ינסטאַלירן סיגווין אויף ווינדאָוז דעמאָלט דער ניט ויסצאָלן דרך ווען איר אָנהייבן דעם סיגווין וואָקזאַל וועט זיין:
C:\cygwin64\home\{username}
שאַפֿן נייַ נאָטעפּאַד טעקע לעמאָשל
touch textfile.txt
טוישן Directory
cd {directory path\name}
List directory content in long format ( -l ) including hidden files and directories ( -a )
ls -l -a
ls -al
Order files and directories by the time they were last modified
ls -t
List directory with pause and scrolling
ls -l | less
ווייַזן קראַנט אָרט (print working directory)
pwd
עקסטראַקט לעצטע 100 ווערטער פון אַ טעקע
tail -100 {filename.extension}
עקסטראַקט ערשטער 100 ראָוז פון אַ טעקע
head -100 {filename.extension}
קאָפּיע אַ טעקע
cp {source} {destination}
מאַך אַ טעקע
mv {source} {destination}
מאַכן אַ נייע דירעקטארי
mkdir {new directory name}
ויסמעקן טעקע
rm {filename}
Delete an empty directory
rmdir {directory to remove}
rm -d{directory to remove}
Delete directory and its contents
rm -r {directory to remove}
rm -R{directory to remove}
סאָרט די אינהאַלט פון אַ טעקע
sort {filename to sort}
אַראָפּנעמען דופּליקאַט איינסן אין אַ טעקע
uniq {filename to remove duplicates}
קאָמפּרעס טעקעס
gzip {filename}
קאַמפּרעס Directory
gzip -r {directory name}
ציילן די נומער פון ראָוז און ווערטער אין אַ טעקסט טעקע
wc {filename}
Search text within files for matching string pattern (case sensitive)
grep 'word' {filename}
Search text within files for matching string pattern (case insensitive)
grep -i 'word' {filename}
Search with a directory
grep -R Arctic /home/ccuser/workspace/geography
אַרויסווייַזן צופרידן פון אַ טעקסט טעקע
cat
sed stream editor (similar to find and replace)
sed 's/snow/rain/' forests.txt
טוישן טעקע און Directory פּערמישאַנז
chmod {options} {permissions} {filename}
רשימה פריש קאַמאַנדז געניצט
history
אויטאָמאַטיש פּלאַן טאַסקס
cron
crontab
טוישן טעקע פּערמישאַנז
chmod {permission number} {some file or directory}
chmod 777 /storage
טוישן רעקורסיווע טעקע פּערמישאַנז
chmod -R {permission number} {some file or directory}
