$ curl cheat.sh/
# iw
# Show and manipulate wireless devices.
# More information: <https://manned.org/iw>.

# Scan for available wireless networks:
iw dev wlp scan

# Join an open wireless network:
iw dev wlp connect SSID

# Close the current connection:
iw dev wlp disconnect

# Show information about the current connection:
iw dev wlp link

$
Follow @igor_chubin cheat.sh tldr