Shell script not working

Status
Not open for further replies.

kmarkiv

New Member
Messages
27
Reaction score
0
Points
0
i tried using cg-bin to run shell scripts .. they worked fine .but now ..
its causing a problem ..it does not execute

heres my script
#!/bin/bash
# get today's date
OUTPUT="$(date)"
# You must add following two lines before
# outputting data to the web browser from shell
# script
echo "Content-type: text/html"
echo ""
echo "<html><head><title>Demo</title></head><body>"
echo "Today is $OUTPUT <br>"
 

DeadBattery

Community Support Team
Community Support
Messages
4,018
Reaction score
120
Points
0
If you are trying to use shell access, we don't support or provide that which might be why your script isn't working.
 
Status
Not open for further replies.
Top