answersLogoWhite

0

# rm -rf Target-folder Will remove the folder Target-folder and all it's contents .

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Can command rmdir can be used to delete a directory that is not empty?

the commandrmdir will not remove a directory if it is not empty in UNIX. The correct way to remove a directory and all its contents recursively is with the rmcommand.


What are five unix commands?

cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...


DOS command to delete a directory?

1) When in DOS at the C:/, type RD (remove directory)2) hit Enter keyC:/C:/RDEnter


What are the common Linux commands?

In my opinion, the most commonly used Linux commands are: ls - list files and folders in a directory CD - change directory mkdir - make a directory cp - copy mv - move/rename rm - remove man - manual pages find - um, find Having a good command of all of these and you should be able to navigate around in the command line comfortably.


How do you remove a full directory in Linux?

To remove a directory that is full with other files or directories, use the below command. rm -rf directory


How do you remove directory which is not empty?

rm -r directoryname this will remove the directory recursively, mean all the files and directories in the specified directory name umar, pakistan


What command do you use to remove a subdirectory?

In XP:RMDIR [/S] [/Q] [drive:]pathRD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directoryin addition to the directory itself. Used to remove a directorytree./Q Quiet mode, do not ask if ok to remove a directory tree with /S e.g.RD myfolder2will delete myfolder2 if it is empty To delete the folder with contents use the /S option.In XP:RMDIR [/S] [/Q] [drive:]pathRD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directoryin addition to the directory itself. Used to remove a directorytree./Q Quiet mode, do not ask if ok to remove a directory tree with /S e.g.RD myfolder2will delete myfolder2 if it is empty To delete the folder with contents use the /S option.


How can I remove my contact information, so I am no longer on the list to receive the telephone directory?

You should call you telephone company, by dialling 411 and ask them to remove you from the telephone directory. This should get your information out of the directory.


What is the command to remove active directory?

dcpromo /forceremoval


What is the command is used to remove directory in Linux?

Assuming the directory is in your Home directory use: rmdir directory-name This will fail if there are files within the directory. In this case, use rm -r directory-name.


What does ipcs command do in unix?

It lists the contents of several ipc queues, including semaphores, shared memory segments, etc. It can also remove items from these queues.


How do you remove a directory with substructures in Linux?

You can remove a folder recursively with the command: rm -r dirname