I am trying to use this command
(echo “0” && cat) | (echo “0” && cat) | gmx rms -s *_fixed.pdb -f xyz.pdb
because I want to pass the selections when executing the command, i.e., do not want to use the interactive screen. However, after this runs, I need to hit enter twice, otherwise it’s stuck. Anyone knows how to do it correctly.
Hello!
You can use echo -e '0\n0' | gmx rms ...
instead.