<div dir="ltr">The 'sudo' instruction is being applied to the echo command, not the subsequent file write.<br><br>Breaking it out as follows might help:<br><br>sudo -s<br>echo "deb <a href="http://files.freeswitch.org/repo/ubuntu-1604/freeswitch-1.6/" target="_blank">http://files.freeswitch.org/<wbr>repo/ubuntu-1604/freeswitch-1.<wbr>6/</a> xenial main" > /etc/apt/sources.list.d/<wbr>freeswitch.list<br><br><br>Sean<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 13, 2018 at 3:34 PM, Ali Haider <span dir="ltr"><<a href="mailto:alihaider.4189@gmail.com" target="_blank">alihaider.4189@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">hiii<br>how to solve<br>   sudo echo "deb <a href="http://files.freeswitch.org/repo/ubuntu-1604/freeswitch-1.6/" target="_blank">http://files.freeswitch.org/<wbr>repo/ubuntu-1604/freeswitch-1.<wbr>6/</a> xenial main" > /etc/apt/sources.list.d/<wbr>freeswitch.list<br>bash: /etc/apt/sources.list.d/<wbr>freeswitch.list: Permission denied<br><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="fullcontact-highlight">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br>
</div></div>