Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

How do I run a script on webserver?

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
SpaceshipSpaceship
Watch

PS-NP

Established Member
Impact
19
I have a file called cleanup.sh I need to run it on a directory on my server to delete a big list of files... does anyone know how to run such a script? If i point the web browser to this file eg. I've uploaded it to www.mydomain.com/dir/cleanup.sh - all it does it prompt me to save the file...

Is there a specific way to run scripts? Thru cpanel? FTP? Any ideas?

Thanks.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I think you need ssh access to run a shell script.
 
0
Close
SH Scripts are not run via a web browser. You will need to log into your host via telnet or SSH and execute the script. Contact your host for information
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back