On Sat, 30 Jun 2012 21:55:27 -0500, Alecks Gates wrote:

> Did you use it interactively?  It should look like this:
> alecks@linux:~$ sudo -i
> root@linux: ~# echo "sys-boot/grub:2 **" >>
> /etc/portage/package.accept_keywords/package.keywords.grub2
> 
> Just the way I like to do it.  You could also do something like "sudo
> su" and I'm sure someone else here will have all sorts of
> alternatives.

sudo -i
sudo su
sudo bash
sudo zsh
sudo screen
sudo tmux

There are plenty of ways to get a root shell with sudo.

> Just like I'm sure someone has a way to do it all in
> one line, anyway.

echo "some text" | sudo tee /some/file


-- 
Neil Bothwick

Disinformation is not as good as datinformation.

Attachment: signature.asc
Description: PGP signature

Reply via email to