-
Book Overview & Buying
-
Table Of Contents
Webmin Administrator's Cookbook
By :
The simplest way to execute commands on your server that uses Webmin is the Command Shell module. In this recipe, we will execute a command that lists all network services running on our machine.
Perform the following steps to execute a netstat command:
Navigate to Others | Command Shell.
Type in a command in the textbox. To list all active network servers on your system, use the netstat –tl command.
Click the Execute button.
You will be presented with a page showing the output of your command. At the bottom of the screen, you will see a form that allows you to execute another command. You can clear the command output by clicking the Clear history button:

Webmin executes every command you type in as the root user by default, and saves each command into a history file for the currently logged in user. Webmin also keeps track of the directories you move into using the cd command, but other environment variables will not be preserved...
Change the font size
Change margin width
Change background colour