linuxshellcopy-pastemobaxterm

MobaXterm: edit pasted command before execution


Hi everyone in this great community! I am using MobaXterm - in my opinion it's a great tool for everyday routine with Win\Linux servers.

My question is about copy-paste procedure and Linux command execution. When I copy some command from some site, sometimes it executes immediately after pasting this command to some terminal via MobaXterm. I've found that reason is break in code: link

For example I see break in code after pasting command via MovaXterm. How can I edit it just before I hit OK? Field with "mc" and break symbol is grey and I cannot change anything


Solution

  • Basically you can only do two things:

    a) Copy the command to text editor and remove line breaks

    b) Disable the warning and paste the command with line break.

    1. Settings
    2. Configuration
    3. Terminal
    4. Untick Warn before pasting multiple lines

    I strongly advise to go with option A.