Saturday, November 7, 2009

DOS / UNIX main commands comparison

PurposeDOSUNIX/Linux









.
display list of filesdir/w dirls
.
display contents of filetypecat
.
display file with pausestype filename | moremore
.
copy filecopycp
.
find string in filefindgrep
.
compare filescompdiff
.
rename filerename OR renmv
.
delete fileerase OR delrm
.
delete directoryrmdir OR rdrmdir
.
change file protectionattribchmod
.
create directorymkdir OR mdmkdir
.
change working directorychdir OR cdcd
.
get helphelpman
.
display date and timedate, timedate
.
display free disk spacechkdskdf
.
print fileprintlpr
.
display print queueprintlpq
.
clears screenclsclear
.
closes prompt windowexitexit