11.5. Running a Process

The module can also be used to run simple commands, either in the foreground so that their output is displayed, or in the background as daemons. This can be useful if you just want to run a command without having to log in via telnet or SSH (or if a firewall is preventing a telnet or SSH login). The steps to follow are:

1.
On the main page of the module, click on the Run link next to the display mode options. This will take you to the form for starting a new process.

2.
Enter the command that you want to run into the Command to run field. Shell operators and special characters like ;, <, >, and & can be used.

3.
If the command is something that will take a long time to run, you can set the Run mode option to Run in background to have Webmin automatically put it in the background. However, if you want to see the output from the command, leave the option set to Wait until complete.

4.
Enter any input that you want fed to the command into the Input to command field.

5.
Click the Run button to run it. If the Wait until complete option was selected, any output from the command will be displayed.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.65.61