Showing posts with label forcefully remove directory in unix. Show all posts
Showing posts with label forcefully remove directory in unix. Show all posts

Friday, 30 December 2016

How to Remove the Files Forcefully in Unix

How to Remove the Files Forcefully in Unix

/ Deleting all file from folder.

rm -rf directoryname

for example if we have "bin/logfile" directory and it have 10 log files and we want to delete then we can use this command to delete this entire folder.

rm -rf bin