We use the df command to find total disk space and available space on a Linux / Unix file system. Let us see how to use the df command to view the amount of free space left on your Linux, macOS, *BSD and Unix file system. We will also explain how to automate disk space monitoring and send an email alert or push notification to your mobile device.
There are many commands available to check hardware information of your Linux system. Some commands report only specific hardware components like CPU or memory while the rest cover multiple hardware units.
This tutorial takes a quick look at some of the most commonly used commands to check information and configuration details about various hardware devices.
Source: Check Hardware Information On Linux via Command Line (Make Tech Easier)