Articles by Himanshu Arora
-
Linux vmstat Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1If you are looking for a command line utility that you can use to access information about processes, CPU activity, memory, and more, you'll be glad to know that vmstat does this for you.
-
Linux printenv Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1Environment variables play a major role in Linux. Most programs, whether command line based or GUI based, deal with environment variables in one way or the other. So naturally, there are tools that let you access environment variables from the command line. One such tool is printenv. In this tutorial, we will discuss printenv using some easy to understand examples.
-
Linux mktemp Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 4Creating temporary files or directories is a common task that many Linux command line users do. But there's a dedicated command line tool - dubbed mktemp - that lets you do this.
-
-
Linux tcpdump Command Tutorial for Beginners (8 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2Everytime you open a webpage on your computer, data packets are sent and received on your network interface. Sometimes, analyzing these packets becomes important for many reasons. Thankfully, Linux offers a command line utility that dumps information related to these data packets in output.
-
Linux shred Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1This tutorial shows how to delete data safely on Linux by using the shred command. All examples in this article have been tested on an Ubuntu and Debian, but they should work on any other Linux distribution as well.
-
Linux vdir Command Tutorial for Beginners (8 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1Listing contents of a directory is one of the most basic tasks that users (both pro and noobs) find themselves involved in. The ls command is hands down the most popular tool used for this purpose. There are some alternatives. For example, there's a utility called vdir, basics of which we'll be discussing here.
-
Linux whatis Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2Man pages are one of the most useful resources when it comes to understanding command line utilities. A man page, however, contains a lot of details about the command. IIf you are looking for a short help text, the command whatis becomes handy.
-
Linux pkill Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2In Linux, if you need to kill a process (for whatever reason) through the command line, you can use the kill command, which requires you to pass as input the ID of the process you're trying to terminate. But did you know that there also exists a way to kill processes without specifying their PIDs?
-
Linux tr Command Tutorial for Beginners (with Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 1Depending on the kind of work you do on the command line in Linux, you may want a utility that can act as a Swiss army knife for quick text editing. Gladly, there exists a tool dubbed tr, which qualifies for this role.
-
Linux Join Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux • Comments: 2
Sometimes, you may want to combine two files in a way that the output makes even more sense. For example, there could be a file containing name of continents, and another file containing names of countries located in these continents, and the requirement is to combine both files in a way that a continent and the corresponding country appear in the same line.