envsubst
Verified for current stable LTS
Envsubst Command: Replace Env Vars File Space Separated
Use for replace env vars file space separated with Envsubst. Exact CLI syntax to replace env vars file space separated using Envsubst.
When to use this: Use for replace env vars file space separated with Envsubst.
Command Syntax
envsubst < <path/to/input_file> '{{<USER>}} {{<SHELL>}} {{<HOME>}}' envsubst < <path/to/input_file> "{`{<USER>`}} {`{<SHELL>`}} {`{<HOME>`}}" Command Breakdown
envsubst is the base executable for this command.
FAQ
Purpose: Exact syntax to replace env vars file space separated using Envsubst.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Envsubst Command: Replace Env Vars File Output
envsubst < <path/to/input_file> > <path/to/output_file> Envsubst Command: Replace Env Vars File Stdout envsubst < <path/to/input_file> Envsubst Command: Replace Env Vars Input File To Output File envsubst < <path/to/input_file> > <path/to/output_file> Envsubst Command: Replace Env Vars Input File To Stdout envsubst < <path/to/input_file> Envsubst Command: Replace Env Vars Input File With Variable List envsubst < <path/to/input_file> '<vars>'