Jump to content

delete a file though telnet?


squirrellydw

Recommended Posts

rm would remove a file.

rm nameoffile.avi

 

Of course you could use wildcards like rm nameof* to keep it short, but becareful using * because you could delete to much messing around with it. ;)

 

rm --help would give you a huge line of options if you choose.

 

rm -fr nameoffolder would delete an entire folder and all of its contents.

-f meaning , don't prompt me

-r meaning recursive

Link to comment

Thanks, I deleted one file but I can't get the the directory to delete the other one. Is there something special I need to do for a space?  Trying to connect to TV Shows and delete a file in there

either precede the space with a backslash, or quote the entire name

 

cd /mnt/user/TV\ Shows

or

cd "/mnt/user/TV Shows"

 

 

Link to comment
  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...