--help
CommunityProBetaShow command-line help for the selected binary.
./linsentry-community --helpThe generated help output lists the flags registered for that edition. It does not run diagnostics or create reports.
Command reference
Detailed usage and examples for every public command-line option.
linsentry-community [options]
linsentry-pro [options]
linsentry-beta [options]Community and Pro are separate binaries. Beta is a separate pre-release binary. Some options are only registered when the selected edition has the matching capability, so an option shown for Pro or Beta may be rejected by Community as an unknown flag.
Running LinSentry with sudo is recommended for the most complete assessment. LinSentry's normal diagnostics are read-only and do not automatically remediate findings.
./linsentry-community --versionsudo ./linsentry-community --reportsudo ./linsentry-community --report --text-reportsudo ./linsentry-community --report --report-dir ~/reportssudo ./linsentry-community --report --skip-websitessudo ./linsentry-community --report --skip-containers./linsentry-community --no-color --help./linsentry-community --edition-matrix./linsentry-community --support-matrixEach option below matches the public flag registration and edition capability boundaries.
--helpShow command-line help for the selected binary.--versionShow version, edition, commit, build date, architecture, dirty-tree state, and report schema.--build-infoShow detailed build metadata.--reportGenerate a local diagnostic PDF report non-interactively.--text-reportCreate a plain-text report in addition to the PDF report.--report-dirChoose the report output directory.--skip-containersSkip container runtime diagnostics.--skip-websitesSkip automatic hosted website diagnostics during general report generation.--skip-mailSkip automatic mail diagnostics during general report generation.--skip-databaseSkip automatic database diagnostics during general report generation.--edition-matrixPrint edition feature support status.--support-matrixPrint platform support status.--no-colorDisable ANSI color output.--debugEnable debug logging to stderr.--foundation-onlyGenerate report structure without running diagnostics.--validation-summaryWrite a bounded real-run validation summary JSON file.--websiteRun focused website diagnostics for a domain.--deep-websitesRun deep website diagnostics for every tested domain in automatic website assessment.--max-websitesSet the maximum number of domains to run public website tests for.--website-concurrencySet maximum concurrent website assessments.--combined-reportCombine server and website diagnostics when used with --website --report.--allow-private-targetAllow website and mail endpoint diagnostics for private or local targets.--mail-domainRun focused mail delivery diagnostics for a domain.--mail-endpointRun focused mail protocol diagnostics for an endpoint.--mail-queueRun focused outbound mail queue diagnostics.--databaseRun focused local database service diagnostics.--format text|jsonSelect text or JSON output for structured inspection views.--jsonShortcut for JSON output on structured inspection views.--export-to-pleskLegacy Beta-only option to export generated report files to a selected Plesk subscription File Manager directory.--plesk-subscriptionSelect the Plesk subscription domain or identifier for --export-to-plesk.--refresh-package-metadataLegacy Beta-only option to run package metadata refresh before package update checks.--helpShow command-line help for the selected binary.
./linsentry-community --helpThe generated help output lists the flags registered for that edition. It does not run diagnostics or create reports.
--versionShow version, edition, commit, build date, architecture, dirty-tree state, and report schema.
./linsentry-community --versionNo diagnostics run. Use this when reporting installation or compatibility questions.
--build-infoShow detailed build metadata.
./linsentry-community --build-infoThis includes identity data plus Go version and CGO release-build status. No diagnostics run.
--reportGenerate a local diagnostic PDF report non-interactively.
sudo ./linsentry-community --reportRuns diagnostics available in the edition, writes a PDF report, and prints the path. Use sudo for fuller evidence.
--text-reportCreate a plain-text report in addition to the PDF report.
sudo ./linsentry-community --report --text-reportUse with --report where the current report path supports text output.
--report-dirChoose the report output directory.
sudo ./linsentry-community --report --report-dir /tmp/linsentry-reportLinSentry validates the directory before writing reports and may restore ownership after sudo.
--skip-containersSkip container runtime diagnostics.
sudo ./linsentry-community --report --skip-containersCommunity skips basic container diagnostics. Pro and Beta skip basic and advanced container collection.
--skip-websitesSkip automatic hosted website diagnostics during general report generation.
sudo ./linsentry-community --report --skip-websitesCommunity skips basic website inventory and HTTP/TLS checks. Pro and Beta skip advanced website correlation too.
--skip-mailSkip automatic mail diagnostics during general report generation.
sudo ./linsentry-community --report --skip-mailCommunity skips basic mail detection. Pro and Beta skip full mail diagnostics in the automatic path.
--skip-databaseSkip automatic database diagnostics during general report generation.
sudo ./linsentry-community --report --skip-databaseCommunity skips basic database detection. Pro and Beta skip full database diagnostics in the automatic path.
--edition-matrixPrint edition feature support status.
./linsentry-community --edition-matrixNo diagnostics run. Output is generated from LinSentry's edition feature manifest.
--support-matrixPrint platform support status.
./linsentry-community --support-matrixNo diagnostics run. Output distinguishes validated, experimental, best-effort, and unsupported targets.
--no-colorDisable ANSI color output.
./linsentry-community --no-color --helpUseful for plain logs, limited terminals, and copied support output. NO_COLOR has the same default effect.
--debugEnable debug logging to stderr.
sudo ./linsentry-community --debug --reportDebug output can include environment-specific details. Redact operational details before sharing.
--foundation-onlyGenerate report structure without running diagnostics.
./linsentry-community --foundation-only --reportUseful for report structure checks, not for real server assessment.
--validation-summaryWrite a bounded real-run validation summary JSON file.
sudo ./linsentry-pro --report --validation-summary /tmp/linsentry-validation.jsonRecords build identity, platform metadata, diagnostic counts, report status, exit code, and truncation indicators. Not registered in Community.
--websiteRun focused website diagnostics for a domain.
sudo ./linsentry-pro --website example.comWith --report it creates a focused website PDF report. Use --combined-report to include server diagnostics.
--deep-websitesRun deep website diagnostics for every tested domain in automatic website assessment.
sudo ./linsentry-pro --report --deep-websitesAffects the general report path, increases local website analysis where evidence is available, and remains read-only.
--max-websitesSet the maximum number of domains to run public website tests for.
sudo ./linsentry-pro --report --max-websites 100Default is 500. Use this to bound assessment size on large hosting systems.
--website-concurrencySet maximum concurrent website assessments.
sudo ./linsentry-pro --report --website-concurrency 5Default is 10. Lower it on small or resource-constrained servers.
--combined-reportCombine server and website diagnostics when used with --website --report.
sudo ./linsentry-pro --website example.com --report --combined-reportWithout this flag, the focused website report contains website diagnostics only. Not registered in Community.
--allow-private-targetAllow website and mail endpoint diagnostics for private or local targets.
sudo ./linsentry-pro --website internal.example --allow-private-targetUse only when you intentionally diagnose a private target you control.
--mail-domainRun focused mail delivery diagnostics for a domain.
sudo ./linsentry-pro --mail-domain example.comWith --report, LinSentry also creates a mail-focused PDF report; combine with --text-report for text.
--mail-endpointRun focused mail protocol diagnostics for an endpoint.
sudo ./linsentry-pro --mail-endpoint mail.example.comUses mail safety controls and respects --allow-private-target. LinSentry does not authenticate to mail services.
--mail-queueRun focused outbound mail queue diagnostics.
sudo ./linsentry-pro --mail-queueRead-only and can benefit from sudo because mail queue visibility is often privileged.
--databaseRun focused local database service diagnostics.
sudo ./linsentry-pro --databaseWith --report, it creates a database-focused PDF report. Current focused database path creates PDF only.
--format text|jsonSelect text or JSON output for structured inspection views.
./linsentry-community --format json diagnostics containersUseful with inspection commands such as diagnostics, findings, websites, containers, compose, tls, coverage, and cleanup.
--jsonShortcut for JSON output on structured inspection views.
./linsentry-community --json findings listEquivalent to --format json for supported inspection views. It is not a report format switch.
--export-to-pleskLegacy Beta-only option to export generated report files to a selected Plesk subscription File Manager directory.
sudo ./linsentry-beta --report --export-to-plesk --plesk-subscription example.comRequires --report and --plesk-subscription. Not registered in Community or Pro.
--plesk-subscriptionSelect the Plesk subscription domain or identifier for --export-to-plesk.
sudo ./linsentry-beta --report --export-to-plesk --plesk-subscription example.comOnly meaningful with --export-to-plesk. Missing subscription information causes an export-specific error.
--refresh-package-metadataLegacy Beta-only option to run package metadata refresh before package update checks.
sudo ./linsentry-beta --report --refresh-package-metadataNot available in Community or Pro. It may update the local package manager metadata cache.
LinSentry can run without root, but some checks may be limited without privileges. Use sudo for the most complete assessment of logs, queues, generated configuration, service state, Plesk details, and Docker evidence.
--report creates a PDF report. --text-report creates a matching plain-text report where supported. Use --report-dir to choose the destination directory.
0: completed successfully without critical findings.1: application failure, invalid arguments, no writable report directory, or report generation failure.2: completed with one or more critical findings.3: completed but diagnostic coverage was materially limited.4: invalid or unsafe website or mail target.5: private target requires explicit permission.6: requested website, mail domain, or endpoint could not be discovered.7: Beta Plesk report export failed or export flags were invalid.Current application language: English. Website: English, German, French, Spanish and Dutch.