Re:The Great Cannon has been deployed again
by DyslexicAtheist on Friday December 06, 2019 @12:50PM
(#21724223)
just for good measure:
... but I know I'm only fooling myself.
[ Parent
| on HN ]
Re:The Great Cannon has been deployed again
by nothrabannosir on Friday December 06, 2019 @01:11PM
(#21724449)
(I strongly recommend tee -a :) as well as putting the sudo before the tee).
Re:The Great Cannon has been deployed again
by iotku on Friday December 06, 2019 @05:24PM
(#21726615)
Notable reason (for those unfamiliar) is that tee will overwrite the file unless given the -a argument which will append the input to the end of the file.
Re:The Great Cannon has been deployed again
by DyslexicAtheist on Friday December 06, 2019 @01:14PM
(#21724475)
:)
thanks (I admit didn't test it because I use `python3 ./updateHostsFile.py` to take care of /etc/hosts)