Airplane mode usually means turning off all radios (WiFi, Bluetooth, mobile data)
If this is a laptop, it probably has a hardware toggle to turn everything off. Sometimes it's a dedicated button that looks like a radio antenna. And sometimes it's a F1 - F12 button with a second row of blue text that doubles as a hardware function key.
This doesn't answer your question about a command line solution, but it may help.