On May 18, 2016, at 1:02 PM, Noam Bernstein noam.bernstein@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.
Noam