Today, I’ll share with you how to determine the size of the HTTP response header. The problem I encountered Last week one of my systems encountered the following error. When…
advanced
This article will show you how to compare floating point number in bash. Here are my shared experiences while working with the Linux system. Compare 2 common numbers Usually, we…
This article will show you how to make a bash script run as a service in Debian 9. Debian is one of the most popular OSs in the world today.…
How to insert lines before or after pattern? In this article, I will show you how to use sed command to insert lines before or after the pattern. Use sed…
In this article, I will show you how to control iptables in the bash script. Iptables is a firewall that is built into almost all Linux operating systems. Using it…
How to use the sed command to delete lines between two patterns. In real situations, you will encounter many times to delete lines between two patterns. This article will guide…
This article will guide you how to make a bash script run as a service on Debian 8. This article is quite simple, because I’ve previously written similar tutorials for…
How to check if running root in a script bash? In most cases, bash script files are run by the root user in the system. Because these are system administrators,…