2014 December

Executing shell commands from SLAX scripts

Starting with 14.1, it’s possible to execute shell commands from SLAX scripts. This is an example of how you can get the output of the shell command “ifconfig me0”. First configure the OP script like this: {master:0}[edit] lab@ex4550# show system scripts op {     file script.slax; } {master:0}[edit] lab@ex4550#

Sidebar