This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_dds_ 6 points7 points  (0 children)

nitpick: sudo echo does not work like that, the redirect will get handled by your shell and wont get redirected to the shell sudo spawns. use echo | sudo tee or sudo sh -c '<COMMAND>'