l Verified current stable Not installed?

L / Execute Command As Login Shell

Execute Command As Login Shell

L command syntax to execute command as login shell. Copyable examples, output expectations, and common mistakes.

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

Command Breakdown

What each part is doing

exec
Base Command
The executable that performs this operation. Here it runs L before the shell applies any redirect operators.
<command -with -flags>
command with flags
The value supplied for command with flags.
-l
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.