Site Tools


tools-shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tools-shell [2023/05/14 04:01] – -formatting hogwildtools-shell [2023/06/22 17:50] (current) – -condense, clarity, add note about commands needing to return exit value hogwild
Line 1: Line 1:
 ====== System Commands ====== ====== System Commands ======
  
-This page provides interactive access to FreshTomato's internal command shell from within the graphical Web interface.+This page provides interactive access to FreshTomato's internal command shell from within the graphical web interface.
  
-It is limited in functionality, but it can be handy if you're seeking to perform a simple operation (like restarting a service), or are unable to access the device directly via  remote protocols like ssh or telnet.+It is limited in functionality, but can be handy if you want to perform a simple operation (like restarting a service). It's also useful when you are unable to access the device directly via remote protocols like ssh or telnet.
  
- \\+An important note for users not familiar with Linux:  Any command run in the System Commands menu must return (indicate it has completed) in order for its output to be shown. For example, if you ran "ping 4.2.2.2" in this menu it would continue to ping forever until you stopped it. On the screen, you'd simply see the progress indicator continue to spin. It would not indicate completion on its own, and you would see no output. You must put a limit on the packets sent so it will return. For example, typing "ping -c 5 4.2.2.2" would output the results of the ping command from sending 5 test packets. 
 + 
 +\\ 
 + 
 +An example of just a few of the commands available in the System Commands shell:
  
 {{:pasted:20200520-164251.png?781x598}} {{:pasted:20200520-164251.png?781x598}}
tools-shell.1684033300.txt.gz · Last modified: 2023/05/14 04:01 by hogwild