void main() { char command[100]; printf("Welcome to MyOS! Type 'help' for a list of commands.\n"); while (1) { printf("> "); gets(command); if (strcmp(command, "help") == 0) { printf("Available commands: help, exit\n"); } else if (strcmp(command, "exit") == 0) { break; } else { printf("Unknown command: %s\n", command); } } }