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 / saravanan

rm `find -maxdepth 2 -name *.dat`

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Calculate a real number calculation directly from the terminal and not any shell script.

1278


How will you print the login names of all users on a system?

1011


What does echo mean in scripting?

1046


Is bash a shell script?

1097


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

1029


Is shell scripting a programming language?

1088


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

996


What does $@ mean in shell?

1081


How do scripts work?

1078


How do I open the shell in cmd?

1199


What does $@ mean bash?

1240


What is scripting autism?

1257


How to use arguments in a script?

1153


How to print all array elements and their respective indexes?

1011


What are filters explain sort with all the options available?

1399