Will rm -r* removes hidden files?

Answer Posted / anandhi

$rm –rf .??*


With the option –rf and the use " .??* " will remove/delete
all hidden files/directory. The initial " . " indicates
a 'hidden' file and the " ?? " match at least two
characters to exclude the parent-directory which is " .. "
and to remove or delete everything the " * " will match all
number or characters that used for files or directory name.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command is used to check the current users?

584


What is in grep command?

637


Name the unix command to find how many days the server has been up.

592


What does the md command do?

560


What is “chmod” command?

558






What is updatedb?

576


Explain how to use grep command to list find the records of a file containing 10 different strings?

586


What are the dos commands?

639


What is the use of find command in unix?

572


What is time_t?

578


What is the command to compare two files in unix?

613


What is a bash command?

620


What is the first character of the output in ls l command?

625


What will the following command do?

607


What is the significance of the 'tee' command?

591