sed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is bad in this line?


From: Eric Blake
Subject: Re: What is bad in this line?
Date: Tue, 31 Mar 2020 10:29:46 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 3/31/20 5:25 AM, "François Théry" wrote:
    "sudo sed -i 's/3389/3388/g' /etc/xrdp/[1]xrdp.ini"

As written, this is underquoted. Whether you are asking sed to operate on "/etc/xrdp/[1]xrdp.ini" or "/etc/xrdp/1xrdp.ini" depends on whether the latter file exists.

    I have to chance a port 3389 to 3388 and for this to write this line.
    But it don't work

Pasting the actual behavior rather than the vague "it don't work" will go a long ways towards helping us help you. Did you get an error message? Did the command silently succeed, but not change the file you thought it would?

    Thanks
    --
    Envoyé à partir d’un Smarpthone Android avec [2]WEB.DE Mail.

References

    1. http://xrdp.ini/

Oh. Now it looks like your above line was trying to reference a footnote injected in the middle of a command line? Pasting exactly what you typed, rather than injecting a footnote reference, is important if you want us to repeat what you are attempting.

    2. http://WEB.DE/


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]