Note:- All the commands mentioned below are executed as a root user. Hence use the super powers with utmost care. (cough !) and btw give this article a read as it’s similar to what we shall be digging inside the Linux terminal for system information etc.
sudo dmidecode -t memory
sudo dmidecode -t system
for BIOS, here
sudo dmidecode -t bios
for processor
sudo dmidecode -t processor
The most common and widely known command is here,
sudo fdisk -l
sudo hdparm /dev/sda1
and now to print the geometry in terms of sectors, cylinders, heads, size etc. just use the -g option.
sudo hdparm -g /dev/sda1
just install the required package for concerned Linux distro like,
apt-get install lsscsi [For Ubuntu and Debian]
yum install lsscsi [For Red Hat based systems]
dnf install lsscsi [For Fedora 21 and above]
These devices include usb ports, graphic cards, network adapters etc.
lspci
lsusb
also you can use the -v option to generate a detail info of each USB device.
these devices are storage devices like hard disks, flash drives etc.
lsblk
-a option can b used to view all block devices.
lscpu
lshw -short
And now finally we have the top command:-
top
Hence these were the best 10 Commands to collect hardware and system information in Linux which i could curate as of now.
This is not an ad-vocation by any means for TP-link branding, however a real life…
First of all we need to hit the kernel version on any Android device. You…
Use resolvectl status instead. It's like something deprecates and suddenly things get broken! In systemd…
Geeky question: This is what people and friends have tried: rsync -arv --exclude "/home/john/.ccache:/home/ben/build" /home/john…
You might encounter this error which appears to be very common on Debian based Distro's…
PS: This article is for only Kali Linux users, that too having a Broadcom Wireless…