Search Results

Search: Posts Made By: juta2020
9,972
Posted By juta2020
I run your script via browser : #!/bin/bash ...
I run your script via browser :

#!/bin/bash

# Make sure errors get shown in web browser. DO THIS FIRST!
exec 2>&1

# Make sure web browser shows everything raw
echo "Content-Type: ...
9,972
Posted By juta2020
I tried it via browser, but desn't: ...
I tried it via browser, but desn't:

UserName: name
FileName not_cleaned: juta_not_clean
FileName cleaned: juta

Text output test Error output test Query is: ...
9,972
Posted By juta2020
I've added down the line: sed -n 's/INFO.*;|//g'...
I've added down the line: sed -n 's/INFO.*;|//g' /tmp/$YY.txt > /tmp/$ZZ.txt this row :

echo "XX=$XX YY=$YY ZZ=$ZZ" to see it in the browser, but nothing appears. No clean file is created ($...
9,972
Posted By juta2020
Hello again Corona688. Please take a look to my...
Hello again Corona688. Please take a look to my script.sh:

#!/bin/sh -f
echo "Content-type: text/html"
echo ""
echo '<html>'
echo '<head>'
echo '<meta http-equiv="Content-Type"...
9,972
Posted By juta2020
on my script.sh after line: grep -r "$XX"...
on my script.sh after line:

grep -r "$XX" /var/www/html/ > /tmp/$YY.txt


this line:

sed 's/INFO.*;|//g' /tmp/$YY.txt > /tmp/$ZZ.txt


but it just create file /tmp/$YY.txt ,...
9,972
Posted By juta2020
Ok. Thank you Corona688! BUt I have anothere...
Ok. Thank you Corona688! BUt I have anothere question. After I will grep and save file grep -r "$XX" /var/www/html/ > /tmp/$YY.txt how can I sed it with command :


sed 's/INFO.*;|//g' $YY.txt >...
2,865
Posted By juta2020
How can I use my /bin/sh script on web browser?
Hello,

I have created my script which works properly through the terminal, but I want to convert it to perform all functions as it performs through terminal, but in this case perform through web...
9,972
Posted By juta2020
Hello Corona688. I have added both your...
Hello Corona688.

I have added both your suggestion on my file script.sh:

________________________________________________________________________________________________________
#!/bin/sh -f...
9,972
Posted By juta2020
How to convert my /bin/sh script with cgi and html to run it on browser!??
Hello,

I want to run this script on my CentOS 6 via browser :
________________________________________________________________________________________________

#!/bin/sh
echo Username?
read...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 05:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy