11

I have a prompt. I want to send a clear or ls to all my byobu windows (opened with F2), by typing it only once.

Is there a way to do that?

1 Answer 1

20

This was such a phenomenal question, and something that I've been wanting to do for so long, that I just put a couple of scripts together, added to Byobu-5.73, and released the new feature :-)

As of that version of Byobu, you can now use Shift-F9 to enter a command and send to all panes (splits), or Ctrl-F9 to enter a command and send to all windows.

You can watch a demo here: http://blog.dustinkirkland.com/2014/09/apply-updates-to-multiple-systems.html

This feature is available in Ubuntu 14.04 LTS (trusty), or you can always install the latest version from ppa:byobu/ppa or build/install from source.

Full disclosure: I am the author and maintainer of Byobu.

1
  • 1
    This is awesome! Just used it to run sudo apt-get update && sudo apt-get dist-upgrade on a bunch of PCs in my LAN, and saving a nice amount of time!
    – gerlos
    Commented Sep 29, 2014 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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