---
# System prepended metadata

title: Network Command
tags: [Network]

---

---
tags: Network
---

# Network Command

[![hackmd-github-sync-badge](https://hackmd.io/g3LkkuBRTPC07Rgj2nk2_Q/badge)](https://hackmd.io/g3LkkuBRTPC07Rgj2nk2_Q)


```bash
host www.google.com

ping google.com

nslookup www.google.com
```

### 查看網路介面相關
```bash
arp -a
```

### 封包查看
```bash
tcpdump
```

### 安裝 Wireshark
```bash
sudo apt-get install wireshark
```

### 開啟 Wireshark 時要使用管理員權限打開
```bash
sudo wireshark
```