Simon Willison’s Weblog

Subscribe

Tuesday, 25th August 2020

TIL Piping echo to a file owned by root using sudo and tee — I wanted to create a file with a shell one-liner where the file lived somewhere owned by root.

2020 » August

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930
31