Difference between revisions of "Shebang (Unix)"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
  #!/bin/[[bash]]
 
  #!/bin/[[bash]]
  
  #!/usr/bin/env [[python3]]
+
  #!/usr/bin/[[env]] [[python3]]
  
  #!/usr/bin/env [[ansible-playbook]]
+
  #![[/usr/bin/env ansible-playbook]]
 +
 
 +
#!/usr/bin/env bash
  
  
 
== Related ==
 
== Related ==
* [[print]]
+
* <code>[[print]]</code>
 
+
* <code>[[pre-commit]]: - id: check-executables-have-shebangs</code>
 +
* <code><?[[php]] echo "hello world!" ?></code>
  
 
== See also ==
 
== See also ==
 +
* {{env}}
 
* {{Bash}}
 
* {{Bash}}
  
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 18:01, 22 February 2024

Advertising: