Linux bash script for loop
问题 i have 1.txt 2.txt and script.php 1.txt: a b c d 2.txt www rrr ttt yyy i want bash file to do this command in Linux: ./script.php -n a -j www>>n_j.txt ./script.php -n a -j rrr>>n_j.txt ./script.php -n a -j ttt>>n_j.txt ./script.php -n a -j yyy>>n_j.txt ./script.php -n b -j www>>n_j.txt ./script.php -n b -j rrr>>n_j.txt ./script.php -n b -j ttt>>n_j.txt . . i have a bat code working with wondows cmd..i wanna a code like it to work with Linux command line @ECHO OFF FOR /F "tokens=1 delims= " %