This document presents a comprehensive solution to an assignment on the fundamentals of operating systems and command-line interfaces (CLI). The assignment covers essential concepts such as the role of operating systems in IoT devices and the differences between Windows and Linux operating systems, including user accounts, task scheduling, and security features. It also delves into BIOS functionalities, batch processing, and the importance of the RIOT OS for IoT. Furthermore, the solution provides detailed answers to practical CLI exercises, including password changes, navigation, file manipulation, and permission management using various Linux commands. The document includes screenshots to illustrate the command execution and expected outcomes, offering a complete guide to understanding and solving the assignment questions. References to academic sources are also provided.