<p>I'm doing a lab and can't understand this:</p>
<blockquote>
<p>Kubectl has support for auto-completion allowing you to discover the
available options. This is applied to the current terminal session
with source &lt;(kubectl completion bash)</p>
</blockquote>
<p>The cmd:</p>
<pre><code>source &lt;(kubectl completion bash)
</code></pre>
<p>sources-in what?</p>

<ul>
<li><code>source</code> (synonym for <code>.</code>) is a bash built in command which executes the given file in the current shell environment</li>
<li><code>&lt;(command ...)</code> is process substitution - the output of the commands are passed as a file</li>
<li>bash completion is implemented with shell functions, which must be set in the current shell environment</li>
<li>You can view the code that's executed to set up the completion functions: <code>kubectl completion bash</code></li>
</ul>
