Command needed for use in terminal
I use a couple of different linux (ubuntu or derivative) laptops on my employer's network. MAC addresses are used for connecting to the network and I have figured out how to change the MAC on the laptops so I only need to have one MAC registered. I use the following script:
sudo ifconfig wlan0 down && sudo ifconfig wlan0 <new MAC> && sudo ifconfig wlan0 up
I still have to click on the wireless network connection icon to reset the connection after the script runs. To complete the script I'd like to add the command to reset the wireless but cannot figure out what that command is. Could someone tell me the command or tell me how to find out what command the icon runs?
Lovin' the command line!