• Home
  • Blog
  • Features
  • Contribute
  • Docs
  • Github
  • Release
    latest v5 v4 v3 v3 (old) v2 and v1
  • Photon OS Documentation v3.0
    • Quick Start Links
    • Overview
      • Introduction to Photon OS
      • Flavours
      • What is New in Photon OS 3.0
    • Installation Guide
      • Downloading Photon OS
      • Upgrading to Photon OS 3.0
      • Build an ISO from the Source Code for Photon OS
        • Folder Layout
        • Build Prerequisites
        • Building the ISO
        • Use the Cached Toolchain and RPMS
        • Use Cached Sources
        • View Build Logs
      • Building Package or Kernel Modules Using a Script
      • Running Photon OS on vSphere
        • Prerequisites for Running Photon OS on vSphere
        • Importing the OVA for Photon OS 3.0
        • Installing the ISO Image for Photon OS 3.0
      • Running Photon OS on Fusion
        • Prerequisites for Running Photon OS on Fusion
        • Importing the OVA for Photon OS 3.0
        • Installing the ISO Image for Photon OS 3.0
      • Running Photon OS on Workstation
        • Prerequisites for Running Photon OS on Workstation
        • Importing the OVA for Photon OS 3.0
        • Installing the ISO Image for Photon OS 3.0
      • Running Photon OS on Amazon Elastic Cloud Compute
        • Prerequisites for Running Photon OS on AWS EC2
        • Set Up Photon OS on EC2
        • Deploy a Containerized Application in Photon OS
        • Launch the Web Server with Cloud-Init
        • Terminate the AMI Instance
      • Running Photon OS on Microsoft Azure
        • Prerequisites for Running Photon OS on Azure
        • Set Up Azure Storage and Uploading the VHD
        • Remove Photon OS From Azure
      • Running Photon OS on Google Compute Engine
        • Prerequisites for Running Photon OS on GCE
        • Installing Photon OS on Google Compute Engine
      • Running Photon OS on Raspberry Pi 3
        • Prerequisites for Running Photon OS on Raspberry Pi 3
        • Installing Photon OS on Raspberry Pi 3
        • Enabling Rpi3 Interfaces using Device Tree
      • Deploying a Containerized Application in Photon OS
      • Compatible Cloud Images
      • Installing Photon OS on Dell Gateways
        • Installing Photon OS on Dell Edge Gateway 300X
        • Installing Photon OS on Dell Edge Gateway 500X
      • Installing and Using Lightwave on Photon OS
        • Installing the Lightwave Server and Configuring It as a Domain Controller on a Photon Image
        • Installing the Lightwave Client on a Photon Image and Joining the Client to a Domain
        • Installing the Photon Management Daemon on a Lightwave Client
        • Remotely Upgrade a Single Photon OS Machine With Lightwave Client and Photon Management Daemon Installed
        • Remotely Upgrade Multiple Photon OS Machines With Lightwave Client and Photon Management Daemon Installed
      • Photon Management Daemon
        • Installing the pmd Package
        • Available APIs
    • Administration Guide
      • Photon OS Packages
        • Examining the Packages in the SPECS Directory on Github
        • Looking at the Differences Between the Minimal and the Full Version
        • The Root Account and the 'sudo' and 'su' Commands
        • Examining Signed Packages
        • Photon OS Package Repositories
        • Building a Package from a Source RPM
        • Compiling C++ Code on the Minimal Version of Photon OS
      • Package Management in Photon OS with `tdnf`
        • Introduction to 'tdnf'
        • Configuration Files and Repositories
        • Adding a New Repository
        • Configure a Repository
        • Adding the Dev Repository to Get New Packages from the GitHub Dev Branch
        • Standard Syntax for tdnf Commands
          • tndf Commands
          • tndf Command Options
      • Managing Services with `systemd`
        • Viewing Services
        • Controlling Services
        • Creating a Startup Service
        • Disabling the Photon OS httpd.service
        • Installing Sendmail
        • Auditing System Events with auditd
        • Analyzing systemd Logs with journalctl
        • Migrating Scripts to systemd
      • Configure Wireless Networking
      • Managing the Network Configuration
        • Commands to Manage Network Service
        • Using the Network Configuration Manager
        • Use `ip` and `ss` Commands
        • Configuring Network Interfaces
        • Setting a Static IP Address
        • Turning Off DHCP
        • Adding a DNS Server
        • Setting Up Networking for Multiple NICs
          • Combining DHCP and Static IP Addresses with IPv4 and IPv6
        • Clearing the Machine ID of a Cloned Instance for DHCP
        • Using Predictable Network Interface Names
        • Inspecting the Status of Network Links with `networkctl`
        • Turning On Network Debugging
        • Mounting a Network File System
        • Network Configuration Manager - C API
        • Network Configuration Manager - Python API
      • Prioritize eth0 Route Over WLAN
      • Cloud-Init on Photon OS
        • Cloud-Init Overview
        • Deploy Photon OS With `cloud-init`
        • Customizing Guest OS using Cloud-Init
        • Creating a Stand-Alone Photon Machine With cloud-init
        • Customizing a Photon OS Machine on EC2
        • Running a Photon OS Machine on GCE
      • Containers
        • Docker Containers
        • Kubernetes
      • Changing the Locale
      • Security Policy
        • Default Firewall Settings
        • Default Permissions and umask
        • Disabling TLS 1.0 to Improve Transport Layer Security
      • Photon RPM OSTree: a simple guide
        • Introduction
        • Installing a host against default server repository
        • Concepts in Action
        • Querying For Commit File and Package Metadata
        • Host Updating Operations
        • Creating a Server
        • Installing a Photon RPM-OStree host against a custom server repository
        • Automatic Updates
        • File Oriented Server Operations
        • Package Oriented Server Operations
        • Remotes
        • Running container applications between bootable images
        • Install or rebase to Photon OS 3.0
    • User Guide
      • Setting Up Network PXE Boot
      • Kickstart Support in Photon OS
      • Packer Examples for Photon OS
      • Kubernetes on Photon OS
        • Prerequisites
        • Running Kubernetes on Photon OS
          • System Information
          • Prepare the Hosts
          • Configure Kubernetes Services on the Master
          • Configure the Kubernetes services on Node
      • Photon NFS Utilities for Mounting Remote File Systems
    • Command-Line Reference
      • Command-line Interfaces
        • Photon Management Daemon Command-line Interface (pmd-cli)
        • Photon Network Manager Command-line Interface (netmgr)
    • Troubleshooting Guide
      • Introduction
        • Systemd and TDNF
        • The Root Account and the `sudo` and `su` Commands
        • Checking the Version and Build Number
        • General Best Practices
        • Photon OS Logs
        • Troubleshooting Progression
      • Solutions to Common Problems
        • Boot in Emergency Mode
        • Resetting a Lost Root Password
        • Fixing Permissions on Network Config Files
        • Permitting Root Login with SSH
        • Fixing Sendmail
      • Photon OS General Troubleshooting
        • Photon Code
        • Package Management
        • Network Configuration
        • Cloud-init
        • Open-vm-tools/Vmtoolsd
      • Troubleshooting Tools
        • Common Tools
        • Troubleshooting Tools Installed by Default
        • Installing Tools from Repositories
        • Linux Troubleshooting Tools
      • Systemd
        • Enabling `systemd` Debug Shell During Boot
        • Troubleshooting Services With 'systemctl`
        • Analyzing System Logs with `journalctl`
        • Inspecting Services with `systemd-analyze`
        • Inspecting Services with `systemd-analyze`systemd
      • Network Troubleshooting
        • Managing the Network Configuration
        • Inspecting IP Addresses
        • Inspecting the Status of Network Links with `networkctl`
        • Network Debugging
        • Checking Firewall Rules
        • Inspect Network Settings with `netmgr`
      • File System Troubleshooting
        • Checking Disk Space
        • Adding a Disk and Partitioning It
        • Expanding Disk Partition
        • List Disk Partitions with `fdisk`
        • File System Consistency Check Tool
        • Fixing File System Errors When fsck Fails
      • Troubleshooting Packages
      • Kernel Problems and Boot and Login Errors
        • Kernel Overview
        • Boot Process Overview
        • Blank Screen on Reboot
        • Investigating Unexpected Behavior
        • Investigating the Guest Kernel
        • Kernel Log Replication with VProbes
        • Linux Kernel
      • Performance Issues
        • General Performance Guidelines
        • Throughput Performance
    • Security Advisories
Edit this page Create child page Create docs issue Create project issue Print entire section
  1. Photon OS Documentation v3.0
  2. Command-Line Reference
  3. Command-line Interfaces

Command-line Interfaces

Photon OS includes the following command-line utilities:


Photon Management Daemon Command-line Interface (pmd-cli)

Photon Network Manager Command-line Interface (netmgr)


Last modified August 1, 2024: Merge pull request #1562 from naltanov/photon-hugo (a784a46)
  •   GitHub
  •   Slack
© 2024 Photon OS Authors. A VMware Backed Project