Thank You, I have found using CGI is the best option for this, But problem in using it is my script requires sudo permission also some actions in the script that would be only possible by giving the sudo permission. But I don't know how to overcome this issue.
Example of how I made use of CGI is given below signature: -- Parveen Arora www.parveenarora.in E-Mail: [email protected] root@tcc:/usr/lib/cgi-bin# cat mm.sh #!/bin/bash echo Content-type: text/html echo ./TimeConsume.sh > /var/www/tmp/TimeConsumeProgress.txt & date echo "See progress at http://localhost/tmp/TimeConsumeProgress.txt !!!" root@tcc:/usr/lib/cgi-bin# cat TimeConsume.sh #!/bin/bash for i in {1..5} do echo "Welcome $i times" sleep 10; done echo "Exit Bash Trap Example!!!" root@tcc:/usr/lib/cgi-bin# pwd /usr/lib/cgi-bin root@tcc:/usr/lib/cgi-bin# -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
