Difference between revisions of "Shebang (Unix)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
#!/usr/bin/[[env]] [[python3]] | #!/usr/bin/[[env]] [[python3]] | ||
− | #!/usr/bin/env | + | #![[/usr/bin/env ansible-playbook]] |
#!/usr/bin/env bash | #!/usr/bin/env bash | ||
Line 13: | Line 13: | ||
== Related == | == Related == | ||
* <code>[[print]]</code> | * <code>[[print]]</code> | ||
+ | * <code>[[pre-commit]]: - id: check-executables-have-shebangs</code> | ||
+ | * <code><?[[php]] echo "hello world!" ?></code> | ||
== See also == | == See also == |
Latest revision as of 18:01, 22 February 2024
#!/bin/bash
#!/usr/bin/env python3
#!/usr/bin/env ansible-playbook
#!/usr/bin/env bash
Related[edit]
print
pre-commit: - id: check-executables-have-shebangs
<?php echo "hello world!" ?>
See also[edit]
- 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) Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: