Hello linux-fanatics, in this post i will be discussing some important that will make your life as System Administrator. As we all know being a good System Administrator means knowing everything about your IT Infrastructure & having all the information about your servers, whether its hardware or OS. So following commands will help you out in extracting out all the hardware & system information.
1- Viewing system information
$ uname -a
It will provide you all the information about your system. It will provide you with Kernel name of system, Hostname, Kernel version, Kernel Release, Hardware name.
2- Viewing Hardware information
$ lshw
Using lshw will show you all the Hardware information on your screen.
3- Viewing Block Devices(Hard disks, Flash drives) information
$ lsblk
lsblk command prints all the information regarding block devices on screen. Use lsblk -a to show all the block devices.
4- Viewing CPU information
$ lscpu
lscpu shows all the CPU information on screen.
5- Viewing PCI information
$ lspci
All the network adapter cards, USB cards, Graphics cards are termed as PCIs. To view their information use lspci .
lspci -v will give detailed information regarding PCI cards.
lspci -t will show them in tree format.
6- Viewing USB information
$ lsusb
To view information regarding all USB controllers & devices connected to them, we use lsusb
7- Viewing SCSI information
$ lssci
To view SCSI information type lsscsi. lsscsi -s will also show the size of partition.
8- Viewing file system information
$ fdisk -l
Using fdisk -l will show information regarding the file system. Although main function of fdisk utility is to modify a file system, you can create new partitions, delete old ones ( more on that in my future tutorial).
That’s it for now my fellow Linux-fanatics . You are advised to check out my other posts regarding Linux commands HERE & another one HERE
Also i value your valuable feedback, so please leave your suggestions, commentss or queries down below in the comment box.
If you think we have helped you or just want to support us, please consider these :-
Connect to us: Facebook | Twitter | Google Plus
Become a Supporter - Donate us some of you hard earned money: [paypal-donation]
Linux TechLab is thankful for your continued support.