home └── user1 └── src ├─── test.sh └─── test.py
test.py
test.py
# -*- coding: utf-8 -*-
print u'Hello'.encode('UTF-8')
test.sh
test.sh
#!/bin/sh
ARRAY=(1 2 3 4)
for num in ${ARRAY[@]}; do
/usr/bin/python /home/user1/src/test.py
echo $num"This is the second loop"
done
Execute while specifying the shell script to be started by the following command Command: `` `bash /home/user1/src/test.sh```
Recommended Posts