echo bug?
Derek Broughton
derek at pointerstop.ca
Sat Sep 12 03:02:42 UTC 2009
Jay Daniels wrote:
> Why doesn't this work???
>
>
> sudo echo "deb http://ppa.launchpad.net/gwibber-team/ubuntu hardy main"
>>/etc/apt/sources.list.d/gwibber.list
> bash: /etc/apt/sources.list.d/gwibber.list: Permission denied
>
>
> Now I thought sudo was the equivalent to root permissions?
Yes, but the redirection isn't happening in the same environment. I'm sure
there's some way to do it, but I just "sudo -i" if I need to do it.
And Shannon said:
> Appears he's trying an easy way to add a line to an apt-repo file.
>
> Can you do a sudo vi of that file?
And that's an _easy_ way? :-)
In this case, I'd use synaptic.
--
derek
More information about the ubuntu-users
mailing list