Mark van Harmelen wrote:
> Are there things that experienced server users can remember as being
> perplexing 'how do I do that?' problems from earlier in their career?
> Perhaps things that have a short 'use this' answer.

Oh yeah!  It took me a long while to grok how to write redirected output
as root.

"Writing redirected command output as root from a regular user shell can
be achieved with judicious use of the tee and sudo command:
    'somecommand | sudo tee /etc/somefile'"


-- 
Etienne Goyer
Technical Account Manager - Canonical Ltd
Ubuntu Certified Instructor

 ~= Ubuntu: Linux for Human Beings =~

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to