Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everyone ! I had to copy my /proc directory to some other place. But now I want to delete it from that place. Whenever I try to use rmdir ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63

    Exclamation [SOLVED] rmdir not working ????

    Hi everyone !
    I had to copy my /proc directory to some other place. But now I want to delete it from that place. Whenever I try to use rmdir proc , it tells,it cannot remove the directory because it is not empty.Now how to remove it even if it is not empty?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You can use -f option to remove Folders.
    Code:
    rm -rf <folder>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    63

    Thanks

    Thank you Devils Casper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...