CompTIA Tech+ (FC0-U71): Operating Systems, File Systems and File Management
An operating system (OS) is the software that manages a device's hardware and gives applications a common, safe way to use it — Windows, macOS, Linux, Android and iOS are all operating systems. This CompTIA Tech+ lesson covers objectives 3.1 and 3.2: what an OS is for and which jobs it performs, the four OS types, command-line and graphical interfaces, and the parts of an OS you work with every day — file systems, files and folders, extensions, naming rules, compression, encryption, permissions, attributes, processes, services, drivers and the built-in system utilities.
On this page10 sections
- What an operating system does: the interface between applications and hardware
- The OS management functions
- OS types: mobile, desktop/workstation, server and embedded
- Interfaces: console/command line vs graphical user interface
- File systems: NTFS, FAT32, exFAT, ext4 and APFS
- Files, folders and file management
- File types and extensions
- Compression and encryption
- Permissions, attributes and properties
- Processes, services, drivers and system utilities
- Explain how the operating system sits between applications and hardware, and name its management functions: disk, task/process, application and device management, and access control.
- Choose the right OS type — mobile, desktop/workstation, server or embedded — for a device or organisation.
- Compare NTFS, FAT32, exFAT, ext4 and APFS by features, file-size limits and which operating systems can read and write them.
- Manage files and folders: paths, copying versus moving, naming restrictions, and recognising file types by their extensions, including double-extension disguises.
- Pick between compression and encryption, and between file-level and full-disk encryption, for a stated need.
- Apply least privilege with file permissions, and distinguish permissions from file attributes such as read-only and hidden.
- Tell processes, services, startup apps and drivers apart, and match each built-in utility (Task Manager, Device Manager, Disk Cleanup, Disk Management) to its job.
What an operating system does: the interface between applications and hardware
The operating system is the middle layer between applications and hardware: applications ask the OS for what they need (open a file, play a sound, draw a window, send data over the network), and the OS does the hardware-specific work. This makes software portable: a program built for an OS works across the wide range of hardware that OS supports, because the OS — through each device's driver — hides the differences between one manufacturer's component and another's.
The OS is not the first software to run. When a computer powers on, the firmware on the motherboard (BIOS or UEFI) tests the hardware (the power-on self-test) and then hands control to the OS loader. From then on the OS is in charge of the hardware, and applications reach the hardware only through the OS. Applications such as word processors and browsers run on top of the OS; they are not part of it.
| Layer | Example | Job |
|---|---|---|
| Applications | Browser, game, spreadsheet | Do the user's work; request resources from the OS |
| Operating system | Windows, macOS, Linux, Android, iOS | Manage hardware, files, programs and users; provide common services to apps |
| Drivers | Graphics, printer, Wi-Fi drivers | Translate OS requests into commands a specific device understands |
| Firmware | BIOS/UEFI | Start and test the hardware, then hand over to the OS |
| Hardware | CPU, RAM, storage, devices | Do the physical work |
The OS management functions
An OS performs five management jobs named in the objectives, and each one answers a different question. When a scenario describes something the OS is doing, identify which question it answers.
| Function | Question it answers | Examples |
|---|---|---|
| Disk management | How is storage prepared and organised? | Partitioning a drive, creating and resizing volumes, formatting with a file system, tracking where each file's data sits |
| Task and process management | How are CPU time and memory shared among running programs? | Scheduling processes so several apps run at once, allocating and freeing RAM, ending a frozen program |
| Application management | Which programs are installed, and are they current? | Installing, updating and removing software, app stores, checking an app is compatible |
| Device management | How does the OS use hardware? | Detecting new devices (plug and play), loading drivers, sending print jobs, managing displays and USB devices |
| Access control | Who is this user, and what may they do? | Sign-in (authentication), user accounts, file and folder permissions, administrator rights |
Two pairs are easy to confuse. Application management deals with programs as installed software (install, update, uninstall); process management deals with programs while they are running (sharing the CPU and memory). Device management controls hardware; access control controls people — requiring an administrator password before new software can be installed is access control.
OS types: mobile, desktop/workstation, server and embedded
Operating systems come in four types, and the right one depends on the device and on who it serves. A mobile OS (Android, iOS, iPadOS) runs smartphones and tablets for one user, with touch input, an app store and strong battery management. A desktop/workstation OS (Windows, macOS, desktop Linux distributions, ChromeOS) is a general-purpose system for one person at a computer running many applications. A server OS (Windows Server, server Linux distributions) provides shared resources — files, user accounts and sign-ins, websites, databases, email — to many clients over a network, and is built for reliability and remote management. An embedded OS is built into a dedicated device to run one fixed set of functions on limited hardware: thermostats, appliance control panels, printers, routers, cameras, car systems and medical devices.
| OS type | Serves | Typical devices |
|---|---|---|
| Mobile | One user, many installable apps, on the move | Smartphones, tablets |
| Desktop/workstation | One user at a computer, general-purpose software | Desktops, laptops, workstations |
| Server | Many users and computers over a network | File, account, web, database and email servers |
| Embedded | One dedicated device doing a fixed job | Printers, routers, smart TVs, car systems, medical and industrial devices |
The deciding questions are how many people the system serves (one, or many over a network) and whether it is a general platform for installable apps or runs a fixed job on a dedicated device. Users rarely interact with an embedded OS directly and usually cannot install their own apps on it.
Interfaces: console/command line vs graphical user interface
An OS offers two kinds of interface: a command-line interface (CLI), where you type text commands at a console, and a graphical user interface (GUI), where you use windows, icons, menus and a pointer or touch. Examples of command lines are Windows Command Prompt and PowerShell, and the Terminal on macOS and Linux (running a shell such as bash or zsh). The GUI is the desktop you click through — File Explorer, Finder, the Settings app.
| Command line (CLI) | Graphical (GUI) | |
|---|---|---|
| How you work | Type commands and read text output | Point, click, tap and drag |
| Strengths | Fast for experts, repeatable, easy to script and automate, uses few resources, works over a text-only remote connection | Easy to learn, discoverable, visual feedback |
| Weaknesses | Must know or look up the commands; mistakes are easy to make | Slower for repetitive tasks; needs a desktop environment and more resources |
Many servers are installed without a desktop environment to save resources and reduce what can be attacked. On such a server there is no graphical desktop to work in, so the administrator manages it from the console or a remote command line; a remote session, if one is allowed, simply opens a command prompt rather than a desktop.
File systems: NTFS, FAT32, exFAT, ext4 and APFS
A file system is the method an OS uses to organise and track files on a storage volume, and you choose one when you format a drive; the choice decides which features you get and which operating systems can use the drive. The five to know, plus the older Mac format they are often compared with:
| File system | Native home | Key characteristics | Compatibility |
|---|---|---|---|
| NTFS | Windows | Per-user permissions, file-level encryption (EFS), compression, journaling for recovery, very large files and volumes | macOS reads NTFS but cannot write to it without extra software; Linux support varies |
| FAT32 | Older removable media | Simple and very widely supported; no permissions or encryption; each file is limited to 4 GB | Read and written by almost everything: Windows, macOS, Linux, cameras, game consoles |
| exFAT | Flash drives and memory cards | Designed for removable media; supports very large files; no permissions or encryption | Read and written natively by Windows and macOS (and current Linux) |
| ext4 | Linux | Linux permissions, journaling, large files | Windows and macOS cannot use it natively |
| APFS | macOS (and iOS) | Optimised for SSDs, built-in encryption, snapshots | Windows cannot read or write it natively |
| HFS Plus (Mac OS Extended) | Older macOS | The Mac file system before APFS; journaling, but designed for spinning hard drives rather than SSDs | Current macOS still reads and writes it; like APFS, Windows cannot read or write it natively |
Choose by asking two things: which operating systems and devices must read and write the drive, and which features or file sizes it needs. Both Mac file systems, APFS and the older HFS Plus, are poor choices for a drive that must also work on Windows PCs. A drive used by only one OS can take that OS's native file system and its features — a Linux server's data disk is normally ext4. A drive that moves between different systems needs a format every one of them supports, and the FAT32 4 GB per-file limit matters whenever single files such as videos or disk images are large. A camera's memory card, for example, is formatted FAT32 or exFAT, whichever the camera accepts.
Files, folders and file management
File management is organising, finding, copying, moving, renaming and deleting files, and folders (directories) are the containers that make it possible. Folders nest inside other folders to form a tree that starts at the root of a drive. A file's path describes its location in that tree: on Windows a path starts with a drive letter and uses backslashes (C:\Users\Sam\Documents\report.docx); on macOS and Linux paths start at / and use forward slashes (/Users/sam/Documents/report.docx). File Explorer (Windows) and Finder (macOS) are the GUI file managers; the command line does the same jobs with commands.
- Copy creates a second, independent file; the original stays where it was.
- Move relocates the file; it no longer exists in the old location. Cut and paste is a move.
- Rename changes the name (and, if you change the extension, how the OS treats the file).
- Delete usually sends the file to the Recycle Bin (Windows) or Trash (macOS), from which it can be restored until emptied.
Good practice is a consistent folder structure (by project, year or subject), clear descriptive names, and keeping personal files in the user's own folders (Documents, Pictures, Downloads) so permissions and backups cover them.
Naming restrictions
Every OS reserves some characters. Windows file and folder names cannot contain \ / : * ? " < > |, because those characters already mean something in paths and commands (the colon follows a drive letter, the slashes separate folders, * and ? are wildcards). Windows also reserves device names such as CON, PRN, AUX, NUL, COM1 and LPT1, and very long full paths can cause problems in older software. Spaces, digits, hyphens and periods are allowed. Linux forbids the forward slash (it separates folders); macOS reserves it at the file-system level too, and the Finder rejects the colon. Linux names are case-sensitive, so Report.txt and report.txt are different files there.
File types and extensions
A file extension is the set of characters after the last period in a file name, and the OS uses it to decide what type of file it is and which program opens it. Common extensions:
| Extension | File type |
|---|---|
| .txt | Plain text, no formatting or structure |
| .csv | Comma-separated values: plain-text table data, one row per line, values separated by commas — imports into almost any program |
| .docx / .xlsx / .pptx | Word document / Excel workbook / PowerPoint presentation |
| Portable Document Format: a fixed-layout document | |
| .jpg / .png / .gif | Images |
| .mp3 / .mp4 | Audio / video |
| .zip | Compressed archive |
| .exe / .msi / .bat | Windows executable program / installer package / batch script — these run when opened |
| .lnk | Windows shortcut pointing to another item |
Windows hides known extensions by default, which attackers exploit with double extensions: a file named statement.docx.exe displays as statement.docx, but the OS goes by the last extension, so it is a program that runs when opened. Showing file extensions in File Explorer makes such disguises visible. Renaming an extension does not convert a file's contents; it only changes which program the OS tries to open it with.
Compression and encryption
Compression makes data take up less space, and archive tools also bundle many files into one file; encryption makes data unreadable to anyone without the right key. They solve different problems: compress to save space or to bundle files for storage and transfer; encrypt to keep data confidential.
Compression is either lossless — the original is restored exactly, as with .zip archives and NTFS compression, required for documents and programs — or lossy, which discards detail people barely notice to shrink files much further, as with JPEG photos, MP3 audio and MP4 video. Because JPEG, MP3 and MP4 files are already compressed, zipping them saves very little space.
Encryption comes in two scopes, and the threat decides which you need:
| File-level encryption | Full-disk encryption | |
|---|---|---|
| Examples | EFS (Encrypting File System) on NTFS, Windows Pro and higher | BitLocker (Windows), FileVault (macOS) |
| What it covers | Chosen files or folders | The whole drive, including the OS and temporary files |
| Protects against | Other users who sign in to the same running computer — the encryption is tied to the owner's account | A stolen or lost device, or a drive removed and read elsewhere |
| Does not protect against | Theft as fully as full-disk encryption, because the rest of the drive is readable | Other users of the same PC once it has started up — the drive is unlocked for every account that signs in |
Permissions, attributes and properties
Permissions decide which users may do what with a file or folder; attributes are flags stored with the file that apply to everyone; properties describe the file. Permissions are an access-control feature, and the rule for setting them is least privilege: give each user the smallest permission that lets them do their job.
| NTFS permission | Allows |
|---|---|
| List folder contents | See what is in a folder |
| Read | Open and view files and their attributes; no changes |
| Read & execute | Read, plus run programs and scripts |
| Write | Create files and change their contents |
| Modify | Read, write, change and save, and delete — but not change permissions |
| Full control | Everything, including changing permissions and taking ownership |
So view-only access is Read. Saving edits to existing documents in practice usually needs Modify rather than Write alone, because many applications save by writing a temporary file and then deleting or replacing the original, which requires delete rights. Full control adds changing permissions and taking ownership, which few users need. Linux and macOS use the same idea with three basic permissions — read (r), write (w) and execute (x) — set for the owner, the group and everyone else.
| Attribute | Effect |
|---|---|
| Read-only | The file opens but changes cannot be saved over it |
| Hidden | The file is left out of normal folder views; anyone who shows hidden items can still open it |
| System | Marks a file the OS needs; usually hidden too |
| Archive | Marks a file as changed since the last backup, so backup software knows to copy it |
| Compressed / Encrypted (NTFS advanced attributes) | Store the file compressed, or encrypted with EFS — one or the other, not both |
Properties are what the Properties (Windows) or Get Info (macOS) window shows: name, type, location, size and size on disk, dates created, modified and accessed, owner, and — on the Security tab — the permissions. Attributes are set from the same window.
Processes, services, drivers and system utilities
A process is a program that is currently running, with its own memory and an ID number; one application can run several processes. A service (called a daemon on Linux and macOS) is a background program with no window that the OS can start at boot, before anyone signs in, and that keeps running regardless of which user is signed in; a service can be set to start automatically, manually or not at all, and to restart itself if it stops. A startup app is different: it launches when a particular user signs in and closes when that user signs out. A driver is software that lets the OS communicate with a specific hardware device.
| Starts | Window? | After the user signs out | |
|---|---|---|---|
| User process / app | When the user opens it | Usually | Closes |
| Startup app | When the user signs in | Often a tray icon | Closes |
| Service | At boot or on demand, no sign-in needed | No | Keeps running; can auto-restart |
To stop a service permanently, change its startup type to Manual or Disabled in the Services console. Stopping it once does not change how it starts next time, and a service whose recovery options are set to restart can be started again by the OS.
Drivers
New hardware usually needs its driver before the OS can use it fully. Windows ships many built-in (inbox) class drivers that are the correct, fully featured driver for standard devices such as USB storage, keyboards, mice and USB audio, so a Microsoft-supplied driver is often exactly right. Some generic drivers are only a fallback: the Microsoft Basic Display Adapter, for example, appears when the graphics card's own driver is not installed, and the card needs that driver for its full capabilities. Device Manager shows which driver each device uses and flags devices with problems. A driver runs in the OS; firmware runs inside the device itself.
System applications and utilities
| Windows utility | Use it to | macOS equivalent |
|---|---|---|
| Task Manager | See and end running processes, check CPU/memory use, manage startup apps | Activity Monitor |
| Device Manager | See hardware, install, update or roll back drivers, spot devices with problems | System Information (lists hardware only; macOS has no user-facing driver manager) |
| Disk Cleanup | Delete temporary files, leftover update files and other unneeded data to free space (Windows 11 also offers this in Settings > System > Storage) | Storage settings |
| Disk Management | Create, resize, format and assign letters to partitions and volumes | Disk Utility |
| Services | Start, stop and set the startup type of services | — |
| Settings / Control Panel | Configure the system, accounts and devices | System Settings |
Disk Cleanup removes files; Disk Management changes partitions. Neither defragments a drive — that is Defragment and Optimize Drives.
Tip. Objectives 3.1 and 3.2 are tested with short definitions and everyday scenarios: a user, family, teacher or small company describes a need or a symptom, and you identify the OS function, OS type, file system, file extension, permission, attribute, utility or kind of program that fits. Distractors are real items from the same list — other OS functions, other file systems, other attributes, other built-in utilities — so you need to know what each one does and does not do: application versus process management, compression versus encryption, file-level versus full-disk encryption, permissions versus attributes, Read versus Modify versus Full control, NTFS versus FAT32 versus exFAT, services versus startup apps, and drivers versus firmware. Expect questions that combine two requirements, such as compatibility plus a file-size limit, or least privilege plus a specific action.
- The OS sits between applications and hardware: apps ask the OS, and the OS (through drivers) handles each device, so apps run on any supported hardware.
- OS functions: disk management (partitions, formatting), process management (sharing CPU and memory among running programs), application management (install/update/remove), device management (drivers) and access control (who may do what).
- OS types: mobile for phones and tablets, desktop/workstation for one user, server for many users over a network, embedded for dedicated devices such as printers, routers and car systems.
- NTFS for Windows drives needing permissions and encryption; exFAT for large files on removable drives used across operating systems; FAT32 is the most compatible but caps files at 4 GB; ext4 is Linux; APFS (and the older HFS Plus) is macOS, which Windows cannot use natively.
- The last extension is the file's real type: statement.docx.exe is a program. Windows names cannot contain \ / : * ? " < > |.
- Compression saves space (already-compressed JPEG, MP3 and MP4 barely shrink); encryption keeps data unreadable without a key. Full-disk encryption protects a stolen device; file-level encryption protects files from other users of the same PC.
- Use least privilege: Read for view-only, Modify to save changes, Full control only for people who must manage permissions. Read-only and hidden are attributes, not security.
- A service runs in the background without a window, starts before sign-in and survives sign-out; a startup app starts and ends with the user's session.
- A fallback driver such as Microsoft Basic Display Adapter means the graphics card's own driver is not installed. Disk Cleanup frees space; Disk Management manages partitions.
Frequently asked questions
What is the main purpose of an operating system?
An operating system manages a computer's hardware and provides a common way for applications to use it. Applications ask the OS to open files, draw on screen or use the network, and the OS handles the device-specific details through drivers. It also manages storage, running programs, installed software, devices and user access.
What are the four types of operating system in CompTIA Tech+?
The four OS types in the Tech+ objectives are mobile, desktop/workstation, server and embedded. Mobile operating systems run phones and tablets; desktop operating systems run personal computers for one user; server operating systems provide files, accounts and other services to many users over a network; and embedded operating systems run dedicated devices such as thermostats, appliances, printers and car systems.
Which file system works with the most devices?
FAT32 is the most widely supported file system, read and written by Windows, macOS, Linux and many cameras and consoles, but it limits each file to 4 GB. exFAT is supported natively by current Windows, macOS and Linux and handles very large files, though some older devices cannot read it. NTFS, ext4 and APFS are each native to one OS family and add features such as permissions and journaling, but other operating systems support them only partly or not at all.
What is the difference between file-level and full-disk encryption?
File-level encryption, such as EFS on Windows, encrypts chosen files or folders and ties them to the owner's account, so other users signed in to the same computer cannot read them. Full-disk encryption, such as BitLocker or FileVault, encrypts the whole drive and protects it if the device is lost or stolen, but once the computer has started, the drive is readable by every account that signs in.
What is the difference between a service and a process?
A process is any program that is currently running. A service is a particular kind of background program that has no window, can start when the computer boots before anyone signs in, keeps running after users sign out and can restart itself automatically. Every running service has a process, but most processes, such as an open browser, are not services.
What is the difference between file permissions and file attributes?
Permissions control which users or groups can read, change, run or manage a file, so they are an access-control feature applied per user. Attributes are flags stored with the file that apply to everyone, such as read-only (no changes saved), hidden (left out of normal views), system and archive (changed since the last backup). Hiding a file or making it read-only does not stop another user from reading it.
What is a double file extension?
A double extension is a name such as statement.docx.exe, where a harmless-looking type is placed before the real one. The operating system decides a file's type from its last extension, so that file is an executable program. Because Windows hides known extensions by default, it can appear as statement.docx, a common trick in phishing emails. Showing file extensions in File Explorer reveals the real type.
Which characters are not allowed in Windows file names?
Windows file and folder names cannot contain the backslash, forward slash, colon, asterisk, question mark, double quote, less-than sign, greater-than sign or vertical bar, because those characters have special meanings in paths and commands. Reserved device names such as CON, PRN, AUX and NUL are also not allowed. Spaces, digits, hyphens and periods are permitted.
Source
This lesson covers the "Applications and Software" domain of the official FC0-U71 exam guide. Vendors revise their guides — check the source for the current version.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.