I\'ve been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don\'t normally h
I would do it this way:
sudo su -c 'ls -hal /root/ > /root/test.out'