capture.output on ls commands