FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line

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 […]

Read more →

 

FAQ: static routes after restart/reboot in Fedora/RedHat/CentOS

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: How can I save static routes I set up in my Fedora/RedHat/CentOS Linux after I reboot […]

Read more →

 

FAQ: How to install Flash Player for Firefox in Ubuntu Linux?

Q: I can’t see flash content at various sites like youtube.com when I visit them through newly installed Firefox browser.. How can I install Flash Player in Firefox under Ubuntu? A: It is easy in most situations, so close all Firefox instances and run the following in terminal to install flash player for Firefox and other Mozilla based browsers in Ubuntu Linux: sudo apt-get install flashplugin-nonfree When finished, just open […]

Read more →

 

FAQ: Change forgotten or lost MySQL root password

Question: I forgot root password for MySQL DBE. How to reset or recover it? PLEASE HELP! Answer: Below is simple algorithm to reset MySQL root password in Linux, FreeBSD, OpenBSD and other Unix like operating systems: 1. Stop MySQL server process by one of the following commands: # /etc/init.d/mysqld stop # killall -9 mysqld # kill `cat /mysql-data-directory/host_name.pid` # mysqladmin shutdown To check if mysqld is killed run “ps ax […]

Read more →

 

FAQ: How to find out CPU load in Linux?

It’s rather trivial task to get information about how much of CPU time is consumed by Linux operating system, its components or various software it runs, but thankfully there are numerous utilities making it possible to get it. Some of them are included into certain Linux distribution, other aren’t but most of tools listed below can be used to find out CPU utilization statistics: 1. top top is very old […]

Read more →