LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to display all rpm installed list sorted by date (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-display-all-rpm-installed-list-sorted-by-date-836205/)

yzhang738@hotmail.com 10-04-2010 09:14 PM

How to display all rpm installed list sorted by date
 
I know "rpm -qa --last" lists all rpm with date and time. But I want to sort the list by date, with earlier installed rpms displayed ahead. So it needs pipe, ie something like "rpm -qa --last | ...". What is exact script to do it? Any thought is welcome.

TB0ne 10-04-2010 09:16 PM

Quote:

Originally Posted by yzhang738@hotmail.com (Post 4117768)
I know "rpm -qa --last" lists all rpm with date and time. But I want to sort the list by date, with earlier installed rpms displayed ahead. So it needs pipe, ie something like "rpm -qa --last | ...". What is exact script to do it? Any thought is welcome.

Read the man page for the sort command.

TobiSGD 10-04-2010 09:20 PM

You have posted this same post 4 times.
Multi posting is bad manner and not allowed on this forums.

Tinkster 10-05-2010 12:44 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 11:54 PM.