Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

How do I run a script on webserver?

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
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
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back