Bash Script_Fuctions
Functions Creating a function is fairly easy. They may be written in two different formats: function_name () { <commands> } […]
Functions Creating a function is fairly easy. They may be written in two different formats: function_name () { <commands> } […]
There are several Bash loop mechanisms. Pick the one which makes your code the easiest to follow. While Loops One […]
Recently notice that the Processor status in the Nagios host is always busy and the disk usage of the Var […]
The basic format: if [ <test-commands> ] then <commands> fi Note there is a space after the [ and […]
With CentOS, the following issue could not be resolved, so gave up on it, ubuntu 16.04 LTS works perfect mail.from.address […]
Symptom: Recently I noticed there are a lot of logs related to the firewall action, which is blocking TCP […]
Introduction UFW is a firewall configuration tool for iptables that is included with Ubuntu by default. This cheat sheet-style guide […]
Disable autoupdate Using your favorite editor open the file /etc/apt/apt.conf.d/10periodic and change: APT::Periodic::Update-Package-Lists “1”; To: APT::Periodic::Update-Package-Lists “0”; [wpaicg_chatgpt id=18007]
Introduction Security Enhanced Linux or SELinux is an advanced access control mechanism built into most modern Linux distributions. It was […]
Before setting up a web server, you probably need to plan the performance of the server, such as the amount of […]