In this article, we will show you how to make use of the alias command through some useful examples. We’ll cover creating aliases, show you a few useful examples, and show you how to delete aliases as well.
If you are working on the command line a lot of the time, you may have noticed that most of the commands you use are extended commands with flags, or options, along with piping the output of commands into other programs.
Imagine that every time you needed to change directory, you would have to type “change-directory” instead of “cd” or if every time you needed to list the contents of a directory, you’d have to type “list” instead of “ls“. That’s why the makers of most commands attempt to eliminate the long names of the commands and replace them with shortened names. It reduces the amount of typing you have to do to get things done, and also makes the commands easier to remember as a bonus, thanks to the shorter name.
Basically, bash aliases are just shortcuts for the longer commands. The alias command allows us to run any command or even a group of commands (which includes options and filenames) by typing a custom phrase (which can even be just a single word) into the command line.
Before we start with setting up our SSH service, we need to know what SSH actually is. SSH stands for Secure Shell and it is a UNIX-based command interface and protocol which usually is used to gain secure access to a remote machine. Luckily, SSH is turned on by default on a Debian 9 Server install. While SSH is turned on, we also know that a fresh installation of Debian 9 comes with root access disabled, which means you will not be able to log in directly to your server via SSH as the root user. However, you will be able to run commands with the same authority as the root user when using the ‘sudo’ prefix on your commands. If you are constantly working on your server and you need root access, it’s more comfortable to log in directly as a root user instead of using the ‘sudo’ command all the time.
If we use the apt command to install GCC from a repository, we will have the default GCC version (GCC 7.4). However, if you want the latest version of GCC, you will need to install it from source. Version 8 of GCChas complete C++11, C++14 support, partial C++17 support, and experimental C++2a support. With GCC 8, C11 and C++14 support are enabled by default, and there is no need to add -std=c11 or -std=c++14. Let’s get started.
PrestaShop is a free shopping cart platform written in the PHP programming language with support for the MySQL database management system. PrestaShop is used to build and run an online store and it is very easy to use. With PrestaShop, you can share your ideas and products and sell them on the internet. Let’s get started.
Docker is a form of virtualization but, unlike a Virtual Machine, the resources are shared directly with the host. Let’s begin with the installation.
Apache Cassandra is an open-source NoSQL database manager which offers high availability and scalability by providing fault-tolerant multi-level cloud setup. It is useful for applications that will require a lot of data with redundancy but without compromising performance and security. There are several advantages that we’ll go over down below. Let’s begin with the installation.