New answers tagged

0

You need to fix all those wonky quote marks in your code. When I recoded your program as #!/bin/bash # Add ricnumber. riclist=( '428824' '408888' ) while IFS='' read -r line do printf -v filename "rtj`date +%Y_%m_%d`.log" echo "`date +%T` $line" >> $filename count=0 while [ "${riclist[count]}" != "&...


1

Lines like the one below in your error log are giving you a hint: [Sat Jun 24 12:00:53.928111 2017] [cgid:error] [pid 2640:tid 1945105456] [client ::1:54506] End of script output before headers: Testled2.py /usr/bin/env: python3: No such file or directory By saying python3: No such file or directory, they mean that either the first line of your scripts is ...


Top 50 recent answers are included