Operating Systems

Operating Systems: Windows, Linux, and macOS Administration

An operating system manages hardware resources, provides a runtime environment for applications, and enforces security boundaries between processes and users. Administering an operating system means managing user accounts, file permissions, processes and services, storage, networking configuration, and software installation on Windows, Linux, or macOS.

What an operating system does

The operating system is the software layer between hardware and applications. It manages the CPU scheduler so multiple processes share processing time, controls memory allocation so processes cannot overwrite each other, and abstracts hardware devices through drivers so applications do not need to know the specifics of each piece of hardware. On a server, the OS also handles network stack operations, file system access, and inter-process communication.

From an administration standpoint, the most important concepts are the kernel, processes, the file system, and the security model. The kernel runs with full hardware privileges; user-space processes run with restricted privileges. This separation is fundamental to stability and security: a crashing application should not bring down the system, and a compromised process should not be able to read another user's files.

Windows administration essentials

Windows Server and Windows desktop administration centers on Active Directory for identity and access management, Group Policy for configuration enforcement, and the NTFS file system for storage and permissions. The Microsoft Management Console (MMC) and PowerShell are the primary administrative interfaces. PowerShell has largely replaced the older Command Prompt for scripting and automation because it works with .NET objects rather than plain text, making it far more powerful for complex tasks.

Key administration tasks on Windows include managing local and domain user accounts, configuring NTFS and share permissions, installing and configuring roles and features (such as DNS Server, IIS, or Remote Desktop Services), monitoring the Event Viewer for errors and warnings, and managing Windows Update and patch deployment. Windows Defender and Windows Firewall are built-in security controls that every administrator should understand how to configure.

Linux system administration

Linux distributions share a common kernel and POSIX-compliant shell environment but differ in package management, init system, and default configuration. Debian-based distributions (Ubuntu, Debian) use apt for packages; Red Hat-based distributions (RHEL, Rocky Linux, CentOS Stream, Fedora) use dnf or yum. Most modern distributions use systemd as their init system, which means systemctl is the command for managing services.

Core Linux administration tasks include managing users and groups with useradd, usermod, and passwd; setting file permissions with chmod and chown; managing services with systemctl start/stop/enable/disable; viewing and following logs with journalctl and tail; installing and updating software with the distribution's package manager; and configuring the firewall with firewalld or ufw. SSH is the standard remote access tool, and understanding SSH key-based authentication is essential for any production Linux environment.

macOS in enterprise and professional environments

macOS is built on a Darwin Unix core, which means many Linux command-line concepts transfer directly. Terminal, Homebrew, and the built-in BSD-derived toolset make macOS comfortable for developers and technicians who know Linux. Administration at the enterprise level uses Mobile Device Management (MDM) solutions such as Jamf Pro or Apple Business Manager to deploy configuration profiles, enforce security policies, and push software updates to fleets of macOS devices.

For individual users and small teams, the most relevant macOS administration topics are user account management, FileVault disk encryption, Time Machine backups, the Keychain for credential storage, and macOS System Preferences (or System Settings in newer versions) for network, sharing, and security configuration. macOS shares the POSIX permission model with Linux, so chmod, chown, and ls -l work the same way.

Key concepts

  • + Kernel vs user space: The kernel controls hardware; user-space processes run with restricted privileges enforced by the OS.
  • + Windows Active Directory: Centralizes user accounts, authentication, and Group Policy for Windows domain environments.
  • + PowerShell: The primary Windows scripting and administration tool; works with objects, not just text output.
  • + systemd: The init system on most modern Linux distributions; systemctl manages services and boot targets.
  • + File permissions: Both Windows (NTFS ACLs) and Linux (chmod/chown) control who can read, write, or execute each file.
  • + Package management: Linux distributions use apt (Debian/Ubuntu) or dnf/yum (Red Hat family) to install and update software.

Frequently asked questions

What is the difference between a process and a service?
A process is any running instance of a program. A service (called a daemon on Linux) is a process that runs in the background, typically started at boot, with no interactive user interface. On Windows, services are managed through the Services console or PowerShell. On Linux, they are managed through systemctl with the systemd init system.
How does the Windows registry work?
The Windows registry is a hierarchical database that stores configuration settings for the operating system, hardware, installed software, and user preferences. It is organized into hives such as HKEY_LOCAL_MACHINE (system-wide settings) and HKEY_CURRENT_USER (per-user settings). Administrators edit it with regedit or via Group Policy and PowerShell. Incorrect registry edits can cause system instability, so always back up a key before modifying it.
What does chmod 755 mean in Linux?
chmod 755 sets the permission bits on a file or directory to rwxr-xr-x. The owner can read, write, and execute. Members of the owning group can read and execute but not write. Everyone else can also read and execute. The three digits represent owner, group, and other permissions respectively, with read=4, write=2, execute=1 summed together.
What is a hypervisor and how does it relate to operating systems?
A hypervisor is software that creates and manages virtual machines. A Type 1 hypervisor (such as VMware ESXi or Microsoft Hyper-V) runs directly on bare hardware and hosts guest operating systems above it. A Type 2 hypervisor (such as VirtualBox or VMware Workstation) runs as an application on a host OS. Each virtual machine runs its own complete operating system instance, isolated from the others.
What is the purpose of swap space on Linux?
Swap is disk space used as an overflow when physical RAM is full. When the kernel determines that pages in RAM have not been accessed recently, it can move them to swap, freeing RAM for active processes. Swap prevents out-of-memory crashes on loaded systems, but it is much slower than RAM. Relying heavily on swap indicates the system needs more physical memory.

Related topics

AFFILIATE_SLOT_BOOKS Recommended books on operating systems

Reserved for affiliate links to recommended technical books and study guides. Not yet wired.

AFFILIATE_SLOT_COURSES Online courses for operating systems

Reserved for affiliate links to online learning platforms. Not yet wired.

LEAD_SLOT_NEWSLETTER Get operating systems reference updates

Self-hosted newsletter signup. Not yet wired to an email provider.

Technical Resources publishes vendor-neutral educational information about information technology. It is general reference material, not professional, safety, legal, or warranty advice, and it is not affiliated with, endorsed by, or sponsored by any vendor, certification body, or manufacturer named on the site. Product names, standards, and certification programs are referenced for identification and education only and belong to their respective owners. Technology, standards, exam objectives, and safety guidance change over time, so always verify any decision-critical detail against the current official documentation for your specific hardware, software, standard, or exam before you rely on it. Procedures involving electricity, batteries, or live equipment can be hazardous; follow the manufacturer's instructions and applicable safety codes, and consult a qualified professional when in doubt.