Capturing both errors and normal list output from ls, with “long” and recursive options set, to a file called /tmp/allout :
ls -lR > /tmp/allout 2>&1
Tags: CLI, ubuntu, unix
This entry was posted
on Saturday, May 23rd, 2009 at 4:37 pm by admin and is filed under tech.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.