1 |
I have been using Linux for a number of years and the one "trick" I |
2 |
have never read how to do is something like: |
3 |
|
4 |
sudo echo "app-portage/porthole ~*" >> /etc/portage/package.keywords |
5 |
|
6 |
Another one I always wanted to know if it is possible is: |
7 |
|
8 |
sudo > /var/log/foo.log |
9 |
|
10 |
Both give me error message. Are either of these command possible? |
11 |
|
12 |
I used to always just use su, though now I like sudo better. I just |
13 |
can't for the life of me get "sudo echo" or "sudo >" to work. I can |
14 |
sudo su and then do the commands, however I am lazy and want to save |
15 |
having to "exit" out from su. |
16 |
|
17 |
Jim |
18 |
-- |
19 |
gentoo-user@g.o mailing list |