---
# System prepended metadata

title: Linux Networking Commands

---

# Linux Networking Commands

* `hostname`
* `ifconfig`
* `ip addr show`
* `ip addr add IP-Address dev eth1` : Add a temporary IP address to interface eth1
* `netstat -pnltu` : Display all listening port
* `whois domainname` : Display more information about any domain
* `dig domainname` : Display DNS information of any domain
* `host domainname` : Perform an IP lookup for a domain
