Today I came across an interesting idea - is it possible to synchronize multiple terminals somehow, so when I change directory in one of them, it gets changed automatically in the others?

I think it could be possible by forking them from one common parent process, but I have no idea if there is some way to make them communicate like this.

I'm using Lubuntu 17.10, so I'd prefer some solution using Bash, if possible.

  • Would screen be no good for this? – Raman Sailopal Feb 28 '18 at 13:47

You could try adapting ClusterSSH to this, but there's no way within bash itself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.