SSH Key-based authentication (also known as public-key authentication) allows for password-less authentication and it is a more secure and a much better solution than password authentication. One major advantage of SSH password-less login, let alone security is that it allows for automation of various kinds of cross-server processes. Related Read: How to Secure and Harden
Make Linux Great Again
BackUp and Restore MySQL/MariaDB Database
The mysqldump is a utility used to backup and restore MySQL or MariaDB database using command line. It is creating a set of SQL statements while taking backup and those are used while restoring. In this tutorial we will show you how to backup and restore MySQL or MariaDB databases from the command line using
Modprobe Command in Linux
The Linux kernel is managing the computer resources and work as the bridge between your computer’s hardware and software. It is the core component in the Linux operating system. The Linux kernel has a modular design and need to add and remove modules. In this article, we’ll explain how to use modprobe to add and
Pidof Command in Linux
The pidof is a command-line tool used to find the process ID of a running program. This article shows you how to use the pidof command in Linux. How to Use the pidof Command# pidof is implemented differently on Red Hat and Debian based distributions. On Debian, sysvinit-utils package includes it while on Red Hat
How to Switch (su) to Another User Account without Password
In this guide, we will show how to switch to another or a specific user account without requiring a password. For example, we have a user account called postgres (the default PostgreSQL superuser system account), we want every user (typically our PostgreSQL database and system administrators) in the group called postgres to switch to the
How to Install Slack on CentOS 8
Slack is one of the most popular collaboration platforms in the world that brings all your communication together. Conversations in Slack are organized in channels. You can create channels for your teams, projects, topics, or any other purpose. You can search through everything that’s been posted in channels or your messages. Slack also allows you
How to Force cp Command to Overwrite without Confirmation
The cp command (which stands for a copy) is one of the commonly used commands on Linux and other UNIX-like operating systems, for copying files and directories. In this guide, we will show how to force the cp command to overwrite a copy operation without confirmation in Linux. Related Article: 10 SCP Commands to Transfer
How to Install Drupal with Apache on Debian and Ubuntu
Developing your website from scratch can be a daunting task. It’s time-consuming and expensive if you are planning to hire a developer. An easy way to get your blog or website off the ground is using a CMS (content management system) like Drupal. Drupal is an open-source content management system (CMS), written in PHP and
Bash Exit Command and Exit Code
In this article, we will discuss about the Bash exit built-in command and the exit code of the executed commands. Generally, at the time of writing Bash scripts, you will need to terminate the script when a certain condition is met or to take action based on the exit code of a command. Exit Status#
How I Switched from Windows 10 to Linux Mint
This article is all about my journey on switching from Windows 10 to Linux Mint 20, how I got easily adapted to the Linux environment, and some resources that helped me to set up a perfect Desktop environment. Uncertainty Ok, now I have decided to switch to Linux but here comes the first question. Which