Here's a quick translation dictionary between Windows and Unix shell commands. Remember that Windows separates path elements with \, while Unix uses /. Remember also that Windows has different directory trees, one for each drive letter. Unix has only one tree.

Basic Shell Commands
Windows Unix Summary Ex (Windows) Ex (Unix)
dir ls list contents of current directory C:> dir $ ls
cd pwd display current directory C:> cd $ pwd
cd path cd path change current directory C:> cd \Users\m159999 $ cd /home/m159999
copy path1 path2 cp path1 path2 copy file path1 to name/location path2 C:> copy foo.txt bar.txt $ cp foo.txt bar.txt
move path path mv path path move file path1 to name/location path2 C:> move foo.txt ..\backup\ $ mv foo.txt ../backup/
del path rm path delete file path C:> del foo.txt $ rm foo.txt
rmdir path rmdir path delete folder/directory path C:> rmdir images $ rmdir images
mkdir path mkdir path create folder/directory path C:> mkdir images $ mkdir images
type path cat path print file path to screen C:> type index.html $ cat index.html
Notepad path gedit path
nano path
Open file path in a text editor
(nano doesn't require the GUI)
C:> Notepad foo.txt
$ gedit foo.txt
$ nano foo.txt
whoami whoami Tells the username for the account that is executing the command. C:> whoami $ whoami

Basic Networking Tools
Tool Summary Examples
ssh Open shell on remote UNIX host securely. $ ssh
rdesktop Open desktop on remote Windows host securely. $ rdesktop
ping Check whether host with name/IPAddess is alive $ ping
trace[route/rt] Determine route taken by packets to given host $ traceroute
nslookup Translates domain names to IP addresses and vice versa
Optional second argument specifies what nameserver to use.
C:> nslookup
$ nslookup
Displays information about current network settings
ipconfig is for Windows, ifconfig is for Unix.
C:> ipconfig
$ ifconfig
netstat Displays information on current port usage (-a shows "all") $ netstat -a
nc Netcat - lets you send and recieve tcp/udp traffic $ nc 80
hostname Tells you the name of the "host" (i.e. computer) that's executing the command. $ hostname