This is a script that will print basic (but useful!) stats and information about the current system to a text file. The script creates a new directory at ~/Documents/Sys_Audits/ if necessary, then writes the results of the various commands below to a file named sys_audit.txt. This can be run manually or set as a cron job to run automatically. Note that the script is set to overwrite itself every time it runs so you can set a cron job to run as often as you like and you will always have an up-to-date text file to peruse.
All of these commands are easy enough to issue manually when specific information (such as kernel version) are needed, but this is a quick way to get a big picture of your Linux system or VM in less than a second.
The download link is located below the image — don’t forget to make this file executable once you have it downloaded.

https://drive.google.com/file/d/1R2k1lxNvTt-SQVzUK4SC9su64K-oBq1e/view?usp=sharing