November 18

Linux: rpm search

Find installed rpms
rpm -qa | grep packagename

Find the latest installed rpms
rpm -qa –last

If you know the month the backup was ran (eg. January) type the following:
rpm -qa –last | grep Jan

Category: Linux | Comments Off on Linux: rpm search
November 18

Linux: systemctl

systemctl action servicename
This is the replacement for the service command: service servicename action

systemctl enable/disable servicename – enables or disables a configured service
systemctl start/stop/restart service name – start,stops, or restarts a service

Category: Linux | Comments Off on Linux: systemctl