Breakdown of what is installed and running in RHEL
-
I'm going through the process of fully breaking down RHEL 5, 6 and 7 VM's. This includes scripts, cron jobs, installed packages, etc. I want it to be as granular as possible while still being readable. Is there something I can install to achieve this or should I just be using the typical tools and breaking it down piece by piece?
-
Use
rpm -qa > installed.log
which will generate a complete list of things installed. -
Use
systemctl | more > running.log
to see everything that is running. (CentOS7 and newer) -
For Centos6 and older you'd use
service --status-all > running.log
-
As for cron jobs, you'd have to look at the individual users on the system as each of them can have their own cron job(s).
Since you can easily find each user on the system, you'd use
crontab -l -u <username>
to print whatever is in their cron files. -
@DustinB3403 Appreciated
-
@wirestyle22 said in Breakdown of what is installed and running in RHEL:
@DustinB3403 Appreciated
You're welcome.