Pcornel
Browse topics
Options
Recent
Favorites
Command · POSIX shell

Evaluate bounded shell preconditions

test -r <required-file> && test -n "$<REQUIRED_VAR>"

Read-only/validation observation for readability of one required file and presence of one required non-secret environment variable.

Execution context

POSIX shell; run only against the intended target and bounded scope

Use when

Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.

Then verify

check ownership/source of the failed prerequisite and extend the preflight with other documented dependencies rather than bypassing it

Privilege standard user or read-only administrative context as required by the providerState impact Read-onlyProduction Unknown

Operational impact: Read-only observation/validation intent; runtime cost still depends on scope and provider behavior.
Command detailsSafety model · family · platform · verification · bundle
Privilegestandard user or read-only administrative context as required by the provider
Execution contextPOSIX shell; run only against the intended target and bounded scope
State impactRead-only
Safe during productionUnknown
CategoryPreconditions
Evidence levelmixed
Primary DomainAutomation
Technically verifiedNeeds verification date
Family Reconditions
PlatformPOSIX shell
PrerequisitePOSIX shell; run only against the intended target and bounded scope
Output fields

Field glossary

Important fields projected from persisted Command guidance.

readability of one required file and presence of one required non-secret environment variable

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsAutomation

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Exposes readability of one required file and presence of one required non-secret environment variable at the exact bounded observation/validation boundary restored from.

Does not prove

Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.

Next check

check ownership/source of the failed prerequisite and extend the preflight with other documented dependencies rather than bypassing it

Depth when you need it

Command guidance

Execution context

POSIX shell; run only against the intended target and bounded scope

Use when

Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.

Important fields

readability of one required file and presence of one required non-secret environment variable

Common problems

Wrong target/context, stale state, missing provider/tool or treating one command as universal root-cause proof.

Operational impact

Read-only observation/validation intent; runtime cost still depends on scope and provider behavior.

Runtime cautions

Record target identity, runtime/tool version and timestamp separately if live output is captured as Evidence.

Technical context

Restores exact/ ownership only; this authored guidance is not observed production Evidence.

Confirmation

Confirm action

Continue?