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

Which command should you use to find the remaining disk space in unix server?

0 Answers  


What is the use of the tee command?

0 Answers  


Which unix command lists files/folders in alphabetical order?

2 Answers  


solaris Run level?

3 Answers   Wipro,


What is grep short for?

0 Answers  






Does cp command overwrite files?

0 Answers  


what is the advaantage of each user having its own copy of the shell?

0 Answers   BMC, CNS, DELL, Infosys,


what are the different hardwares available?

1 Answers  


Which command is used to restrict incoming messages?

0 Answers  


What is awk good for?

0 Answers  


What is the function of grep command in unix?

0 Answers  


Where LOG fiels resides in AIX and pls tel me how to remove the log file

6 Answers   Vestas,


Categories