Fail2ban is an open-source protection tool which secures from Brute Force and DDoS other automated attacks. It blocks the client which are repeatedly fail to authenticate correctly with the services configured for it. Actually, it monitoring the logs of services for malicious activity and identify the automated attacks. This article explains how to install and
terminal - DesignLinux
How to Enable SSH on Ubuntu 22.04
SSH (Secure Shell) is an encrypted and secure protocol which provides secure data transmission between client and servers. OpenSSH is the server that implements SSH protocol to provide remote server shell access. You can connect to your system remotely, perform administrative tasks and access files. Also, you can transfer files securely via scp and sftp.
How to Set or Change Timezone on Debian 11
Sometimes you need to change timezone due to nature of working or any other reason. You can set the Debian system’s timezone at the time of installation as well as you can change it later easily. This guide explains how to set or change timezone on Debian 11 system. Check Current Timezone# Generally, timedatectl command-line
How to Set or Change Timezone on Ubuntu 22.04
In this tutorial explained how to set or change the timezone on Ubuntu 22.04 system. It is very important to have correct system timezone because it’s not just displaying time but it do a lot more. Incorrect timezone can have an impact on server logs, reporting, email, and file timestamps. Timezone is very important to
Bash wait Command
wait is a command that waits for the given jobs to complete and returns the exit status of the waited for command. Since the wait command affects the current shell execution environment, it is implemented as a built-in command in most shells. In this article, we’ll explore the Bash built-in wait command. Bash wait Command
Find and Replace in Vim / Vi
This article describes how to find and replace text in Vim / Vi. Vim is the most popular command-line text editor. It comes preinstalled on macOS and most Linux distributions. Finding and replacing text in Vim is quick and easy. Basic Find and Replace # In Vim, you can find and replace text using the
Bash: Write to File
One of the most common tasks when writing Bash scripts or working on the Linux command line is reading and writing files. This article explains how to write text to a file in Bash, using the redirection operators and tee command. Writing to a File using Redirection Operators # In Bash, the redirection of output
Bash read Command
Bash ships with a number of built-in commands that you can use on the command line or in your shell scripts. In this article, we’ll explore the built-in read command. Bash read Built-in # read is a bash built-in command that reads a line from the standard input (or from the file descriptor) and split
Listing Linux Services with Systemctl
In Linux, a service is a program that runs in the background . Services can be started on-demand or at the boot time. If you are using Linux as your primary operating system or development, platform you will deal with different services such as webserver, ssh or, cron . Knowing how to list running services
How to Use sed to Find and Replace String in Files
When working with text files, you’ll often need to find and replace strings of text in one or more files. The sed is a stream editor. It is used to search, find and replace, insert and delete words and lines. You also can use the regular expressions. In this article we will show you how