# Display wireless settings of the first wireless adapter
iwconfig wlan0

# Take down / up the wireless adapter
iwconfig wlan0 txpower {on|auto|off}

# Change the mode of the wireless adapter
iwconfig wlan0 mode {managed|ad-hoc|monitor}