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

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

1196


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

1193


What does the command ' $who | sort –logfile > newfile' do?

1321


What is updatedb?

1091


What is used to type command?

1100


Is ‘du’ a command? If so, what is its use?

1202


What is the comma to show the space allocation of files?

1135


Explain command to view process running?

1178


Why is shebang used?

1191


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1448


What do chmod command do?

1285


What is the size of time_t?

1270


How do I find previous commands in unix?

1245


why metadb requires a seperate slice to create Solaris volume manager

3247


What command is used to check the current users?

1171