Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Will rm -r* removes hidden files?

Answer Posted / viswa

The command rm -r * will not delte the hidden files. The
command will delte all the normal(unhidden) files and
direcotories.

#1 //Deleting all hidden files in present dir
rm -f .*

#2 //Deleting all hidden dir's in the present dir
rm -r .* OR rmdir .*

Note the command #2 will delete only the hidden dir's
created by the user not the default hidden dir's(. & ..)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmdir command?

1119


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

1135


Why is it called a shebang?

1202


What is the use of the tee command?

1102


How do I use grep to search for a file?

1066


What is the function of grep command in unix?

1188


What is grep short for?

1055


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1223


What is in grep command?

1181


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

1220


What are bash commands?

1177


What is grep in bash?

1075


What is the use of find command in unix?

1161


What does find command return in unix?

1165


What is nr in awk command?

1218