Difference between revisions of "/usr/bin/env (command)"
Jump to navigation
Jump to search
↑ https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsdotenv
(→Errors) |
|||
(17 intermediate revisions by 6 users not shown) | |||
Line 19: | Line 19: | ||
>>> quit | >>> quit | ||
+ | == Errors == | ||
+ | yarn | ||
+ | env: [[node]]: [[No such file or directory]] | ||
== Related terms == | == Related terms == | ||
Line 24: | Line 27: | ||
* <code>[[.env]]</code> | * <code>[[.env]]</code> | ||
* <code>[[export]]</code> | * <code>[[export]]</code> | ||
− | * [[direnv]] | + | * <code>[[direnv]]</code> |
* <code>[[fastlane env]]</code> | * <code>[[fastlane env]]</code> | ||
+ | * [[Azure DevOps]]: <code>[[AWSShellScript@1]]</code> | ||
+ | * <code>[[env_file]]</code> | ||
+ | * <code>[[kubectl set env]]</code> | ||
+ | * [[Kubernetes]] <code>[[Kubernetes, env:|env:]]</code> | ||
+ | * [[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> | ||
+ | * [[Ansible plugin: env]] | ||
+ | * <code>[[os.getenv]]</code> | ||
+ | * <code>[[docker exec]] [[CONTAINER_NAME]] [[env]]</code> | ||
+ | * <code>[[docker exec]] CONTAINER_NAME [[printenv]]</code> | ||
== See also == | == See also == | ||
* {{coreutils}} | * {{coreutils}} | ||
* {{shells}} | * {{shells}} | ||
− | * {{ | + | * {{env}} |
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 09:33, 30 June 2023
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
Errors[edit]
yarn env: node: No such file or directory
Related terms[edit]
- Variables:
PATH
,SHELL
.env
export
direnv
fastlane env
- Azure DevOps:
AWSShellScript@1
env_file
kubectl set env
- Kubernetes
env:
- GitLab environment variables, GitLab CI/CD variables
artifacts:reports:dotenv
[1]go env
- Ansible plugin: env
os.getenv
docker exec CONTAINER_NAME env
docker exec CONTAINER_NAME printenv
See also[edit]
- Coreutils,
tail
,dirname
,env
,sleep
,install, truncate
- Shell: Fish shell,
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io, direnv - Variables: Environment variables,
env
,env-cmd
,.env/
,SHELL
,PS1, HOME, $?
,PATH
,HISTFILE, PWD, LD_LIBRARY_PATH
,printenv, getenv, getenv, direnv
, AWS cli environmental variables, envsubst,env:, env_file
(docker-compose)
Advertising: