לינוקס לדוסים

זה היה צריך להגיע מתישהו…

כמישהו ששנא חלונות עוד מגירסת 95, אני זוכר שנשארתי עם דוס הרבה אחרי שכולם שכחו מה זה. בעיקר היה חסר לי היכולת הבסיסית לכתוב סקריפטים (שעובדים) בחלונות. וגם יציבות הייתה חסרה שם.

אז לכל אלו שמקורם בדוס, כמוני, מצורף המילון (שהייתי רוצה שיהיה) המלא דוס-לינוקס.

יבורך האיש שיסדר את הכל לטבלה נורמלית, ויוסיף ויפרט קצת יותר. כאן זה מסודר לפי א"ב של פקודות דוס.

הפקודה בדוס / הפקודה בלינוקס / תיאור קצר

dos command / linux command / short description

attrib / chmod / change file properties

cd, chdir / cd / change working directory

chkdsk / df -h / print disk size, free

choise / read / choise from some options in batch scripts

cls / clear (or Ctrl+L) / clear screen

command (cmd) / bash, sh, csh, tcsh,… / load another shell

copy / cp / copy files

date (and time) / date / change system time

defrag /   / defragment disk. not exist in linux. for more information click here

del (erase) / rm / delete files from disk

deltree / rm -R / delete directory(ies)

dir/w / ls / print a list of files and directories in this directory

dir / ls -l / print a list of files and directories in this directory, with properties

diskcopy / dd / copy one diskette to another

doskey / history (?) alias (?) / (please help me with this description)

dosshell / jobs, fg, bg (?) / (esoteric command)

echo / echo / print messages to screen (in batch scripts)

edit / vi, vim, jpico, nano,… / text editor

exit / exit / exit from shell

expand / gzip, zip, tar,… / expand compressed files

fasthelp, <command>/? / <commad> –help / usage

fc / diff / compare between two files

fdisk / fdisk, sfdisk / manage disk partitions

find / grep, egrep, fgrep / find text in file(s)

for / for / for loop in batch scripts. for in linux have much more than dos' for

format / mkfs / format and create new file system

goto / break(?) function-call(?) / please don't use it. just click here

help / man / help to use commands

if / if / someone?

label, vol / e2label / set/get disk label

mem / free / show memory status

mkdir (md) / mkdir / make directory

more / more, less / print data page by page

move, ren / mv / move files and directories

msd / lshw, lspci, lsmod, lsusb, dmesg,… / print details about your system

path / path / path to executable files

pause / sleep(?) / pause in batch scripts

prompt /    / (?)

rem / # / remarks in batch scripts

rename, ren / mv / rename files

rmdir, rd / rmdir / delete empty directory

scandisk / fsck / file system check. not recommended for mounted drives

set / set, env, setenv / show or manage environment variables

shift / shift / rotate parameters

sort / sort / sort text

subst / ln -s, lndir, mount (umount) / link directory (?)

sys / mkboot, mkbootdisk, syslinux / make device bootable

tree / du / print directory tree

type, copy con: / cat / show file

undelete /    / (?)

unformat /    / (?)

ver / uname / show software version

verify / sync / save buffers to disk, verify write

xcopy / cp -R / copy directories

בונוס:

autoexec.bat / /etc/rc.local / there have a lot of versions to rc.local

device=driver.sys / mount in /etc/fstab / configure more logical drives

files / /proc/sys/fs/file-max / number of maximum open files

lastdrive /   / oops… bill gates and friends…

start (win 9x only) / xdg-open / open file, document or URL with your preferred application

קישורים

מדריך פקודות לינוקס, באתר ג'איה

לינוקס – פקודות וכלים, באתר ITBananas

המרה מדוס ליוניקס (אנגלית)

מערכות הפעלה ופקודות (אנגלית)

שלח מאמר זה באימייל שלח מאמר זה באימייל
הדפס מאמר זה הדפס מאמר זה

11 תגובות ל“לינוקס לדוסים”

  1. מאת חתול:

    השאלה היא מי חוץ ממך עוד זוכר פקודות דוס?

  2. מאת לאה צחור:

    שלחתי לך את זה בטבלה למייל… (קובץ ODT)

  3. מאת tsabar:

    חתול – אמנם מאז שנכנסתי ללינוקס גם אני התחלתי לשכוח דוס. השתמשתי בדוס בעיקר לגיבויים (גוסט). תתפלא, אבל יש עוד מקומות שבהם עובדים עם דוס (גם אם לא באופן קבוע, גם אם רק לדברים מסוימים).
    הסיבה הנוספת שהבאתי את "המילון" היא להקל על אלו שיודעים/זוכרים דוס ורוצים לדעת מהן הפקודות המקבילות בלינוקס.
    לאה – תודה. התכוונתי לטבלה שתפורסם ב-html באיזה אתר. אני לא צריך את הטבלה באופן אישי…

  4. מאת לאה צחור:

    מה הבעיה לעשות קופי פייסט לפה?

  5. מאת tsabar:

    לא נראה לי שוורדפרס באמת תאפשר לי טבלה בתוך הקוד.
    בכל מקרה עוד לא ראיתי טבלה בפוסט תחת וורדפרס.

  6. […] לבקשת צבר (הסברים בפוסט […]

  7. מאת לאה צחור:

    אז מה זה: http://www.tzahor.co.cc/?p=137 ??

  8. מאת Ddorda:

    בועז: אם אני לא טועה אין שום בעיה להכין טבלה דרך וורדפרס, הם לא חוסמים קוד של טבלה..

  9. מאת ניצן:

    סתם בשביל אנקדוטה – הנה לך טבלה בפוסט🙂

    אגב, ל TimyMce יש תמיכה בטבלאות, אפשר להוסיף אותה יחסית בקלות לעורך העשיר ולערוך אותן ישירות.

  10. מאת tsabar:

    תודה חבר'ה.
    כל יום לומדים דברים חדשים. 🙂

  11. מאת tsabar:

    מצאתי!!
    זה מה שחיפשתי
    http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html

השארת תגובה