There are some commands that you will find yourself running over and over again. In such cases, you may wish to use Webmin's Custom Commands module to create a convenient control panel from which you can run your command with the click of a button.
Using this feature, you can also allow some users to run a command as a different user. It's also useful as an alternative to creating scripts and a way to store the syntax of long or complicated commands.
In this recipe, we will create a custom button that uses the
drush command to clear caches of a Drupal site. You will probably want to use a different command, so make a note of its syntax and the directory you want to execute ...