Run Linux Command with ASP Script

I am running Chili 4.0.2 on RH Linux. I was wondering if anyone knows a way to have a asp script run a linux command on the server thru a link on a page. So like I would click a link and the script would run a command on the server.Thanks for the help.
[266 byte] By [abetecha] at [2007-11-26 13:56:50]
# 1

Hi,

Nothing to do with asp.

Simply put the perl or shell script in your cgi-bin directory and create a normal link for it.

You' will have to ensure your script has the correct permissions for it to run, make sure you parse any parameters passed to stop people hacking your script and causing it to do damage to your server.

If you do a search on a popular search engine you should find some example templates that do the parsing etc.

Duncan

Duncan_Berrimana at 2007-7-8 1:36:36 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
Well what I'm trying to run is a script called convert which is used on images.This is the command i want to run. "convert dragon.gif -resize 64x64 resize_dragon.gif"convert script belongs to ImgMagik. Would you know a simple way of doing this?
abetecha at 2007-7-8 1:36:36 > top of Java-index,Web & Directory Servers,Web Servers...