echo bug?
Florian Diesch
diesch at spamfence.net
Tue Sep 15 11:51:37 UTC 2009
Jay Daniels <tux at myt60.net> writes:
> Why doesn't this work???
>
>
> sudo echo "deb http://ppa.launchpad.net/gwibber-team/ubuntu hardy main"
>>/etc/apt/sources.list.d/gwibber.list
That runs
echo "deb http://ppa.launchpad.net/gwibber-team/ubuntu hardy main"
as root and tries to write the output to
/etc/apt/sources.list.d/gwibber.list as the calling user.
Use
sudo sh -c 'echo "deb http://ppa.launchpad.net/gwibber-team/ubuntu hardy main" >>/etc/apt/sources.list.d/gwibber.list'
or
echo "deb http://ppa.launchpad.net/gwibber-team/ubuntu hardy main"| sudo tee -a /etc/apt/sources.list.d/gwibber.list'
Florian
--
<http://www.florian-diesch.de/software/pdfrecycle/>
More information about the ubuntu-users
mailing list