Forrest logo
back to context overview

env

List of commands for env:

  • env:tldr:07124 env: Remove variable from the environment and run a program.
    $ env -u ${variable} ${program}
    try on your machine
    explain this command
  • env:tldr:20350 env: Run a program. Often used in scripts after the shebang (#!) for looking up the path to the program.
    $ env ${program}
    try on your machine
    explain this command
  • env:tldr:5c45c env: Set a variable and run a program.
    $ env ${variable}=${value} ${program}
    try on your machine
    explain this command
  • env:tldr:7bdea env: Clear the environment and run a program.
    $ env -i ${program}
    try on your machine
    explain this command
  • env:tldr:8f404 env: Set multiple variables and run a program.
    $ env ${variable1}=${value} ${variable2}=${value} ${variable3}=${value} ${program}
    try on your machine
    explain this command
  • env:tldr:ff035 env: Show the environment.
    $ env
    try on your machine
    explain this command
back to context overview