[CentOS] one-shot yum command to match rpms between systems?

Wed May 18 18:12:15 UTC 2016
Noam Bernstein <noam.bernstein at nrl.navy.mil>

> On May 18, 2016, at 1:02 PM, Noam Bernstein <noam.bernstein at nrl.navy.mil> wrote:
> It wouldn’t be a one liner except in the most general sense that you can string multiple bash commands with “;”,  but I’m sure someone can do something clever with uniq(1).

I meant comm(1), by the way, although the other answers in this thread, especially the “yum shell” based ones, are cleaner.