[Freeswitch-users] how to solve command

Sean Ingham sean at missionlabs.co.uk
Mon Jan 15 17:47:42 UTC 2018


The 'sudo' instruction is being applied to the echo command, not the
subsequent file write.

Breaking it out as follows might help:

sudo -s
echo "deb http://files.freeswitch.org/repo/ubuntu-1604/freeswitch-1.6/ xenial
main" > /etc/apt/sources.list.d/freeswitch.list


Sean

On Sat, Jan 13, 2018 at 3:34 PM, Ali Haider <alihaider.4189 at gmail.com>
wrote:

> hiii
> how to solve
>    sudo echo "deb http://files.freeswitch.org/
> repo/ubuntu-1604/freeswitch-1.6/ xenial main" > /etc/apt/sources.list.d/
> freeswitch.list
> bash: /etc/apt/sources.list.d/freeswitch.list: Permission denied
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180115/4ca94712/attachment.html>


More information about the FreeSWITCH-users mailing list