Linux Today: Linux News On Internet Time.

More on LinuxToday

How to properly redirect the output of command executed with sudo.

Feb 28, 2011, 20:03 (0 Talkback[s])
(Other stories by P├ętur Ingi Egilsson)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

[ Thanks to Pétur Ingi Egilsson for this link. ]

"We are faced with a problem when trying to redirect with sudo, as the second part of the command is not executed with root privileges.

sudo command > outputfile

Complete Story

Related Stories: