On Mon, Apr 27, 2009 at 11:18 PM, Thomas Pfaff <tpf...@tp76.info> wrote:
> On Mon, 27 Apr 2009 21:04:01 +0200 Otto Moerbeek <o...@drijf.net> wrote:
>> On Mon, Apr 27, 2009 at 08:43:16PM +0200, Thomas Pfaff wrote:
>> > B  B $ sudo echo "00:1d:e9:e5:ad:01 phone" >> /etc/bluetooth/hosts
>>
>> I don't think you tested the above command. Hint: the redirect is not
>> done as root.
>
> Quite right, sorry about that. B Just to make the archives happy:
>
> B # echo "00:1d:e9:e5:ad:01 phone" >> /etc/bluetooth/hosts

since everything is done with sudo, this might be something like

$ sudo sh -c 'echo "00:1d:e9:e5:ad:01 phone" >> /etc/bluetooth/hosts'

Reply via email to