In this tutorial, we shall be using an enhanced version of the mail command. It’s called mailx (or just mail when installed), and it can do many more things than what the older mail command from gnu mailutils package can do. How does it work The mail/mailx command needs a local smtp server (MTA) running […]
Author: Vivek Gite How do I pause for 5 seconds or 2 minutes in my bash shell script on a Linux or Unix-like systems? You need to use the sleep command to add delay for a specified amount of time. The syntax is as follows for gnu/bash sleep command:sleep NUMBER[SUFFIX] Where SUFFIX may be: s for seconds […]
Full Message: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now. Action Performed: Fix/Solution:Edit /etc/firewalld/firewalld.conf ChangeAllowZoneDrifting=yes to AllowZoneDrifting=no Reload the service.
Some times, your website went down due to a PHP error like below. Most likely, a certain plugin has been updated automatically. For my particular case, the problem came from the “Profile Builder”. The solution for this is easy. Getting the “bcmath” installed. That is it. In addition, I would like to set this plugin […]
us: user cpu time (or) % CPU time spent in user spacesy: system cpu time (or) % CPU time spent in kernel spaceni: user nice cpu time (or) % CPU time spent on low priority processesid: idle cpu time (or) % CPU time spent idlewa: io wait cpu time (or) % CPU time spent in […]
The best and cleanest way is with the small, open-source utility youtube-dl: https://rg3.github.io/youtube-dl/ This is a command-line only tool. Works across all OSs (Windows, macOS, Linux). Read the docs or run youtube-dl –help to get a list of options (there are many). But in general you don’t need any of the fancy options, and downloading a video is […]