Directory and Folder both are similar things. In Kali Linux or any terminal users prefer to call a folder a directory. But if you are a Termux user and using the rm command to delete a non-empty directory then you will be welcomed with an error.
So, the question is how we can delete the non-empty directory in Termux. Here we will use a simple command known as rm-rf. Let’s take an example to understand it better. AKTERMUX is a directory name and if we want to delete it from our termux terminal then we use the rm -rf command as given below.
$ rm -rf AKTERMUX
Here, rm refers to remove, and -rf refers to the user wanting to delete the directory forcefully.
- 15 Best Ethical Hacking Books
- Instagram Hacking Tools in Termux
- ShellPhish in Termux & Kali Linux
- Fluxion WiFi Hacking
- BurpSuite Professional Creak