Oh,yes , i misunderstand it . Thank you
2012/7/3 Willie WY Wong
> On Sun, Jul 01, 2012 at 10:41:12AM +0800, Penguin Lover 赵佳晖 squawked:
> > I have use your method , it didn't work .
> > Like:
> > sudo echo "sys-boot/grub:2 **" >>
> > /etc/portage/package.accept_keywords/package.keywords.grub2 ec
On Sun, Jul 01, 2012 at 10:41:12AM +0800, Penguin Lover 赵佳晖 squawked:
> I have use your method , it didn't work .
> Like:
> sudo echo "sys-boot/grub:2 **" >>
> /etc/portage/package.accept_keywords/package.keywords.grub2 echo
> "sys-boot/grub:2 **" | sudo tee
> /etc/portage/package.accept_keywords/p
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 als
hmm...yes , i want to do it in one command line..
2012/7/1 Alecks Gates
> On Sat, Jun 30, 2012 at 9:36 PM, 赵佳晖 wrote:
> > The -i option didn't work, it also says Permission Denied
> >
> >
> > 2012/7/1 Alecks Gates
> >>
> >> On Jun 30, 2012 12:28 PM, "赵佳晖" wrote:
> >> >
> >> > In some cases ,
On Sat, Jun 30, 2012 at 9:36 PM, 赵佳晖 wrote:
> The -i option didn't work, it also says Permission Denied
>
>
> 2012/7/1 Alecks Gates
>>
>> On Jun 30, 2012 12:28 PM, "赵佳晖" wrote:
>> >
>> > In some cases , when i run somethings with "sudo" , it tells me
>> > "Permission Denied" , then i should turn
I have use your method , it didn't work .
Like:
sudo echo "sys-boot/grub:2 **" >>
/etc/portage/package.accept_keywords/package.keywords.grub2 echo
"sys-boot/grub:2 **" | sudo tee
/etc/portage/package.accept_keywords/package.keywords.grub2
And the result :
zjhui@gentoo ~ $ ls -l
/etc/portage/packag
The -i option didn't work, it also says Permission Denied
2012/7/1 Alecks Gates
> On Jun 30, 2012 12:28 PM, "赵佳晖" wrote:
> >
> > In some cases , when i run somethings with "sudo" , it tells me
> "Permission Denied" , then i should turn to root . i forgot to record the
> cases . Did anyone have
Le Sat, 30 Jun 2012 19:48:28 +0100,
Neil Bothwick a écrit :
> On Sun, 1 Jul 2012 01:27:49 +0800, 赵佳晖 wrote:
>
> > In some cases , when i run somethings with "sudo" , it tells me
> > "Permission Denied" , then i should turn to root . i forgot to
> > record the cases . Did anyone have any ideas ?
On Sun, 1 Jul 2012 01:27:49 +0800, 赵佳晖 wrote:
> In some cases , when i run somethings with "sudo" , it tells me
> "Permission Denied" , then i should turn to root . i forgot to record
> the cases . Did anyone have any ideas ?
Are you trying to redirect the output? That can give this message beca
On Jun 30, 2012 12:28 PM, "赵佳晖" wrote:
>
> In some cases , when i run somethings with "sudo" , it tells me
"Permission Denied" , then i should turn to root . i forgot to record the
cases . Did anyone have any ideas ?
>
> --
> 好好学习,天天向上!!!
I think it would depend on the use case, but try "sudo -i"
In some cases , when i run somethings with "sudo" , it tells me "Permission
Denied" , then i should turn to root . i forgot to record the cases . Did
anyone have any ideas ?
--
好好学习,天天向上!!!
11 matches
Mail list logo