Monthly Archives: July 2013

In-depth coverage of 3 Popular Command Line Music Players for Linux

Command line is one of the strongest merits of Linux and that is the reason it has a very strong following.  When it comes to performance and convenient interactivity, command line users want everything command line and text-based including music players. Therefore, in this article we shall be discussing three of the most popular and efficient command line music players available on Linux.
Continue reading

All you wanted to know about workspaces in Ubuntu Linux

Workspaces can be thought of as virtual screens or desktops which can be used to manage your open programs easily by grouping them together. Each workspace has same panels, menus etc. It’s just that they are separated from each other so that user can segregate his/her work.

For example, I personally keep all my work related windows in one workspace, all messengers, e-mail clients etc. in other and any system backup or upgrade related windows in a separate workspace. In this article, we will discuss how to enable and use workspaces in Ubuntu 13.04.

Continue reading

Capture Screen, Window or User Defined Area Using gnome-screenshot Utility

Many of us use ‘Prnt Scrn’ key to capture snapshots for our day-to-day work. On Ubuntu there is a bug that disables this key when a drop down menu of a program is open. I too faced the same problem and looked around for a tool that might do the required job. After a bit of googling, I found that there exists a command line utility gnome-screenshot (for gnome environments) that can do most of the screen-shot capturing work smartly.

In this article, we will discuss how to use gnome-screenshot utility along with its options through some examples.
Continue reading

cal & ncal – Linux Commands To Display Calendar Information

Linux provides ncal and cal utilities which can be used to display calendar on command line. Once you get used to them, you’ll realize that things are faster with these utilities as compared to manually looking for calendars in GUI. Both of these utilities, when combined, provide a rich set of options through which you can display calendar in almost any way. In this article, I will explain how to use these utilities to display calendar on Linux command line.

NOTE –  All these examples are tested on Ubuntu Linux.

Continue reading

Hash Tables – using hash command and available implementations

Introduction to Hash Tables

Hash table is a data structure to store key value pairs. As in, a table where each entry has a key and a corresponding value. In other words, it is like an array with indices having the flexibility to be of any type i.e. integer, float, char, string, etc. Henceforth, these indices are termed as keys. So, it is a way of laying down the structure such that, a key maps to the data and that is how we retrieve and access all data efficiently. The efficiency comes from the fact, the key is directly used as an index to search/access any data without caring about traversing the entire data-structure.
Continue reading

8 Interesting And Really Helpful Vim Editor Features

In one of our earlier article on vim, we discussed about macros and bookmarks. Besides these features, there are many other features that are very helpful while text and code editing in Vim editor. In this article, I will present eight interesting and really helpful features that I use every time I work on Vim editor

Continue reading

Memory Corruption – Debugging Tools in Linux

In part I, we learnt about the memory corruption and the probable causes. Presently, there are plethora Linux tools available to combat the issues of memory corruption. Such Linux tools assist a great deal in detecting the memory corruption and resolving them. In this article we will cover 3 popular open source tools available for debugging memory corruption related problem on Linux.

NOTE – Information related to installation of debugging tools is Ubuntu specific.
Continue reading

Building Blocks Of Linux Boot Process

Linux boot up process can be categorized into various steps. It is important to know about this process or at least the building blocks of this process in order to debug start-up problems or to perform start-up customizations. In this article, we will cover basic building blocks of Linux boot process.
Continue reading

New To Programming? Say Hello To Memory Corruption

Every process in any operating system would use memory to store its code and data. Same is the case with processes in Linux. However, the onus is on the programmer to see if the memory is being properly used or not. This is essential, as memory issues lead to copious bugs and bizarre behaviours. As the program memory store data values, which are associated to the logic and flow of the process, memory corruption may take place. That is, if a memory gets overwritten or a pointer pointing to a memory gets altered.

In this article, we shall discuss memory corruption issues in Linux programming and the various ways to debug and resolve them.

NOTE - Though memory corruption can be directly associated with programming language but its debugging techniques (debugging tools etc) may depend upon the OS you are using. All the examples and commands used in this article are tested on Ubuntu Linux. Continue reading