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

Enlist some filename manipulation commands in unix.

0 Answers  


Write a command to display a file’s contents in various formats?

0 Answers  


How does the system know where one command ends and another begins?

0 Answers  


What is the functions of zambie process?

3 Answers  


distinguish between interrupts and exceptions?

2 Answers   Infosys, Wipro,


How to redirect standard error to a file?

2 Answers  


What is nr in awk command?

0 Answers  


what does the command 'wc' do?

4 Answers  


In UNIX, what is the command to kill a process?

10 Answers  


How will you know who are the users logged in to the system before 15 minutes?

4 Answers   Amazon,


What is the use of finger command?

0 Answers  


What is the command to find hidden files in the current directory?

0 Answers  


Categories