Difference between revisions of "Shebang (Unix)"
Jump to navigation
Jump to search
(Created page with "wikipedia:shebang (Unix)") |
|||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[wikipedia:shebang (Unix)]] | [[wikipedia:shebang (Unix)]] | ||
+ | |||
+ | |||
+ | #!/bin/[[bash]] | ||
+ | |||
+ | #!/usr/bin/[[env]] [[python3]] | ||
+ | |||
+ | #![[/usr/bin/env ansible-playbook]] | ||
+ | |||
+ | #!/usr/bin/env bash | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * <code>[[print]]</code> | ||
+ | * <code>[[pre-commit]]: - id: check-executables-have-shebangs</code> | ||
+ | * <code><?[[php]] echo "hello world!" ?></code> | ||
+ | |||
+ | == See also == | ||
+ | * {{env}} | ||
+ | * {{Bash}} | ||
+ | |||
+ | |||
+ | [[Category:Linux]] |
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: