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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org