diff --git a/knowledge base/iw.md b/knowledge base/iw.md new file mode 100644 index 0000000..2f9ea90 --- /dev/null +++ b/knowledge base/iw.md @@ -0,0 +1,23 @@ +# Iw + +## TL;DR + +```shell +# Scan for available wireless networks. +iw dev wlp scan + +# Join an open wireless network. +iw dev wlp connect SSID + +# Disconnect from the current network. +iw dev wlp disconnect + +# Show information about the current connection. +iw dev wlp link +``` + +## Sources + +- [cheat.sh] + +[cheat.sh]: https://cheat.sh/iw diff --git a/knowledge base/iwlist.md b/knowledge base/iwlist.md new file mode 100644 index 0000000..3054a12 --- /dev/null +++ b/knowledge base/iwlist.md @@ -0,0 +1,10 @@ +# Iwlist + +> Not deprecated, but surpassed many times by [iw]. + +## TL;DR + +```shell +# Scan for networks. +iwlist wlan0 scan +```