envsubst
Verified for current stable LTS
Envsubst Command: Replace Env Vars Input File With Variable List
Use for replace env vars input file with variable list with Envsubst. Exact CLI syntax to replace env vars input file with variable list using Envsubst.
When to use this: Use for replace env vars input file with variable list with Envsubst.
Command Syntax
envsubst < <path/to/input_file> '<vars>' envsubst < <path/to/input_file> '<vars>' Command Breakdown
envsubst is the base executable for this command.
FAQ
Purpose: Exact syntax to replace env vars input file with variable list 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 Space Separated envsubst < <path/to/input_file> '{{<USER>}} {{<SHELL>}} {{<HOME>}}' 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>