Interesting And Lesser Known Facts About Linux

– Only 2 per cent of the code, which was originally written by Torvalds, remains in the current Linux kernel.

– Linux is used in government offices in many countries. In India, Linux is also used for educational purposes in Tamil Nadu.

– The top 10 supercomputers in the world use Linux. Linux accounts for 33.8 per cent of the world’s data servers compared to the operating systems from Microsoft, which account for only 7.3 per cent.

– Bullet trains in Japan, the New York Stock Exchange, CERN and the San Francisco traffic control systems run on Linux.

– Some of the biggest technology related companies like Google, Twitter, LinkedIn, Facebook etc. use Linux as their primary operating system.

– In 1991, the GNU project that was developed, did not have any kernels or drivers. That is why Torvalds was led towards working on the Linux kernel development.

– Hollywood director, James Cameron had said that hit movie Avataar was the first movie to be shot completely in 3D using free software on Linux-driven machines.

– The first Linux distribution to be offered by an original equipment manufacturer was Ubuntu. This was done by Dell.

– The well known and very popular digital recording system TiVo also uses Linux.

– Google’s Android operating system, which led to a revolution in the mobile phones industry, is known to be based on Linux.

– Linux itself is not an operating system, rather, it is a kernel. GNU Linus is the operating system.

– The original Linux kernel had only 10,239 lines of code, whereas, today the standard version of the kernel has only 10 million lines of code. This is growing at 10 per cent per year and nearly 4,500 lines are added to the code. In addition, about 1,500 lines in the code are altered almost everyday.

– Yggdrasil Computing Inc was the company that started commercial distribution for Linux for the first time. The freeware was launched on CDs by Yggdrasil in 1992.

– An asteroid has been named after Torvalds in order to honour him.

– A study conducted by the European Union showed that redeveloping the most recent Linux kernel would cost about $1.14 billion.

– The Linux mascot is a penguin named Tux. The name of the Penguin is based on the fact that a penguin’s body is coloured like a tuxedo. But, there are also theories that the name comes from the words Torvalds and Unix.

– The Debian operating system was the first GNU/Linux-based system, which was developed.

– Creator Torvalds originally wanted the Linux kernel to be called Freax. This could be a mix of the words free, freak and the letter X, which would indicate the fact that it resembles Unix. His friend, Ari Lemmke, who was the administrator for the FTP server that was hosting the kernel for downloads, called it the kernel of Linux Torvalds.

– The Linux kernel runs on so many operating systems that it is the most widely ported operating system in the world.


Handy Terminal Keyboard Shortcuts

Take these short-cuts handy to increase your productivity.

Cursor Movement Control
Ctrl-a: Move cursor to the start of a line
Ctrl-e: Move cursor to the end of a line
Ctrl-Left/Right: Navigate word by word (may not work in all terminals)

Modify Text
Ctrl-w: Delete the whole word to the left of the cursor
Ctrl-k: Erase to end of line
Ctrl-u: Erase to beginning of line

Scrolling/Buffer Control
Shift-PageUp/PageDown: Scroll through current buffer
Ctrl-s: Pause terminal output (program will keep running)
Ctrl-q: Release terminal output (after being paused)
Ctrl-l: Clears the screen. Use this instead of the clear command.

Ctrl-r: Search the history (enter to run the command once found)

Bonus Tip: Use ‘!!’ command to run last command and ‘!com’ to run the last command starting with ‘com’.

Process Control
Ctrl-d: Exit
Ctrl-c: Kill the current process
Ctrl-z: Put the current process in the background (fg will restore it)

if any other Short cut key comes to my mind, It will be posted on Social media @facebook @twitter.

Source: thelinuxdaily

Watch Movies in Your Linux Terminal Window

Linux console is something really special :: we can watch videos and we can also listen to radio with it.

It may sound strange, but you may watch videos without GUI. And MPlayer will be your assistant. MPlayer is a powerful multimedia player for GNU Linux.

In terminal the video appears in ASCII code format. The video output is little bit clear in case of Cartoon videos because it consists of less details while on the other hand the HD videos or movie trailers etc.. may not be clear but anyways its FUN to try playing videos on terminal.

You may ask what do we need that for? Well, the first reason is to show Linux capabilities, and then, you never know what you might need. So, here we go.

  • The first step i am gonna do is install Mplayer and FBI image viewer(for displaying image in terminal)
yum install mplayer fbi


Then to actually watch video in terminal use the following syntax, replacing the File name of your video.

mplayer -vo caca MovieName.mp4

The “caca” command is actually the color text driver– you could also use ” -vo aa ” instead for black & white.

The video output will be somewhat like this :


Linux Takes Over International Space Station

The United Space Alliance, which manages the computers aboard the International Space Station in association with NASA, has announced that the Windows XP computers aboard the ISS have been switched to Linux. “We migrated key functions from Windows to Linux because we needed an operating system that was stable and reliable.”

In specific, the “dozens of laptops” will make the change to Debian 6. These laptops will join many other systems aboard the ISS that already run various flavors of Linux, such as RedHat and Scientific Linux.

Given that most scientific research is being done on Linux, the switch away from Microsoft products was the right choice for NASA and the United Space Alliance. Scientific applications, which can be decades old in some instances and include embeded systems running instrumentation, need stability and long-term consistency to function properly. Engineers and developers can’t be limited to waiting on big software vendors for needed changes and security patches.

With the switch to Linux NASA and the United Space Alliance will be able to take over the modification and customization of the ISS software and move away from dependence on outside vendors.

Communicate with other users in your terminal using “write” command

If you are only user on a system this tutorial is not meant for you. However, you can learn from it. This tutorial is meant for the system admin who might need users information and need to communicate with users. System admin can actually do so using the Terminal with “write” utility.

who: list users on system

This utility simply list the users who is using the system. Remember, all the users who is using the system must be connected to a network with logged in date and time.


w: list users on system(Detail information)

This utility also list the logged in users with the the additional information on how long the user has been idle, how much computer processor time each user has used during login session and the commands each user are running.

There’s a similar utility like “w” called “finger.” You need to install finger utility in your system. It is available in repository of all Linux systems.


Write: send messages to logged in user of same system

This is the utility that we are waiting for. Write sends a message to another logged in user. The syntax is:

write username [terminal]

The username is the username you want to communicate with. The terminal is optional which is the device name. You can display the user names and device names of logged in users by using who, w or finger commands.

To establish the two way communications both the user should execute write command. To quit messaging hit “Ctrl+D”.

By default, accepting messages are turned off for security reasons. You must allow other users to send you message. Use the following command:

mesg y

You can block messages using following command:

mesg n


Download Youtube Videos from Terminal in Fedora Linux

Shocked!! Yeah guys we can download not only videos from YOUTUBE but also from DAILYMOTION, METACAFE and many more using Terminal in Fedora. Just follow the steps given below :

We will use the tool called “Youtube-dl” which will help us download the video. Youtube-dl is a python script which also supports video downloading from metacafe, dailymotion etc. This tool sure can download videos from youtube but from other video sharing websites try it yourself.

First, let’s install the youtube-dl. It is available in default Fedora repository, as a root user or access type:

sudo yum install youtube-dl

After successfully installing youtube-dl, the syntax to download the video is:

youtube-dl youtube_link

I am going to download Fast and Furious 6 official trailor. I will just copy the link, open the terminal and type:


Some shells might have problem and won’t work without the code so add the quotes or restart your PC.

youtube-dl "youtube_link"

The video will be successfully downloaded in my HOME directory. You can download as many videos as you want at the same time using terminal tabs or multiple terminals.

Screenshot from 2013-05-13 13:13:37


Steps to configure Mobile Broadband in your Ubuntu

These are the steps to add the repository and configure the mobile broadband in your ubuntu .

1) Open Terminal and switch to the root user by using this command:

/#  sudo su

2) First and foremost you have to install wvdial. Use the command to do the same:

/# sudo apt-get install wvdial   

You will be prompted whether to install or not. Press Y and complete the installation.Now you can configure the settings for the mobile broadband.

3)  Type the following command:

/# gedit  ./etc/wvdial.conf

A new gedit window(blank) will open and with the name wvdial.conf

4) Now add the following codes in that file and SAVE it.

[Dialer Defaults]
Stupid Mode = 1
Inherits = Modem0
Password = mts //password as given by your broadband provider//
Username = //username as given by your broadband provider//
Phone = #777
Init1 = ATZ
SetVolume = 0
Modem = /dev/ttyUSB0
Baud = 115200
FlowControl = Hardware (CRTSCTS)
Dial Command = ATDT
Note: Identify the USB port in which you have plugged in the device and replace the that port number in
the 4th line of code from the bottom. The default is USB port 0
Modem = /dev/ttyUSB0


4) Mobile braodband is setup successfully.

5) To connect to the internet, open terminal and switch to root user and type:
/# wvdial