c Verified current stable Not installed?

C / Execute Command Empty Environment

Execute Command Empty Environment

C command syntax to execute command empty environment. Copyable examples, output expectations, and common mistakes.

$
Terminal
exec -c <command -with -flags>

Command Breakdown

What each part is doing

exec
Base Command
The executable that performs this operation. Here it runs C before the shell applies any redirect operators.
<command -with -flags>
command with flags
The value supplied for command with flags.
-c
Command Option
Tool-specific option used by this command invocation.
-with
Command Option
Tool-specific option used by this command invocation.
-flags>
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools for a closely related operation.