| Purpose of Command | Linux | Windows |
|---|---|---|
| Name of current user | whoami | whoami |
| Operating system | uname -a | ver |
| Network configuration | ifconfig | ipconfig /all |
| Network connections | netstat -an | netstat -an |
| Running processes | ps -ef | tasklist |
| Identify the location (and existence of executables) | which | where |
| Download file | wget | (new-object System.Net.WebClient).DownloadFile($url, $path) |
| Sleep/timeout | sleep | Use ping or timeout in batch file |
| Current directory | pwd | dir |