How to Remove a Full Directory on Linux

Remove Folders from Linux Server. Avoid FTP Operations to Complete.

Use these to remove folders from your server rather than using FTP and waiting for server to complete operation. 

To remove a directory that contains other files or directories, use the following command.

rm -r mydir

If you don't want to receive a prompt for each file, use the following command instead.

rm -rf mydir