Commands on two lines are two separate commands. Like this:
Code:
sudo iwlist wlan1 scan
Note the result and copy it into your reply; then:
Code:
rfkill list all
Note the result and copy it into your reply. Sorry if I wasn't clear.