Question: How can I get information about hardware manufacturer, model name, serial number, BIOS information using Linux command line (CLI)?
Answer: You are welcome to use dmidecode which helps to get information about your system’s hardware as described in your system BIOS. That information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details depending on the manufacturer.
Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it to. Dmidecode was first written by Alan Cox and is now being further developed and maintained by Jean Delvare. It is released under the General Public License (GPL).
This tool can be easily downloaded from here (source code) or can be installed as binary package included into repositories of many distributions like Debian, Ubuntu, Gentoo. FreeBSD version is also available. Actualy it is reported that dmidecode works well on the following systems:
- Linux i386
- Linux x86_64
- Linux ia64
- FreeBSD i386
- FreeBSD x86_64
- NetBSD i386
- OpenBSD i386
- BeOS i386
- Cygwin i386
- Solaris x86 (CVS version)
In Ubuntu (my favourite distro) just execute the following: sudo aptitude install dmidecode (sample output is here).
Static routing is the term used to refer to the manual method used to set up routing. An administrator enters routes into the router using configuration commands. This method has the advantage of being predictable, and simple to set up. It is easy to manage in small networks but does not scale well.
Question: I forgot root password for MySQL DBE. How to reset or recover it? PLEASE HELP!






Recent Ideas