Operating Systems/Linux/Ubuntu/Ubuntu 22.04 LTS/baselines

From Vista Ridge Cyberpatriot
Jump to navigation Jump to search

On a fresh installation of Ubuntu 22.04 LTS:

To Get Packages: Open the "terminal" application sudo bash apt list --installed > installed_packages.txt cat installed_packages.txt

To Get Processes: Open the "terminal" application sudo bash ps -efwww > running_processes.txt cat running_processes.txt

To Get Listening Ports: Open the "terminal" application sudo bash apt install net-tools netstat -lntp > listening_ports.txt cat listening_ports.txt

To Get Systemctl Services: Open the "terminal" application sudo bash systemctl > systemctl_services.txt cat systemctl_services.txt