Web Hosting Talk







View Full Version : Delete a file off of server.


DustFrog
11-28-2001, 10:46 PM
Ok well I have a file I need to delete off my server via telnet and I have no idea how to do so. I think I either forgot or just cannot even think about it now.
Its the php tarball. I was told I need to delete it cause its making my active monitor go crazy its in the /usr/local/download file so they said it was ok. How do I do so? Also can I delete the other 2 files in there? The files are as follows:

mysql-3.23.32.tar.gz
php-4.0.4pl1
php-4.0.4pl1.tar

Any help??

eddy
11-28-2001, 11:10 PM
rm <filename> for file...
rm -R <directory> for directory and all files in it...

That should work for you... :)

-sc

DustFrog
11-28-2001, 11:20 PM
Thanks for helping me out. Can i delete all the files in there?

eddy
11-28-2001, 11:42 PM
yeah you should be able to go:

cd /usr/local/download
rm mysql-3.23.32.tar.gz
rm php-4.0.4pl1.tar
rm -R php-4.0.4pl1

and that should get rid of the 2 tar files and the php directory..

Hope this helps.

-sc

DustFrog
11-29-2001, 09:59 AM
Thanks very much this has helped me a great deal. =)