Tag: bash script
I have quite a few servers, and deploying same files/folders to them is a problem. Then I come up with the following BASH script where I can just run …
April 24, 2021
AWK, awk, AWK programming, BASH, bash script, BASH Shell, batch script, linux, Shell Scripts, ubuntu
Disk high usage are one of the common cause of server down. Some administrators would create a 8GB empty file, and once the disk usage is exceeding a threshold, …
The hostname shows or sets the system’s hostname. The option ‘-I’ or ‘–all-ip-addresses’ list the IP addresses on one single line. -i, --ip-address Display the network address(es) of the …
This puzzle reveals that you don’t need to write a few lines of shell scripts, you would just need one line (using pipes) to achieve complex tasks. See below: …
In this post and this, we know we can use several methods to check the system load average for Linux OS. We also know that, similar to this post …