Two very useful tools for extracting essential details on your Linux system OS and hardware are screenfetch and geofetch.
Each of these tools is actually a lengthy bash script that fetches the information from your system for you and presents it in an attractive manner with the distribution logo on the left and details on the right–essentially “screen shots” of your system. Neither is likely to be installed on your system by default, but each can be installed with a single command.
You can install screenfetch with sudo apt install screenfetch or sudo yum install screenfetch. Screenfetch is a script with nearly 6,500 lines. It will automatically detect your distribution and display the distribution, kernel, uptime, number of packages installed, shell you’re using, overall and available disk space, CPU, GPU and memory (in use and available). It also displays an ASCII art rendition of the logo related to whatever distribution it’s run on, but you can turn this off if you want to see just the list of details.
Source:: Network World – Linux