SSH (Secure Shell) is an encrypted protocol which allows client system to communicate securely with a server. You can connect to your system remotely, perform administrative tasks and access files. It’s more secure way to communicate with server using SSH keys than password authentication. This tutorial explains how to Set up SSH Keys on...
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...
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...
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...
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...
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...
The head command is used to print the few first lines (by default 10 lines) of file or standard output. This tutorial shows you how to use the Linux head command with practical examples. Head Command Syntax# Below is the basic syntax for the head command: head [OPTION]... [FILE]... Here, Use of Head Command#...
It’s a basic requirement to rename the files and directories on a Linux system. There are two ways to rename files using command-line terminal or via GUI file manager. In this tutorial, we will cover how to rename files and directories using mv and rename commands. Rename Files using mv Command# The mv command...
Time command is useful when you want to determine the command execution time. Generally, it’s useful to test the performance of the commands and scripts. In this guide, we will cover how to use the time command in Linux. When you are writing multiple script which doing same job and want to choose better...
Sometimes when you are redirecting the output of a command by piping to another command or to a file, you get the error messages. There are three standard I/O streams, which are used in Bash and other Linux shells when a program is executed. Below are the streams and each representing by the numberic...