Shell

Setting Hostname in Debian

There are multiple ways of setting hostname in Debian or Linux system. You can temporarily change the hostname, or permanently apply the changes to a system. Let’s go over these methods. Setting hostname temporarily Let’s start with the temporary and simple method. The hostname command in Debian allows you to set up the system hostname …

Setting Hostname in Debian 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 »

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 uptime Command in Linux

As a Linux user, or as a server administrator, you need to regularly understand how long your servers have been up and running to understand their patch levels. What that means is that if a major update was recently rolled out, but a server has been up for a few weeks, you know that the …

The uptime Command in Linux Read More »

Linux Zip and Unzip Commands

With windows, you have a couple of well-known GUI utilities like WinRAR, 7zip, etc. that allow you to play around with archived files. What do you do in the case of Linux? Let me introduce to you, the Linux zip and unzip commands. These are very simple yet powerful commands that allow you to play …

Linux Zip and Unzip Commands Read More »

The mkdir command in Linux

The mkdir command in Linux is used to make directories, hence the command is named mkdir. With traditional GUI systems, if you want multiple directories, you have to create one directory at a time. The mkdir is a very flexible and customizable command in this matter. Let’s look at the functionality. Using the mkdir command …

The mkdir command in Linux Read More »