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)


How to Help Your Business Become an AI Early Adopter

[ 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:

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.