Prepare ls command