Env: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
/usr/bin/env bash | /usr/bin/env bash | ||
=Standalone Use= | |||
Displays environment values. | |||
=Use on the Shebang Line= | =Use on the Shebang Line= |
Revision as of 04:03, 2 May 2023
External
Internal
Overview
Run a command with a modified environment.
/usr/bin/env [utility]
/usr/bin/env bash
Standalone Use
Displays environment values.
Use on the Shebang Line
The env
command works by instructing the system to look for the specified interpreter through the PATH
variable and use the first occurrence found.