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 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…
In our Shell scripting 101 today, we’ll learn how to make use of if else in shell script and what different situations require the use of the if and else statement in Linux. A demonstrated use of “if statement” was…
The df command in Linux is a powerful tool for monitoring disk usage and the available amount of space on your system. Whether you’re a Linux server administrator or a regular user, understanding how to use the df command can…
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,…
Moving ahead with our tutorials now, let’s introduce the for loop in shell scripts in our today’s topic. We’ve already covered the while loop in our previous tutorial and used the break and continue statements to quit the while loop…
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…
With a boom in back-end web development technologies, working with the right framework can make or break your web development efforts. Python Flask is one of the many good frameworks out there. Flask is a popular Python web framework that…
Tired of using the same old default hostname that comes with your Ubuntu 18.04 server, and want to change it? And you want to do it now, without having to restart? Oh yes, you can do both!! Let us see…
Switch case in shell scripts is an efficient alternative to the if-elif-else statement we learned previously. The concept of the switch case statements is that we provide an expression for different cases (conditions) to the statement that, when fulfilled, will execute specific…
Changing the SSH port on Linux is pretty easy and straightforward. As it is with most of the packages that are available for any Linux distribution including Ubuntu, they come with a configuration file. Let’s modify that configuration file and…