Category Linux

The ‘touch’ command in Linux

The touch command in Linux is used to update timestamps on files, namely, the access and modification time for any file(s). This is basically ‘touching’ the file, and hence the name of the command. This command has different options through…

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…

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…

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…

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…