Describe the usage and functionality of the command rm –r * in unix?

Answers were Sorted based on User's Feedback



Describe the usage and functionality of the command rm –r * in unix?..

Answer / nashiinformaticssolutions

The command rm –r * erases all files in a directory with its subdirectories.
• rm is for deleting files
• -r is to delete directories and subdirectories with files within
• * is indicate all entries

Is This Answer Correct ?    0 Yes 0 No

Describe the usage and functionality of the command rm –r * in unix?..

Answer / hr@tgksolutions.com

The command rm –r * erases all files in a directory with its subdirectories.
• rm is for deleting files
• -r is to delete directories and subdirectories with files within
• * is indicate all entries

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

what is tar command and what are the different types of tar commands?

5 Answers  


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,


what does a process mean?

7 Answers   Infosys,


what is exact definition of operating system?

13 Answers  


What is unix command?

0 Answers  


How do I find previous commands in unix?

0 Answers  


What is the nmap command?

0 Answers  


Explain command to show the space allocation of files?

0 Answers  


what is the default permission for /etc/shadow file in UNIX

2 Answers   Wipro,


What is the significance of the 'tee' command?

0 Answers  


How do you grep a case insensitive?

0 Answers  


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,


Categories