Appendix Operation DOS/Windows Command Unix/linux Command (case insensitive) (case sensitive) Help about a command /? Or help man Set date date date Set time Time date Copy files Copy cp Move files/directory Move mv Make Directory md mkdir Change Directory Cd cd Remove Directory rd rmdir deltree rm –rf See a file on screen Type cat See a file page by page More more Know about login as Whoami whoami, id Change file modes Attrib chmod Compare two files Comp diff Delete a file Del rm See the directory content Dir ls Rename a file Ren mv Copy files recursively Xcopy /s cp –rp Take backup as Pkzip gzip compressed file Uncompress a compress Pkunzip gunzip file To see the directory Tree tree structure Build a file system Format mkfs Print a file Print /D:\\derver\print_sare files lpr –P printer Lpr –S server –P printer See printing queue Lpq –S server –P printer lpq –P printer Cancel print job lprm –P printer To about a user Finger user@host finger user@host File transfer from remote ftp host ftp host machine sftp sftp2 host rcp scp2 rcp Know the hostname Hostname hostname Remote command Rsh/rexec rsh/rexec execution Login to remote system telnet telnet ssh ssh2 See ip vs. Ethernet address Arp arp Ip configuration of the Ipconfig Ifconfig local system DNS query Nslookup nslookup/ dig Tracing the path of a Pathping traceroute machine> remote networked machine Check whether machine is Ping ping on network Modifying the routing Route route table Kill a process Kill kill