Author Archives: Rupali

About Rupali

Rupali Sharma holds an Honours degree in BE. She holds several years of experience in Linux software development and has worked on several programming languages like C/C++, Assembly etc. She contributes as author and content Editor at MyLinuxBook.

Funny And Interesting Linux Commands – Part II

In part-I  of this article series, we covered many interesting and funny Linux command line utilities. I am pretty sure, many readers would connect to me, when I say, such commands and utilities work as great stress relievers in between the work. So, definitely, we want more. So here in this article, we shall discuss more such interesting command including a few games. Excited? So, lets begin.

Note: All installation information is specific to Ubuntu Linux.
Continue reading

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

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

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

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

Less Popular But Useful Linux Commands

Ever since from the age of unix to the present unix-like linux distributions, the linux world has added plethora commands to the kitty of linux users. At times it is just too difficult to keep in mind the complete set of available commands. However, we don’t even need to memorize all of them. It is sufficient to just be aware of commands and keep in mind the ones which are related to linux lives. Here I am consolidating a list of less popular but useful linux commands and how they work. I am sure, most of these commands would interest you and make your tasks simpler and efficient in some way.

NOTE – To read more about Linux command line tips, read our articles on Funny Linux commands and Interesting Linux command line tips and tricks.

 

Continue reading

Linux Vim Editor Tips and Tricks – Save Time Through Macros and Bookmarks

Vim is one of the popular text editors of Linux. Because of its capabilities, there is a large fan base of this command line based text editor. In this article, we will discuss some impressive features of vim editor that can help you save a lot of time while working on vim.
Continue reading

Linux Command Line Alternatives – Leave The Mouse To Rest!

My family bought our first personal computer in the Windows dominated era. So, of course, Windows was the first operating system we started using. Not just that, we even used to enjoy it unless we started learning Linux and its various flavours. Why is it so? Well, I found it better than Windows in most of the cases. (Here is an article which discusses some reasons that make Linux a better operating system for users). But one thing remained insatiable was what makes typing the commands on Linux command line a better experience than clicking impressive GUIs?

 

Linux Command Line vs GUI

As the saying goes, “we learn it best when we do it ourselves”, therefore after switching to Linux I personally felt the efficiency and quickness of tasks getting done through command line verses through graphical user interface (CLI vs GUI). And the major reason being, even a mouse click generates an action which will trigger the execution of the same executable as we do through the command directly. Hence, running the same task through GUI involves an extra overhead of calculating the mouse pointer coordinates, raising a click action etc. In case, there are input options required, it adds on to the overhead. All this handling of the overhead takes some time at the cost of impressive visuals and to avoid typing.

Well, to talk about deep driven merits of using command line as compared to GUI, here is a synopsis of abstract points:
Continue reading

The funny side of Linux command line

Have you ever seen a train running on Linux command line? Have you ever seen ‘Tom and Jerry’ on Linux command line? Well, working on Linux command line is not that serious always. There lies a fun factor too. Here in this space, we shall discuss the idiosyncrasies of Linux command line.

Assumption: Ubuntu Linux is used for all the examples in this article. The command line utilities described in this article may or may not be present by default on your Linux system.
Continue reading