Wednesday, December 3, 2008

Linux vs Windows DOS commands

Here is a comparison between Windows DOS and Linux commands:
Windows DOSLinux/Cygwin
dirls
cdpwd
cd [path](same)
clsclear
copy [old] [new]cp [new] [old]
del [file]rm [file]
move [old] [new]mv [old] [new]
treetree (Linux only)
ls -R
mkdir [dir](same)
rmdir [dir](same)
help [cmd]man [cmd]
type [file]cat [file]
date /t(same without /t)
time /tdate
netstat -an(same Linux only)
netstat -rn(same Linux only)
ipconfig /allifconfig -a
(Linux only)


For more information on Linux commands check out this tutorial or this tutorial (scroll past the ssh stuff).

No comments: