|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Ok, we have all upgraded or installed something, and then something disastrous happens. At times like these, it's good to know what and when. Here is how;
Code:
rpm -qa --last | more Quote:
|
|
|||
|
Quote:
|
|
|||
|
Quote:
Maybe I should use less
|
|
|||
|
You can also do a grep for a particular date. I used Sun 23 Mar 2008.
Here is how I did it. Code:
rpm -qa --last | grep "Sun 23 Mar 2008" |
|
|||
|
Awesome... I didn't know this could be done!
Bookmarked! |
|
|||
|
You can also do a search for a particular package.
Code:
rpm -qa --last | grep "kernel" Quote:
|
|
|||
|
Don't be afraid of the CLI. Learn a bit of using bash. grep is very powerful, and when you know what a pipe (the | character) does a new world will open up :lol:
|
|
|||
|
Quote:
Code:
rpm -qa --last | grep kernel Code:
rpm -qa --last | grep kde As yaloki pointed out to me on the IRC channel, in a case like this one can use: Code:
rpm -qa --last | grep ^kde |
|
|||
|
As I said, try to put a little bit of time in RTFM. The ^kde and other of these construccts are called 'Regular experssions'. Do man re_synrax to read all about it.
|
|
|||
|
Quote:
Freudian typo.
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|