คำสั่ง Linux พื้นฐาน เทียบกับ Dos

 

C:\APPL>COPY JOE.TXT JOE.DOC
C:\APPL>COPY *.* TOTAL
C:\APPL>COPY FRACTALS.DOC PRN 
C:\APPL>DEL TEMP
C:\APPL>DEL *.BAK
C:\APPL>MOVE PAPER.TXT TMP\
C:\APPL>REN PAPER.TXT PAPER.ASC
C:\APPL>PRINT LETTER.TXT
C:\APPL>TYPE LETTER.TXT
C:\APPL>TYPE LETTER.TXT 
C:\APPL>TYPE LETTER.TXT > NUL
n/a
n/a

C:\>DELTREE TEMP 
C:\>MD TEMP 
C:\>RD TEMP
C:\>CD TEMP

 

$ cp joe.txt joe.doc
$ cat * > total
$ lpr fractals.doc
$ rm temp
$ rm *~
$ mv paper.txt tmp/
$ mv paper.txt paper.asc
$ lpr letter.txt
$ more letter.txt
$ less letter.txt
$ cat letter.txt > /dev/null
$ more *.txt *.asc
$ cat section*.txt | less

$ rm -rf temp
$ mkdir temp
$ rmdir temp
$ cd temp