Articles by Himanshu Arora
-
Useful Gedit Plugins for Software Developers
Author: Himanshu Arora • Tags: desktop, linux, ubuntu • Comments: 6 • Updated: Mar 07, 2023Gedit offers almost all the features expected from a basic text editor, but if that's not enough for some reason, you can add more functionality to it through plugins. This tutorial covers three of the most useful Gedit plugins for programmers.
-
Linux Head Command Explained for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Updated: Mar 07, 2023In this article, we will discuss the basics of the head command using some easy to understand examples. Sometimes, while working on the command line in Linux, you might want to take a quick look at a few initial lines of a file. For example, if a log file is continuously being updated, the requirement could be to view, say, first 10 lines of the log file every time.
-
10 Linux cat Command Examples for Beginners
Author: Himanshu Arora • Tags: linux • Comments: 1 • Updated: Mar 06, 2023If you a regular Linux command line user, I am sure you must have used the cat command. The tool is mostly used for displaying contents of a file, although it provides many other small but useful features. In this article, we will discuss the cat command in detail, explaining some of its key features.
-
-
How to Debug C Programs in Linux using gdb
Author: Himanshu Arora • Tags: linux, programming • Comments: 1 • Updated: Feb 17, 2023If you are a C/C++ programmer or develop software using the Fortran and Modula-2 programming languages, you'll be glad to know there exists an excellent debugger - dubbed GDB - that lets you easily debug your code for bugs and other problems. In this article, we will discuss the basics of GDB, including some of the useful features/options it provides.
-
How to Open Files in Default Desktop Application from Command-Line on Ubuntu
Author: Himanshu Arora • Tags: linux, shell, ubuntu • Comments: 6 • Published: Feb 17, 2023What do you do when you want to open a PDF file in Ubuntu? Simple, double click on the PDF file icon, or right-click and select the "Open with Document Viewer" option. But what if you're asked to do the same task through the command line? Do you know the command line utility that will do the job for you? However, you'll be glad to know that there's way through which you can launch Evince for a PDF file, even if you don't know the fact that a command line utility of that name exists, and that's what we'll be discussing in this article.
-
How to use the fuser command in Linux
Author: Himanshu Arora • Tags: linux, shell • Comments: 2 • Updated: Feb 17, 2023Suppose you are given a task to identify the processes that are using a particular file, and then kill them one by one - all this has to be done from the command line. What would you do? Well, if you are a command line newbie, I am sure you'd be clueless, asking around for help. But command line pros will likely have an idea that there exists a command line utility in Linux that lets you identify processes based on the files (or directories, or sockets) they are accessing. Not only that, the tool also allows you to kill these processes, so you don't have to use the kill or killall commands separately. The command line utility we're talking about is fuser.
-
Linux md5sum Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1 • Updated: Feb 03, 2023While we have already discussed the cksum command line utility, there's another tool that you can use in scenarios where, say, you need to verify the integrity of files during transfers. The tool we're talking about here is md5sum. In this tutorial, we will discuss the basics of this command using some easy to understand examples.
-
Linux cmp Command Tutorial for Beginners (7 Examples)
Author: Himanshu Arora • Tags: linux • Comments: 0 • Updated: Feb 02, 2023Pretty much regardless of your role, if your regular work involves doing stuff on the command line in Linux, you may find yourself in a situation where-in you'd want to compare two files using a command line utility. There are several command line tools that let you do this, and one among them is the 'cmp' command.
-
Linux pidof Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Updated: Jan 30, 2023Linux command line offers a lot of utilities that work with processes. Once such tool is pidof, which - as the name suggests - gives you the process ID of an already executing process. In this tutorial, we will discuss the basics of pidof using some easy to understand examples.
-
Linux pwd Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Updated: Dec 02, 2022The pwd command, like ls and cd, is one of most frequently used Linux utilities. Regardless of the kind of user you are (newbie or pro), you'll find yourself using this command line tool a lot. So in this tutorial, we will quickly discuss the basics of pwd through some easy to understand examples.