Bash
Backup folders
Rsync, which stands for “remote sync”, is a remote and local file synchronization tool. It uses an algorithm that minimizes the amount of data copied by only moving the portions of files that have changed. Here an example
Rsync, which stands for “remote sync”, is a remote and local file synchronization tool. It uses an algorithm that minimizes the amount of data copied by only moving the portions of files that have changed. Here an example
Docker installation for centos See active containers Docker file example Build using bocker file in the same dir See all docker images Delete an image Stop a container Enter in a container and start a /bin/bash session Copy file Docker compose up and build Prune images and containers Docker service
Securing SSH Access on a New Server The first thing to do when you set up a new server is to harden SSH access: disable root login, change the default port, restrict which users can connect, and enforce key-based authentication. 1. Create a new user Login as root and create Read more…
The software utility cron also known as cron job is a time-based job scheduler in Unix-like computer operating systems. Normally the crontab util is located under /etc/crontab Locate your crontab and enter with your default editor In this case the script “test.sh” it’s executed with “root” user permission, every minutes Read more…