linux – How do I use sudo to redirect output to a location I don’t have permission to write to? – Stack Overflow
Posted by jpluimers on 2020/07/09
Various ways are explained at [WayBack] linux – How do I use sudo to redirect output to a location I don’t have permission to write to? – Stack Overflow.
Some are for simple commands and can be a one liner (for instance using tee
, or executing a secondary shell).
Others are more suited for longer command sequences.
–jeroen
Leave a Reply