Soroush Neyestani

Application Developer

Software Developer

Data Scientist

Project Manager

Senior Project Manager

IT Administrator

Fullstack Developer

Android Developer

iOS Developer

System Administration CLI

Service Management
Windows · PowerShell · systemd · launchd

Networking & DNS
Cross-platform network administration

Storage & Filesystems
Disk and filesystem administration

Errata & Corrections
Verified technical corrections

System Administrator's Command Handbook

Windows · PowerShell · Linux · macOS

Command Line, PowerShell, Shell and System Tools

System Administrator's Command Handbook is a practical, cross-platform reference designed for administrators, engineers, and technical professionals who manage systems from the command line.

The project has a history that goes back more than a decade.

Originally created in 2012 and completed in its first final form in 2014, the project began as a practical command reference for system administrators.

In 2026, I reopened the project for a complete technical reconstruction.

The operating-system and command-line administration landscape had changed substantially.

PowerShell had evolved into a major cross-platform automation environment. Windows administration had moved further toward modern PowerShell modules and newer native tooling. Linux distributions had increasingly adopted systemd, NetworkManager, systemd-networkd, nftables, and newer storage and diagnostic workflows. macOS administration had also changed significantly, with its own mature collection of native command-line tools for services, storage, networking, security, configuration, diagnostics, privacy, and device management.

For that reason, simply reprinting or lightly updating the 2014 edition would not have been enough.

The 2026 edition is a reconstruction of the original concept.

The project was restructured, technically reviewed, expanded, and redefined as a modern system-administration handbook covering:

  • Windows native command-line administration
  • Modern PowerShell
  • Linux and Bash
  • systemd and Linux system-management tools
  • macOS command-line administration
  • Cross-platform administrative equivalents

A Task-Oriented Command Reference

The core idea of the handbook is simple:

Administrators usually do not begin with a command name.
They begin with a task.

You may need to:

  • inspect network configuration,
  • identify a process,
  • restart a service,
  • create or modify a user,
  • troubleshoot DNS,
  • inspect disk usage,
  • repair a filesystem,
  • manage encryption,
  • query system logs,
  • configure scheduled tasks,
  • investigate performance,
  • manage certificates,
  • work with Active Directory,
  • transfer files securely,
  • or determine the equivalent of a familiar command on another operating system.

Traditional command references often require the reader to already know which command to search for.

This handbook is designed to make cross-platform comparison and task discovery easier.

Where appropriate, administrative tasks are presented alongside their equivalents across Windows, PowerShell, Linux, and macOS, allowing readers to move between platforms without treating each operating system as an isolated world.


What the Handbook Covers

The handbook is organized around major system-administration domains.

Shell Fundamentals and Automation

Coverage includes shell execution, variables, redirection, pipelines, quoting, environment configuration, scripting concepts, job control, shell history, profiles, command discovery, and automation patterns across CMD, PowerShell, Bash, and zsh.

Files, Directories, Text and Data

The book covers file and directory operations, metadata, links, search, comparison, text processing, archive and compression tools, provider-based file operations, property lists, extended attributes, and structured output such as CSV and JSON.

Users, Groups, Permissions and Identity

Topics include local accounts, groups, ownership, traditional Unix permissions, ACLs, sudo, credential handling, directory services, macOS account administration, secure tokens, quotas, and identity-related tools.

Processes, Services and Sessions

The handbook covers process discovery and control, resource monitoring, service management, background jobs, Linux systemd services, macOS launchd, PowerShell process/service administration, Remote Desktop Services sessions, and user-session management.

Storage, Filesystems and Backup

This area includes disks, partitions, filesystems, volume management, Storage Spaces, LVM, RAID, filesystem creation and repair, disk imaging, APFS, Windows DiskPart, backup and recovery tools, VSS-related administration, and macOS Time Machine administration.

Networking, DNS and Remote Administration

Coverage includes interface configuration, routing, DNS, ARP, TCP/UDP diagnostics, sockets, packet capture, firewall-related networking tools, wireless administration, SMB, SSH, SCP, SFTP, rsync, PowerShell Remoting, and remote troubleshooting.

Software, Packages, Updates and Deployment

The handbook covers Linux package managers, Windows package and deployment tools, PowerShell modules, Windows Installer, Windows Server roles and features, macOS installers, package inspection, and system software updates.

Logs, Performance, Inventory and Diagnostics

Topics include system and application logs, Windows Event Log, journalctl, performance counters, CPU and memory tools, I/O monitoring, kernel and hardware inventory, system information, tracing, diagnostic collection, and platform-native troubleshooting utilities.

Security, PKI, Encryption and Access Control

The security section includes BitLocker, FileVault, certificate and PKI utilities, OpenSSL, Windows Defender, Windows Firewall, Linux firewall frameworks, SELinux, AppArmor, capabilities, code signing, Gatekeeper, Keychain administration, TPM-related tools, and macOS privacy/security utilities.

Scheduling and System Time

Coverage includes cron, crontab, systemd-run, task scheduling, timeout/sleep utilities, date and time configuration, hardware clocks, and related automation mechanisms.

Active Directory, Group Policy and Enterprise Administration

The handbook includes administrative tooling for Active Directory objects, domain services, replication, domain diagnostics, Group Policy-related maintenance, directory import/export, permissions, topology, and other Windows enterprise-management tasks.

Native macOS Administration

macOS is treated as a first-class administrative platform rather than an appendix.

Native tools covered include areas such as:

  • launchctl
  • diskutil
  • networksetup
  • softwareupdate
  • system_profiler
  • scutil
  • security
  • defaults
  • dscl
  • profiles
  • pmset
  • tmutil
  • log
  • plutil
  • codesign
  • xattr
  • spctl
  • mdutil
  • fdesetup

and other native system-management utilities.


More Than Command Syntax

A useful administrative reference needs more than a command name and a syntax line.

Depending on the command or tool, entries can include:

  • Purpose and administrative context
  • Syntax and invocation patterns
  • Practical administrator examples
  • Privilege requirements
  • Operational guidance
  • Safety considerations
  • Version and platform notes
  • Cross-platform equivalents
  • Authoritative documentation references
  • Tool lifecycle status

The lifecycle model is especially important.

Commands and utilities can be marked or discussed as:

  • Current
  • Legacy
  • Deprecated
  • Removed

This allows the reader to distinguish between a tool that still exists and a tool that should actually be chosen for a modern production workflow.


Cross-Platform by Design

One of the central goals of the 2026 reconstruction was to eliminate the artificial separation between operating systems.

A system administrator may work with Windows endpoints, Linux servers, macOS workstations, PowerShell automation, SSH sessions, cloud-hosted virtual machines, and on-premises infrastructure during the same working day.

The handbook therefore emphasizes equivalent administrative concepts.

For example, the reader can move from the concept of:

  • service management,
  • user administration,
  • routing,
  • process inspection,
  • storage management,
  • DNS troubleshooting,
  • software installation,
  • logging,
  • or remote administration

to the appropriate tool on the target platform.

The objective is not to pretend that the platforms are identical.

It is to make their administrative models comparable.


Designed for Fast Lookup

The handbook is intended to work both as a learning resource and as a desk reference.

Its structure includes:

  • task-oriented chapters,
  • platform-specific command entries,
  • cross-platform quick-reference sections,
  • detailed table of contents entries,
  • command-oriented navigation,
  • and an A–Z reference/index structure.

This makes it possible to approach the book in several ways:

  1. Start with an administrative task.
  2. Browse a platform-specific section.
  3. Search for a known command.
  4. Compare equivalents across operating systems.
  5. Use the book as a quick production-side reference.

Official Public Companion Repository

The handbook is supported by an official public companion repository on GitHub.

The repository is not a public copy of the book manuscript. Instead, it provides a continuously maintainable technical layer around the printed and digital editions.

It includes:

  • Cross-platform quick references
  • Verified errata and technical corrections
  • Post-publication platform updates
  • Selected administrative examples
  • Windows, PowerShell, Linux, and macOS update notes
  • Language-specific companion resources
  • Technical contribution and correction workflows

This is particularly important for a system-administration handbook because operating systems and administrative tools continue to evolve after a book is published.

Commands may become deprecated, default behavior may change, new tools may replace older utilities, and platform-specific recommendations may evolve.

The companion repository provides a public location where these changes can be documented without requiring readers to wait for a future print edition.

Current Quick References

Available companion material currently includes:

  • Service Management
  • Networking and DNS
  • Storage and Filesystems
  • Processes and Diagnostics
  • Users and Permissions
  • Logs and Diagnostics
  • Security and Access Control

GitHub

Official Repository:

https://github.com/soroushneyestani/system-administrators-command-handbook

Readers can also use the repository to report possible technical errors or platform changes through the project's structured issue-reporting process.


Three Language Editions

The reconstructed handbook is being prepared in three languages:

  • English
  • German / Deutsch
  • Persian / فارسی

Each edition follows the same underlying technical architecture while being localized for its target language.

The English edition serves as the canonical technical master, with the German and Persian editions aligned to the same command structure and administrative concepts.


From 2012 to 2026

The history of this project is an important part of what it has become.

2012 — Initial Version

The first version of the command-reference project was created.

2014 — Original Final Edition

The original project reached its completed form based on the command-line administration landscape of that period.

2026 — Reconstruction

Instead of releasing the old work again, the project was reopened and rebuilt.

The new edition was restructured around current system-administration practices, modern tools, cross-platform workflows, technical status information, safety considerations, and a much broader Windows/Linux/macOS scope.

This makes the 2026 edition less a “new version” of the old book and more a re-engineering of the original idea.

The original objective remains:

Make command-line system administration faster to navigate and easier to understand.

But the implementation has been redesigned for the systems administrators actually manage today.


Who Is It For?

The handbook is designed for:

  • System Administrators
  • IT Administrators
  • Infrastructure Engineers
  • System Engineers
  • DevOps Engineers
  • Network Administrators
  • Support and Operations Engineers
  • Security-minded administrators
  • Students preparing for infrastructure roles
  • Developers who regularly work with operating-system administration
  • Professionals moving between Windows, Linux, and macOS environments

It can also serve as a reference for experienced administrators who already know many of the tools but want a single place to compare syntax, equivalents, status, and administrative context.


About the Author

Soroush Neyestani

Software developer, data scientist, and IT professional working across software engineering, system administration, automation, and infrastructure-related technologies.

This handbook represents the reconstruction of a system-administration reference project originally started in 2012.


Publication & Project Status

The reconstructed book editions are currently being prepared for public release.

Languages: English · Deutsch · فارسی
Platforms covered: Windows · PowerShell · Linux · macOS
Edition: First reconstructed public edition, 2026

Book Editions

Coming Soon

Publication and availability information for the English, German, and Persian editions will be announced when the release process is finalized.

Online Companion

The official public companion repository is already available on GitHub and will continue to provide technical references, corrections, errata, and post-publication platform updates.

GitHub:
https://github.com/soroushneyestani/system-administrators-command-handbook


Short Positioning Statement

One task. Three operating systems. One command reference.

The book editions are coming soon.

Until then, the public companion repository is available for technical references, project updates, and verified corrections.

System Administrator's Command Handbook brings Windows, PowerShell, Linux, and macOS administration together in a single practical reference designed for real-world system-management work.