answersLogoWhite

0

Recursively removes all files from the directory and all under it.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

In Unix how to remove a directory that is not empty?

The easiest way is to use the 'rm' command recursively. For example, the command: rm -rf /data/test/docs/fall would remove the directory 'fall' from /data/test/docs, even if it isn't empty.


In Linux what is the most destructive command?

rm -rf /


What command would you use to remove a directory on a UNIX server?

If you are just removing the directory, use the command: rmdir dir-name The dir-name directory has to be empty for this to work. If there are files or other subdirectories then use the command: rm -rf dir-name


What is the rm command in Unix?

The rm command is used to delete a file or directory. Its syntax isrm file or rm -r directoryExample:rm myfilerm -r /home/user/mystuff


How do you remove the ssh dir in unix?

I assume you mean the user's ssh directory, which is stored in their home directory. Use the following command: rm -rf .ssh This will remove any previously used and verified ssh connections so any connections after that via ssh will need to be verified.


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


What command you use to delete a file?

Del is used to delete a file in command prompt.


What is the use of execute command in unix?

There is no traditional 'execute' command in Unix.


Brief description of format command in unix?

There is no standard 'format' command in Unix.


What is the unix command to delete a given file?

To delete a file, type: rm filename To delete a file, but prompt for confirmation first use: rm -i filename In both cases, replace filename with the name of the file you're wanting to remove.


What do CD command do in unix?

The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.


How do you delete file without moving in to trash in mac systems?

To do it from a command line: Open a Terminal window and use the unix "rm" command. To do it with a GUI: Download and install the muCommander program (very similar to Windows Explorer, but for the Mac).