Thread: Linux Remove Dir

  1. #1

    Linux Remove Dir

    When I try to remove a directory that isn't empty under Linux with the rmdir command it sais the directory isn't empty... how can I delete a directory that has files/directories in it?


  2. #2
    Registered User xlnk's Avatar
    Join Date
    Mar 2002

    rm -rf /directory

    where the "/directory" is the path to the folder.

    the -r stands for recursive and the -f stands for force.
    the best things in life are simple.

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    i usually use a capital R

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIN32 API and Linux... *shudder
    By parad0x13 in forum C++ Programming
    Replies: 4
    Last Post: 07-24-2008, 07:27 PM
  2. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 04:15 AM
  3. command line alias remove for linux
    By iain in forum Tech Board
    Replies: 6
    Last Post: 11-22-2004, 12:39 PM
  4. Linux for Windows!
    By Strut in forum Linux Programming
    Replies: 2
    Last Post: 12-25-2002, 10:36 AM
  5. linux vs linux?
    By Dreamerv3 in forum Linux Programming
    Replies: 5
    Last Post: 01-22-2002, 08:39 AM