Skip to Content
gnux

-C, --chdir

Change working directory to DIR.

An option of envx.

Usage

envx -C DIR [-] [NAME=VALUE]... [COMMAND [ARG]...]
envx --chdir=DIR [-] [NAME=VALUE]... [COMMAND [ARG]...]

Details

ShortLongValueDefaultMeaning
-C--chdirDIRchange working directory to DIR

Examples

Run a tool in another directory without leaving this one

envx -C build pwdx

Trace each step envx takes before running the command

envx -v -C build pwdx

Help in the terminal

gnux help envx --chdir

On this page