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...

how to delete all the files with extension .dat rom a
directory tree from root to third level in a single unix
command?

Answer Posted / sreekanth turuka

grep -l "*.dat" /dir1/dir2/dir3 | rm

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell company all about?

948


How many fields are present in a crontab file and what does each field specify?

1073


What is the fastest scripting language?

950


What is the default shell of solaris?

1008


What is bash eval?

948


What are the various stages of a linux process it passes through?

1111


how will you find the total disk space used by a specific user?

996


Why are shell scripts used?

1035


What are the disadvantages of shell scripting?

1143


How do you find out What is your shell?

1028


What is bash used for?

976


What is a file basename?

1002


How do I run a shell script in powershell?

1080


What is awk in shell script?

1187


What is the lifespan of a variable inside a shell script?

1591