Difference between revisions of "/usr/bin/env (command)"

From wikieduonline
Jump to navigation Jump to search
Line 30: Line 30:
 
* <code>[[kubectl set env]]</code>
 
* <code>[[kubectl set env]]</code>
 
* [[GitLab environment variables]], [[GitLab CI/CD variables]]
 
* [[GitLab environment variables]], [[GitLab CI/CD variables]]
 +
* <code>artifacts:reports:dotenv</code> <ref>https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsdotenv</ref>
 
* <code>[[go env]]</code>
 
* <code>[[go env]]</code>
 
* [[Ansible plugin: env]]
 
* [[Ansible plugin: env]]

Revision as of 17:19, 11 October 2022

env command is included in the coreutils package.


#!/usr/bin/env bash

#!/usr/bin/env ansible-playbook

#!/usr/bin/env python3

#!/usr/bin/env python

env python
env: ‘python’: No such file or directory
env python3
Python 3.8.10 (default, Jun  2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit


Related terms

See also

  • https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsdotenv
  • Advertising: