How to pass command with parameters to xargs
<p><code>echo ls -l -a / | xargs sh -c</code></p>

<p>How to make above command work?</p>

<p>it only list current directory</p>

<p>seems only ls is passed to xargs</p>

<p><code>echo '"ls -l -a /"' | xargs sh -c</code> would work though, but the input I got has no ""</p>