Author Archive: Himanshu Arora
Himanshu Arora is a software programmer, open source enthusiast and Linux researcher. He writes technical articles for various websites and blogs. Some of his articles have been featured on IBM developerworks, ComputerWorld and in Linux Journal.
Vim is one of the most popular and powerful command line text or programming editors available on Linux. It already provides so many features that it is almost impossible for a person to learn and use each of them. But still, sometimes, you might find yourself asking for more. This is where plugins step in. […]
Are you a programmer or a system administrator? Does your job requires you to search through long and complex log files? Although there are many command line tools (like grep) that you can use for this purpose, if you are looking for a GUI based application, try Glogg. In this article, we will understand how […]
Processes are fundamental to Linux operating system. In order to understand how a Linux process works, it's important to know about its environment. For example, things like how main() function is called, how command line arguments are passed to a program, how a program accesses environment variables, how a process is laid out in memory, […]
Directory navigation is one of the most basic concepts when it comes to understanding any command line system. Although it's not a very difficult thing to understand when it comes to Linux, there are certain tips and tricks that can enhance your experience, and help you do things faster. In this article, we will discuss […]
Twitter has many popular clients but most of them are graphical. When it comes to Linux, I am sure there would be many command line freaks who would like to know about a command line alternative. In this article, we will learn how to install and use ttytter -- one of the most popular command […]
systemd is a system and service manager that is designed specifically for Linux kernel. It replaces the init process to become the first process (PID = 1) that gets executed in user space during the Linux start-up process. In this article, we will study the basics of systemd. Note - The term init in this […]
The top command in Linux is used to display a real-time view of processes that are running in the system. It provides very useful information like CPU utilization, memory consumption, and more, related to every process. But, do you know there exists another command line utility 'htop' that provides more information and features when compared […]
Linux command line offers various commands to kill a process. For example, the 'kill' command can be used to kill a process by passing its PID as an argument, the 'pkill' command takes a pattern as an input and all the matching running processes are killed. But there exists a command 'killall', which exactly matches […]
As beginners, most of the C/C++ programmers compile their programs on Linux command line by running the gcc or g++ compiler commands. But, as their projects start to grow, compilation through a single command does not remain easy and effective. As a solution to all the compilation related problems, you need to understand the concept […]
The make command in Linux is one of the most frequently used commands by the system administrators and the programmers. While it helps administrators in compiling and installing many open source utilities through command line, programmers use it to manage the compilation of their large and complicated projects. In this article, we will discuss the […]
If you are a windows user, you'd have definitely used the 7zip file archiver. It not only has the highest compression ratio but it also supports a host of archive formats like 7z, LZMA2, XZ, ZIP, Zip64, CAB, RAR, and more. In this article, we will discuss how to use the 7zip archiver on Linux […]
In this article, we will discuss the concept of endianness and structure padding through C examples. Here are the details of testing environment : OS – Ubuntu 13.04 Shell – Bash 4.2.45 Compiler - gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 System Endianness Have you ever given a thought on how multi-byte data-types (like integer, float, etc) are […]
In the part-1 of this series on Linux signals, we discussed the fundamentals of signals in Linux. In this article, we will discuss the practical aspects of signal handling in Linux through the signal() function. All the explanations will be accompanied by practical examples.
Linux offers powerful command line alternatives especially when it comes to text editors. But, most of the users do not prefer command line text editors because of the steep learning curve. I had the same perception until I actually started using one of the most popular command line text editor -- Vim. Though, I agree […]