Add correct messages for commands which are not supported on Linux. Refactor functions and information related to host OS capabilities into a separate unit. Fixes #271005