What an Operating System Does and What to Learn First
An operating system coordinates hardware and provides services that applications use to run. To study one, follow the path of a task: how a process starts, what resources it needs, and where it stores its data. Processes, resources, and storage are central concepts for understanding how an operating system works.
This guide is for students beginning to study computer science. It focuses on processes, memory, and file systems, using UNIX/Linux and Windows as environments for comparison. It is not a complete system-administration manual or an exhaustive reference to programming interfaces: specific documentation and commands depend on the version and system in use.
The recommended progression is straightforward: first identify the resources the system manages; then study processes and files; finally, examine how applications interact with those resources. The path moves from general concepts to system calls and synchronization, topics found in university operating-systems courses.
Processes: Programs in Execution
A program stored on disk is different from a process: a process is a running instance, with its own state and associated resources. The operating system manages its execution and allocates processor time among active tasks. That is why several applications can appear to run simultaneously even when they share the same physical resources. The distinction between a program and a process is a useful foundation for interpreting an activity monitor.
When studying processes, focus on three actions: creation, execution, and termination. It is also important to distinguish a process from a thread: a process can contain multiple threads of execution that share some of its resources. Later exercises cover communication and synchronization; for now, it is enough to understand that execution order can affect the outcome when multiple tasks access shared data.
Exercise: Study Processes
Consult your course materials on process identification, execution, and termination. The University of Salamanca’s Operating Systems II course guide includes these topics in its UNIX content and also covers processes and threads in Win32. The UNED course guide for Advanced Operating Systems studies UNIX-based systems, DOS, and Windows.
Memory: Workspace and Limits
Main memory holds the data and instructions processes need while they run. The operating system manages its use so that different programs can work without treating memory as an uncontrolled shared space. Virtual memory gives each process an organized view of addresses; it does not mean that an unlimited amount of RAM is available, and it can rely on secondary storage with different characteristics. Virtual memory and physical memory are not the same.
For students, it is important to understand that an application can allocate, use, and release memory while the system manages the resources. Memory and processes are studied together in university operating-systems courses; analyzing them helps explain how an execution environment is organized and used.
Exercise: Relate Workload and Response
Open an application you use regularly and check its memory usage in the system tool. Then open a second application and check again. Note what changed, and avoid comparing different computers or systems as though the measurements were universal: results depend on workload, version, and configuration.
Files and Directories: Organizing Data
A file system organizes names, directories, and persistent data on a storage device. In everyday use, it lets you create, view, rename, and delete files; internally, the operating system and volume format determine how they are represented and managed. A path indicates the location of a file or directory.
UNIX, Linux, and Windows are distinct environments that can be studied through their internals, system calls, and commands. The UNED course guide for Advanced Operating Systems covers UNIX-based systems, DOS, and Windows; the University of Salamanca’s Operating Systems II guide includes material on file systems in UNIX and Windows. Comparisons depend on the system being studied and the tools it provides.
Exercise: Create a Practice Folder
Create a folder named practicas-so in your personal workspace and save a short text file in it. Check the location, rename the file, and open it again. If you practice with commands, first consult the help for the tool on your system; work in a folder of your own and do not run deletion commands on paths you have not checked.
UNIX/Linux vs. Windows: Compare Without Oversimplifying
UNIX/Linux and Windows provide services for running applications and managing resources, but their interfaces, tools, and conventions are not identical. In an introductory course, the most useful comparison is practical: observe how processes are inspected, how paths are written, and where each environment’s tools are found. The shared idea matters more than memorizing equivalent commands.
The University of Salamanca’s Operating Systems II course covers processes, files, and memory in UNIX and Win32. The UNED guide for Advanced Operating Systems studies UNIX-based systems—including BSD, System V, Solaris, and Linux—as well as DOS and Windows. Academic courses cover these environments through their internal characteristics, system calls, and commands.
| Concept | What to observe | Practical precaution |
|---|---|---|
| Processes | Name, identifier, and activity | Do not terminate unfamiliar processes |
| Memory | Usage associated with applications | |
| Files | Path, name, and permissions | Check the location before modifying or deleting files |
The most useful comparison is one tied to a specific task. For a programming exercise, consult the documentation for the API and operating system you have chosen; for organizing files, start with the environment’s visible tools. Do not assume a command learned in one terminal works the same way in another.
Study Plan and Practical Limits
A short sequence helps consolidate the concepts: identify resources; observe processes; relate memory to applications; practice paths and file operations; and only then move on to interprocess communication, synchronization, and system calls. This order takes you from observation to internal mechanisms without jumping straight into low-level exercises. Each step adds a question you can investigate about what the system does.
University course guides provide a map of topics and prerequisites, but they apply to specific courses and academic years. For example, the University of Salamanca’s Operating Systems II course recommends prior knowledge of programming and shell use, and includes practical work in UNIX/Linux and Win32. The UNED public guide for Advanced Operating Systems describes the study of UNIX-based systems, DOS, and Windows, along with system calls and commands. These are not universal requirements for every student; they describe those particular programs.
When doing exercises, use a folder that contains no important data, consult each tool’s local help, and avoid elevated privileges unless an activity requires them and explains why. Start with reversible operations and confirm each path before changing data.