Pcornel
Browse topics
Options
Recent
Favorites
Evidence · observation

Redirection Linux operational evidence

Linux · Redirection

Expected observation

Healthy evidence: fd routing matches the intended left-to-right map, target files have expected content/metadata and command plus consumer behavior is correct. Suspicious evidence: a file is truncated before a failing command, descriptor order sends stderr to the terminal unexpectedly, or a redirection-open failure is misdiagnosed as application failure.

Intended proof boundary

Correlated Linux file/text/shell evidence can establish this proof path: parsed command → expand redirection words → open/duplicate/close file descriptors left-to-right → exec/builtin with resulting fd table → output/input effects → command status + consumer result

Does not prove

It does not independently prove behavior outside the captured host, shell/session, cwd/namespace, input, process, filesystem, locale, time or workload scope. Redirection verification proves descriptor routing/open semantics and resulting data, not correctness of the command that consumes or produces the stream.

Next discriminating check

For Shell & Bash → Redirection, continue with the first unproven Topic check: Map fd 0/1/2 and any custom descriptors before and after each left-to-right redirection. If that boundary is healthy, advance to the adjacent check: Confirm redirection target path, permissions, filesystem capacity and whether truncation/append semantics are intended. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

1ObservationExpected observation; record actual output separately.
→
2Inference boundaryOnly what the observation directly supports.
→
3Non-proof boundaryWhat still remains unproven.
→
4Next checkThe next discriminating observation.
Documentation structureReference completenessexpected observation documented · intended proof boundary documented · non-proof boundary documented · next check documented · source reference supplied
Source referencePcornel evidence-first Linux file/text/shell modelSource presence does not itself prove technical correctness.
Verification closure

Use this Evidence to decide the next boundary, not to skip the original test

Observation → proof/non-proof boundary → next discriminating check → minimum controlled change → repeat the original workload/test → adjacent/return-path regression check where relevant.

Capture / filter

Shell & Bash → Redirection + exact time/host/boot/namespace + affected object/identity + verification chain: parsed command → expand redirection words → open/duplicate/close file descriptors left-to-right → exec/builtin with resulting fd table → output/input effects → command status + consumer result + discriminator: Map fd 0/1/2 and any custom descriptors before and after each left-to-right redirection. + requested/observed/effective state + original workload/result
Reference statusEvidence reference · unreviewed · Source reference
Reference completenessEvidence reference · 100/100
Freshnessunreviewed
ProvenanceSource reference
Collection costLow

Evidence reference. Completeness measures filled reference fields, not a captured result, source correctness or confidence in live operation. Review freshness is shown separately. Record actual output, target, scope and time before drawing an operational conclusion.

Confirmation

Confirm action

Continue?