You can check Windows system information and Linux system information by the command prompt.
Linux system 's information can be check by the below command.
lshw: List of hardware
we can print it in the file format like the text or Html
for that
run command as below mentioned
lshw > systeminformation.txt
In the windows operating system, we can check by the computer 's properties by the right click on This PC icon then click on properties.

We can also check system information with the help of the command prompt.
Windows keys+ R > cmd > system info
There will be displayed computer information on a black screen