Recursively Delete Directory Using SSH

This article will demonstrate the process of Recursively deleting an entire directory using SSH command line.

To begin, login to the server using SSH.

As the root user, run the following command

# rm -rf directoryname

Replace "directoryname" with the name of the directory to be deleted.

The directory is now deleted.

Was this answer helpful?

 Print this Article

Also Read

Install WGET on CentOS VPS or Dedicated Server

This article describes the process of installing wget on a new installation of CentOS Installing...

Install WGET on CentOS VPS or Dedicated Server

This article describes the process of installing wget on a new installation of CentOS Installing...

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....

How to Install and Run MTR Report

In this article, we will demonstrate how to install MTR on a CentOS server. MTR is a powerful...