> For the complete documentation index, see [llms.txt](https://writeups.cavel-security.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://writeups.cavel-security.com/tcm-security-notes/tcm-security-notes/common-network-commands.md).

# Common Network Commands

**ifconfig iwconfig** (wireless)

ifconfig is becoming deprecated the new and improved version is **ip** ip n (arp table) ip r (routing table)

**arp** associate IP addresses with MAC addresses  After I pinged the kali box using my macos machine, my macos machine's IP is now listed when we used arp -a

**netstat** shows you active connections running on your machine

Comes in handy to see if a machine is talking to somebody else

**route** this command prints out your routing table
