[root@bogon~]#pythontt.py server1 server2 [root@bogon~]#basha.sh server01 server02
[root@bogon~]#cata.sh #!/bin/bash server="server01server02" foriin${server} do echo${i} done [root@bogon~]#cattt.py #!/usr/bin/envpyhton #encoding:utf-8 defdo(): arry=["server1","server2"] foriinarry: print(i) if__name__=="__main__": do() [root@bogon~]#