Linux

Installing MySQL on Debian/Ubuntu

The installation for MySQL on Debian will be through the APT repository. Now there is a default MySQL server installation and one that is offered by Oracle through their software repositories. We’ll take the official route by first adding Oracle’s sources first and then installing the MySQL server. How to Install MySQL on Debian/Ubuntu Before …

Installing MySQL on Debian/Ubuntu Read More »

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 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 »