Archive for the 'Linux' Category

Tiny Core Linux is one of my favorite lab OS

Due to the type of work I do, I have often the need for small (Actually very tiny) VMs that have a functional OS to test certain basic functionality such as connectivity and quick features of automation solutions. While I could use a full blown OS for it, I have always found Tiny Core Linux to be my favorite for this use case for the following reasons:

Tiny Core Linux Logo

1- It’s Open Source and free!!! Oh, yeah I would have not paid for other type of OS usually for lab or test use and used a try out version or so on, but it get tiring after a while to see your try out version expired and having to re-setup a new one at the time you most needed it, when running a demo!!

How to check for NICs installed in your Redhat Machine

When asked how many NICs are installed in the Redhat Machine you are working on, you don’t have to run to the server room to check how many physically have been installed. Actually you don’t even need a screw drive to open the box and figure that out. It seems a lot of people are asking this question on daily basis: “How can we find out how many NICs are installed in our Redhat host without checking it physically?” As with everything else for Linux, there is a command that can do the trick for you and reports all the NIC cards that have been detected by the kernel. Below is all the commands you will need for the task:

Install Flash Player on Ubuntu 10.04 64bit

This article will show how to install Flash Player on Ubuntu amd64 (64bit)

First of all, and to see if you have installed Ubuntu 64bit or 32bit Ubuntu, run in a terminal:

uname -m

The terminal will respond: x86_64 (meaning it is 64bit) or i686 (then it is 32bit)

The flash version that is installed by default in the system is from Medibuntu repositories for Ubuntu amd64. It’s the same that is installed with the  “ubuntu-restricted-extras” metapackage, but it is actually a 32-bit version, which is more stable. These instructions are for those who want the 64-bit version.

There are several ways to install 64bits flash and most of them will be discussed here.


Things to do after installing ubuntu 12.04 – PART II

By default, Ubuntu comes with everything that is necessary for everyday use, but as each user has different preferences, this article will describe some things that can be done after installation. For the first part of this article you might want to check out:



It is advisable to take a walk through the “System Configuration” menu where the user will find many options to configure Ubuntu. By default it is shows as part of the Launcher (launcher bar). It can also be opened it from the icon at “Shutdown> System Settings” on the right top panel.

In addition to the menu options mentioned above, there are many applications that can be installed to customize an Ubuntu installation, one of them is remarkable:

Bash – Introduction and configuration files

In this article on the shell Bash, we will try to explain in a simple way how to configure, operate and program in Bash. There are other command interpreters that are fully functional and powerful, but we will focus on Bash as it is the most used.

Every UNIX system administrator in general and Linux in particular, should learn a minimum of programming tasks in Bash so that he can automate and manage tasks and jobs in the system. There are many options, and once you take a liking to this programming language, you can not imagine a day as administrator without using these techniques.

How to configure sound or audio in Ubuntu 10.04, Ubuntu 9.10 And Later (10.04 – 10.10)

First of all, I would like to point out that most of the times audio problems are due to misconfiguration.


Since Ubuntu 9.10, there is a default configuration tool called “Pulseaudio” with a new interface that we can configure to match our sound preferences.


Right click on the speaker icon next to the hour and choose “Sound Preferences”. We find the following tabs:

  • Output volume -> will be in all tabs and is the main volume. We must disable “silence” as it comes enabled by default.
  • Sound Effects -> To set up alerts.

Downloading flash videos to /tmp folder in Ubuntu 10.02 and above

With Ubuntu versions prior to 10.02, video files we watched on our browsers by using the flash plugin could easily be found in the /tmp/ folder. Giving the found file a human name and moving it to our home folder would make it all the way to enjoying those videos offline. But after the Flash Player plugin update to version 10.02 on Ubuntu 10.10 flash videos no longer appear in /tmp.

The story has changed, those of us who were used to download Flash videos, by looking for them in the mentioned directory and then copy the files to some other folder without any additional software, we’ve found that the technique no longer works because the files are no longer stored in that directory.

Monitoring sensors and temperatures in Ubuntu 12.04

Checking  the temperature of your hardware (processor, graphics card, hard drive …) is important to know how our computer is doing and if you have problems with high temperatures, either by  degradation of the materials in contact with the micro or simply by a fan that stopped working.


To prevent any of these problems, we will see how to monitor the temperatures of a machine running Ubuntu 12.04.




To detect motherboard and processor Sensors we need to install the “lm-sensors” library  (lm-> is a lowercase) in a terminal with the command:

sudo apt-get install lm-sensors


Remote Desktop on Ubuntu

Remote Desktop allows us to see and even control the desktop of another computer from your PC. For example, we have a shop and want to view and control some video security cameras that are connected to a computer from another point in our house.





This can be done by means of a local network and over the internet, but only if the computer you want to view and control has a static IP.

Nowadays, almost everyone is behind a “rooter” that provides a dynamic IP, which varies each time the system boots. If that is the case, rooter settings must be changed from a web browser by entering the following in the address bar: (for example) and change the type of IP (static). Port  5900 should be open also, which is the one to be used, as the rooter usually has a firewall.

Manage users and groups in Ubuntu 12.04

There are two ways to manage users and groups in Ubuntu:

1. Graphical -> The simplest way.

2. Command line text -> More technical but more powerful, several things can be done at once.




With Ubuntu 4.12, graphical user interface is now called “user accounts” and some options have been removed. Basically, users can only create/delete users, manage account type, language, password and startup options.

If options from earlier versions are needed, the “gnome-system-tools” package must be installed. This can be achieved by means of the software center or by typing the following in the command line:

sudo apt-get install gnome-system-tools