Understanding Ubuntu’s hosts file

The hosts’ file is an extremely useful albeit small text file that stores host names with associated IP addresses. It is basically a mapping from hostnames to IP addresses. Any network protocol uses this mapping to convert hostnames to numeric IP addresses. The mapping is because the Network Layer does not work with the hostnames.

Understanding Ubuntu’s hosts file Read More »

Linux kill Command

The kill command in Linux is used to send a signal to a process or a group of processes. The name, unfortunately, chosen as kill, instead of signal, does not need to necessarily kill a process. As we will see, based on the values passed to it, it sends an appropriate signal to the Process

Linux kill Command Read More »

The alias Command in Linux

The alias command in Linux is used to make a shortcut or an alternative name for an existing command. So instead of re-typing the same commands with all the options over and over again, you can create a shorthand for the same and make it simpler to use in the future. How to use the

The alias Command in Linux Read More »

The head Command in Linux

We recently learned about the cat and the more commands in Linux. In this tutorial, we’ll be covering the head command which is pretty similar to the cat command in the essence that it helps you list down the contents of a file in the terminal. The head command has very few options, making this

The head Command in Linux Read More »

The mv Command in Linux

The mv command in Linux allows you to move a file from one location to another. Also, we don’t really have a rename command in Linux. Instead, we move files from one name to another. This is facilitated by the “mv” command which stands for move. For basic usage, you will find it very straightforward

The mv Command in Linux Read More »