How To Use Sed To Replace String In File?

The sed command is an important command used to edit files or command outputs. The sed can be used to find and replace strings for a file easily via the command line interface. The sed name comes from the Stream Editor which provides advanced features to work with file contents. In this tutorial, we examine … Read more

Where Is cron or crontab Log?

Where Is cron or crontab Log?

The cron or crontab are a command and service used to run scheduled commands and scripts in Linux operating systems. The cron is used to set scheduled commands and execute them at specified times or intervals. This operation is error prone where we may need to check if the specified cron job is executed properly. … Read more

Remove All Containers In Docker

Remove All Containers In Docker

Containers are an easy way to run some applications in a lightweight way. A lot of containers are created in daily usage and we may need to remove these containers. In this tutorial, we examine how to remove all containers. List All Containers Before removing all containers we can list all containers by using the … Read more

How To Exclude Directories with Grep?

How To Exclude Directories with Grep?

The Linux grep command is used to search and filter files and folders for the specified search term or regex pattern. One of the powerful features of the grep command is the ability to search multiple directories recursively. Even though it is a good feature in some cases we may need to exclude some directories … Read more

How To Change Passwords In Linux?

How To Change Passwords In Linux?

Passwords are used to authenticate users or different entities in order to access some services, resources, or operating systems. As a secure and modern operating system, Linux provides passwords for a long time from its startup. Event some Linux distributions provide passwordless login for a better and easy user experience it is not recommended for … Read more

“ssh_exchange_identification connection closed by remote host” Error and Solution

"ssh_exchange_identification connection closed by remote host" Error and Solution

SSH protocol provides secure communication with remote systems in an easy way. When using the SSH protocol and tools to connect to the remote system there are different security checks. These checks may prevent or rejects the SSH connections. The ssh_exchange_identification connection closed by remote host error occurred when the remote system or SSH server … Read more

How To SSH Into Running Docker Container?

How To SSH Into Running Docker Container?

Docker is used to creating containers and run them isolated from the host. Docker containers are very similar to virtual machines where they provide similar services to VMs like SSH, HTTP, Telnet, etc. In this tutorial, we examine how to SSH into a running Docker Container in different ways like using the docker exec , … Read more

Install Docker On Linux

Install Docker On Linux

Docker is supported by most Linux distributions. The installation of Docker on Linux distributions may be different according to the distributions versions. Install Docker For Ubuntu, Debian, Mint, Kali Ubuntu, Debian, Mint, and Kali all of them use very similar packages and repositories with the deb packet management system. The docker can be installed for … Read more