List disabled macOS launch services
Build a paste-ready command, then review its compatibility and effects before running it.
launchctl print-disabled system | head -30read-onlyno known side effects Compatibility
macOSVerified for macOS using zsh, bash syntax.
Operational knowledgereview due 2027-01-20
Requirementslaunchctllaunchctl must be installed and available on PATH.
Version supportlaunchctl Current supported releasesVerified for macos using zsh, bash syntax; consult compatibility notes for platform-specific differences.
Expected signalsdisabled services = {Representative successful output; values vary with the selected target and system state.
Known errorslaunchctl: command not foundlaunchctl is missing or is not available on PATH.
Verifylaunchctl print-disabled system | head -30The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01launchctlCommandRuns the launchctl stage of this one-liner.
02print-disabledArgumentPasses print-disabled to launchctl.
03systemArgumentPasses system to launchctl.
04|PipelinePasses the output on the left to the command on the right.
05headCommandRuns the head stage of this one-liner.
06-30OptionConfigures head with the -30 option.
Example input
launchctl print-disabled system | head -30
Example output
disabled services = {
"com.apple.ftp-proxy" => true
"com.apple.screensharing" => false
}
Illustrative output — exact values vary by system and data.
Official sources