for i in $(condition ONE);do for e in $(CONDITION TWO);do
if [ $i = switch_ports_online1.txt ]; then
command 1
command 2
command 3
else if [ $i = switch_ports_online2.txt ]; then
command 1
command 2
command 3
else if [ $i = switch_ports_online3.txt ]; then
command 1
command 2
command 3s
else if [ $i = switch_ports_online4.txt ]; then
command 1
command 2
command 3
echo ""
fi
done;done
cat miofilesss
Hi all
There is a way to not specify every time "switch_ports_online*"?
In this file there is different ports.
Thanks
Luca