When you run yum history (or dnf history) it will give you the list of action starting from the last, most recent action being on top of the list. In case you have a lot of history steps your recent action happens to be on top of the list and you need to do a lot of scrolling to get to it.

Is there a way to list yum/dnf history in ascending order, so the latest step would be at the bottom of the results?


Yes, as mentioned in the comments, tac command does what was asked.

Simply run:

dnf history | tac

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.