/usr/bin/env (command)

From wikieduonline
Jump to navigation Jump to search

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

Advertising: