title: How does /usr/bin/env work in a Linux shebang line?
body: <p>I know shebang line like this: </p>
  
  <pre><code>#!/bin/sh
  </code></pre>
  
  <p>but I found out I can also use shebang line like this: </p>
  
  <pre><code>#!/usr/bin/env python3
  </code></pre>
  
  <p>This confuses me, can someone explain to me how Linux will process this one? </p>