# Equivalent Windows and *NIX commands
\*NIX ↔ Windows command equivalencies (more-or-less):
| \*NIX | Windows |
| -----------:|:------------------------------------------------------------------------------------------------------------ |
| [[cat]] | [type](https://superuser.com/questions/434870/what-is-the-windows-equivalent-of-the-unix-command-cat#434876) |
| [[dig]] | [[nslookup]] |
| [[grep]] | [[findstr]] / select |
| ifconfig | [[ipconfig]] |
| ls | [[dir]] |
| [[more]] | more |
| [[netstat]] | [[netstat]] |
| [[ping]] | [[ping]] |
| shutdown | shutdown |
| sleep | timeout |
| [[sudo]] | [[RunAs]] |
| [[tcpdump]] | windump |
| traceroute | tracert |
| wget | wget |
| hostname | hostname |
| [[whoami]] | [[whoami]] |
You can also manipulate command input and output in a similar fashion:
- Redirect to a file: `>`
- Pipe the output of one command into another: `|`
- Run commands in sequence, stopping at the first failure: `&` (Windows) or `&&` (\*NIX)