Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • ssh -t svf 'cd ~/w/logs && bash -mc "tail -f some_file.log"; exec "$SHELL" -l' does not work as expected, ssh -t svf 'set -m; cd ~/w/logs && tail -f some_file.log; exec "$SHELL" -l' this is fine Commented Mar 2, 2016 at 13:35
  • @EugenKonkov, looks like a version issue. It works for me with bash-4.3, but I can reproduce your problem with 4.1. I'll dig more and update the answer. Commented Mar 2, 2016 at 14:33
  • my version is 4.3.42(1)-release (x86_64-pc-linux-gnu). Thank you for attention. But I use my own clue answered below. Commented Mar 3, 2016 at 8:55