0

My command:

ssh -q user@node1  ssh -q user@node2 ssh -q user@node3 'sed -i 's/'"aa bb"'/'"dd ee"'/g' file-path'

Error:

sed: -e expression #1, char 7: unterminated `s' command

Need help to resolve this.

J. Chomel
  • 8,193
  • 15
  • 41
  • 69
Padmini
  • 1
  • 1
  • Please ask your sysadmin or ask at [Super User](http://superuser.com/tour). – Cyrus Jul 01 '16 at 05:54
  • Possible duplicate of [How does bash deal with nested quotes?](http://stackoverflow.com/questions/25941394/how-does-bash-deal-with-nested-quotes) – tripleee Jul 01 '16 at 06:56

0 Answers0