coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Wednesday May 22, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 31 guests online

Newest Member

nbewwmbxog

Hit Counter
11555840 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620226
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

how to find that installation date and time of an rpm package
Description

To find the install date and time of an RPM package:

# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH}) INSTALLED: %{INSTALLTIME:date}\n" | grep rpm_package_name

If you want the epoch time rather than human readable date:

# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH}) INSTALLED: %{INSTALLTIME}\n" | grep rpm_package_name

Example

rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH}) INSTALLED: %{INSTALLTIME:date}\n" | grep libaio

Return to search results

Random coolcommands

coolcommand: rrdtool - create a graph using one or more rrdtool (round robin database) database files
Example: rrdtool graph demo.gif --title="Demo Graph" DEF:cel=demo.rrd:exhaust:AVERAGE CDEF:far=cel,1.8,*,32,+ LINE2:cel#00a000:"Celsius" LINE2:far#ff0000:"Fahrenheit"
[show me the details]
coolcommand: how to find the serial number of an IBM p-series machine
Example: lscfg -vp | grep Cabinet
[show me the details]
coolcommand: fw - how to install a Checkpoint FireWall-1 license on a host
Example: fw putlic eval 2f540abb-d3bcb001-7e54513e std routers
[show me the details]
coolcommand: kerneld - allows kernel modules to be loaded automatically when they are needed in linux
Example: kerneld
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51943
Category AIX49010
Category General UNIX47572
solaris23554
aix22739

Terms of Use
Privacy
Contact


 
coolcommands.com © 2013. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum