What is the terminal command to turn Airplane Mode on/off in Ubuntu?
Is it simply sudo rfkill block all
and sudo rfkill unblock all
? I know that this will disable all wireless modules in the computer, but will this be noticed by the system, so that Airplane Mode is toggled off/on in network settings?