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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a whois command?

814


What does grep v do?

759


What is command substitution?

873


What is the command to compare two files in unix?

809


What command is used to check the current users?

779


What is rmdir command?

783


What is the command to find maximum memory taking process on the server?

880


What is the use of find command in unix?

750


how to sort the content of the file based on numeric values

1502


What is pipe command in unix?

891


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

966


Which command is used to find whether the system is 32 bit or 64 bit?

819


Is command prompt unix?

779


What is s and g in sed command?

789


Is grep faster than awk?

732