rfkill is a small tool to query the state of the rfkill switches, buttons and subsystem interfaces.