|
Deleting a non -empty directory in linux
|
|
| preranaarukala | Date: Tuesday, 2014-12-09, 12:51 PM | Message # 1 |
|
Private
Group: Users
Messages: 1
Awards: 0
Reputation: 0
Status: Offline
| Hi, How to remove a directory with contents within it. I tried with rmdir comman.But, it didnt work out.Please let me know the possible solution for this.
|
| |
|
|
| shanky | Date: Tuesday, 2014-12-09, 12:59 PM | Message # 2 |
 Lieutenant
Group: Administrators
Messages: 46
Awards: 0
Reputation: 104
Status: Offline
| Hello Prerana To delete a directory which is non-empty, try below comand: rm -R NON-EMPTY-DIR -R or -r Option of 'rm' command remove directories and their contents recursively. I hope this answers your question. If any more doubts, please reach again
s.k.bhagat
|
| |
|
|