To create a linux like 'cat' utility in EXOS 22.4 and later:
in the exshrc.xsf file add the following line (or create the exshrc.xsf file)
alias cat "run script shell.py cd /usr/local/cfg;cat"Then the next time you login, the 'cat' alias will be available.
E.g.
# cat exshrc.xsf
alias cat "run script shell.py cd /usr/local/cfg;cat"E.g.
Suppose there is a file my.pol.
# cat my.pol
entry one {
if {
source-address 1.1.1.1/32;
} then {
meter joe1;
}}
entry two {
if {
source-address 1.1.1.2/32;
} then {
meter joe1;
}}