Remove display pid in bash when runing background
<p>If we run process in background we see process pid and output:</p>

<pre><code># echo cho &amp;
cho
19078
</code></pre>

<p>Is it possible to make:</p>

<pre><code># echo cho &amp;
cho
</code></pre>

<hr>

<p><strong>Why I need this?</strong></p>

<p>I want to write simple inline LAN-scanner with only pings for some PC which have no utilities like <code>nmap</code> or <code>arp-scan</code>.</p>

<pre><code>for ip in 192.168.1.{1..254}; do (ping -c 1 -t 1 $ip &gt; /dev/null &amp;&amp; echo "&gt;&gt;&gt; ${ip} is up"; ) &amp; done
</code></pre>

<p>It works but PIDs spoil output. </p>